I am new to PHP/MySQL and need help solving an installation problem.

I have installed Apache 2.0.54 and WinMySQL Admin Ver. 1.4. Lastly, I 
installed PHP 5.0.4.

An instruction manual I purchased says to enter the following code to make 
sure PHP is working:

<html>
<head>
<title>PHP Test</title>
</head>
<body>
<p>This is an HTML line
<p>
<?php
   echo "This is a PHP line";
   phpinfo();
?>
</body>
</html>

The only thing I get is: "This is an HTML line"... so PHP is apparently not 
working.

I added the following in the httpd.conf file under the appropriate sections:

ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php /php/php.exe

Any ideas what I'm doing wrong?

Thanks! 

Reply via email to