I have recently installed PHP 4.3.2 and tried setting it up with Apache 2.0 as a CGI binary on Windows XP but for some reason whenever I try to load a file ending with .php a "The page cannot be found" page shows up. I added the three lines:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
to my httpd file like it tells you on the php.net site. I even tried changing the third line to "c:/php/php.exe". I could have sworn it was working before when I tried accessing a mysql database but now I am not sure. I did not authorize access to any database so naturally I recieved some sort of error when I tried to access one. I don't remember exaclty what it was but is different form the one I get now. After I figured out how to authorize one (the GRANT command) I found I couldn't run any PHP files, even if it doesn't have any database commands. At this point I have no idea what the problem is so if you want specific information about something just ask.
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
to my httpd file like it tells you on the php.net site. I even tried changing the third line to "c:/php/php.exe". I could have sworn it was working before when I tried accessing a mysql database but now I am not sure. I did not authorize access to any database so naturally I recieved some sort of error when I tried to access one. I don't remember exaclty what it was but is different form the one I get now. After I figured out how to authorize one (the GRANT command) I found I couldn't run any PHP files, even if it doesn't have any database commands. At this point I have no idea what the problem is so if you want specific information about something just ask.