PHP Page Refuse to Display PHP content

[email protected] ("Wei, Alice J.")
Newsgroups php.install
Message-ID <950A3064BF0F8E4CB30A5931CE088BC502D34B0232@iu-mssg-mbx06.ads.iu.edu>
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
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.