php files not being parsed -
| From: | Terry L. Ensley | Date: | Tue, 04 Feb 2003 05:28:36 +0000 |
| Subject: | php files not being parsed - | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-9934@lists.php.net to get a copy of this message | ||
I just installed Apache 1.3.27 and PHP 4.3.0. I have it running. When I
click on the Apache shortcut this message comes up in the dos window
"Apache/1.3.27 (Win32) PHP/4/3/0 running ..."
But when I try to run my test program (test.php) it comes up with a blank
screen. If I view the source I see the program - I realize that php is not
being called by apache to parse php files, but I don't know what else to
try. Here is the source code.
<html>
<head><title>PhP Test Doc</title></head>
<body>
<?php phpinfo(); ?>
</body></html>
I am running it out of C:\Program Files\Apache Group\Apache\htdocs - which
is my doc directory - I have looked at all the paths and they seem correct.
php is in C:\Files\PhP\
I am running Windows XP. All dll's have been copied over to the windows or
window system dir.
I have both of these in my httpd.conf file:
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
Any suggestions - Thanks