A
Anonymous
Guest
Hi,
I am running Apache 1.3_14 under Windows 2K PE and have just installed PHP 4.3. I have a simple php file that basically just has a call to phpinfo() in it. This is place in the htdocs directory. When I try to view it in the browser (http://127.0.0.1/info.php), I receive an HTTP 400 error. I know the server installation itself is fine as I have been running it for years and other html files in the same directory display correctly. I must have something messed up in the configuration of PHP with the server because when I go to the php directory and run php -i I do get a dump of the expected html.
Here are the pertinent lines in my httpd.conf file:
ScriptAlias /php/ "C:/misc/PHP"
AddType application/x-httpd-php4 .php
Action application/x-httpd-php4 "/php/php.exe"
Any help would be greatly appreciated.
Thanks,
- Michael
I am running Apache 1.3_14 under Windows 2K PE and have just installed PHP 4.3. I have a simple php file that basically just has a call to phpinfo() in it. This is place in the htdocs directory. When I try to view it in the browser (http://127.0.0.1/info.php), I receive an HTTP 400 error. I know the server installation itself is fine as I have been running it for years and other html files in the same directory display correctly. I must have something messed up in the configuration of PHP with the server because when I go to the php directory and run php -i I do get a dump of the expected html.
Here are the pertinent lines in my httpd.conf file:
ScriptAlias /php/ "C:/misc/PHP"
AddType application/x-httpd-php4 .php
Action application/x-httpd-php4 "/php/php.exe"
Any help would be greatly appreciated.
Thanks,
- Michael