I am trying to configure Apache to execute php scripts locally on my Explorer.
I have PHP in this directory;
c:/php1/php.exe
Apache is here;
d:/program files/apache group/apache/
In httpd.conf I have written these settings;
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "c:/php1/php.exe"
I would like to execute scripts from a directory called d:/web/
DocumentRoot "d:/web"
ServerName 127.0.0.1
When trying to run a script on;
http://localhost/test.php
I get this error;
Invalid URI in request GET /test.php HTTP/1.1
Why? Please help!