Page 1 of 1

PHP exec. Problem after Install of Apache 2.0 & PHP 4.2.

Posted: Sun Aug 11, 2002 11:58 am
by Samuels
Hi,

I'm stuck with a problem and was hoping for some help!

Just installed Apache HTTP Server Version 2.0 with PHP 4.2.2.
Now as far as I can see it is configured correctly. PHP from the command line works correctly, but requesting a .php file as a url gives me a 404 error.

When I look at the Web Server logs this is what is shows:

[Sun Aug 11 17:02:18 2002] [error] [client x.x.x.x] File does not exist: D:/apache/php/php.exe/html/Company/loginpage.php


The relative paths are correct and the files exist! What I can see though is there is no space after the php.exe.

Can you Help?

Regards,
Dave. :(

Posted: Sun Aug 11, 2002 12:11 pm
by sam
try using backslashes in the filename... D:\Apache\php\php.exe

Posted: Sun Aug 11, 2002 2:34 pm
by Samuels
Didn't like it, responded with: 400 - Bad Request.

Apache Log:

[Sun Aug 11 20:36:03 2002] [error] [client x.x.x.x] Invalid URI in request GET /html/Company/consult.php HTTP/1.1

Cheers.