Wei, Alice J.
2008-06-11 17:43:58 UTC
Hi,
I am trying to install PHP so that I can connect to MS SQL from the PHP scripts.
I have successfully installed Apache and brings me back a good page with no errors, and tried to create a php page in the usr/local/apache/htdocs folder. Here is the code of what is in this page:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<h1>PHP Test</h1>
<p><b>An example of PHP in Action</b><br /></p>
<? echo "Hello!";?>
</body>
</html>
The problem is that I do not see the execution of PHP anywhere on the HTML. I have set the short_open_tag to off in the php.ini file, but I am not sure what could be the problem that I could not see the execution of the PHP page.
Can anyone please tell me what might have gone wrong?
Thanks for your help.
Alice
======================================================
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
***@indiana.edu
I am trying to install PHP so that I can connect to MS SQL from the PHP scripts.
I have successfully installed Apache and brings me back a good page with no errors, and tried to create a php page in the usr/local/apache/htdocs folder. Here is the code of what is in this page:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<h1>PHP Test</h1>
<p><b>An example of PHP in Action</b><br /></p>
<? echo "Hello!";?>
</body>
</html>
The problem is that I do not see the execution of PHP anywhere on the HTML. I have set the short_open_tag to off in the php.ini file, but I am not sure what could be the problem that I could not see the execution of the PHP page.
Can anyone please tell me what might have gone wrong?
Thanks for your help.
Alice
======================================================
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
***@indiana.edu