I recently installed EasyWindows Installer (to add gd lib) over top of working PHP and Apache servers and now i have problem getting PHP to work. Using Windows2000 and PHP 4.0.4 and Apache 1.3.22.
------------ The problem:
Installed PHP in C:\Apache\cgi-bin\php
Apache & PHP services launch ok.
http://localhost/ renders basic HTML file I have created.
Attempt to load any PHP page, eg. http://localhost/test.php, report message in error log:
[time and date] [error] [client 127.0.0.1] Invalid URI in request GET /test.php HTTP/1.1
NB. In the IE5 browser I am promted with a View/Save file dialog window. The file in question is of course the one i tried to load.
----------- Configuration 1:
http.conf file contains following lines as per the various FAQs, Install guides and manuals that Ive referenced:
ScriptAlias /cgi-bin/ "C:/Apache/cgi-bin/"
ScriptAlias /php/ "C:/Apache/cgi-bin/php/"
... (further down in the <IfModule mod_mime.c> part)
AddType application/x-httpd-php .php
Action application/x-httpd-php "C:/Apache/cgi-bin/php/php.exe"
Any suggestions?
Cheers
Craig.