Forum Moderators: phranque

Message Too Old, No Replies

Apache/PHP Problem

         

ozenet

7:48 am on Mar 16, 2005 (gmt 0)



Hi

I have attempted to install Apache/PHP on a new WinXP Home machine. I have it running succesfully on a Win98 machine.

Apache works fine.

PHP doesn't.

I get the following Apache log error when trying [localhost...] - File does not exist: c:/webroot/php/php.exe/phpinfo.php.

phpinfo.php is in c:/webroot. PHP is installed in c:/PHP.

Can anyone help?

Regards

Peter Miller

MrForbes

4:34 am on Mar 20, 2005 (gmt 0)

10+ Year Member



Apparently PHP may be actually working, it is a problem with Apache config. If you test the php file with the php.exe and you get a result then php is working. Search the net and it will give you the detailed walkthrough.

I configured the Apache2 to load the php module but now Apache won't run. I have yet to solve this. Very frustrating.

Good Luck

MrForbes

4:47 am on Mar 20, 2005 (gmt 0)

10+ Year Member



That website that explains the changes is here

[builder.com.com...]

Hope this helps, though I am still trying to get it to work!

sitz

4:52 am on Mar 20, 2005 (gmt 0)

10+ Year Member



That looks /vaguely/ like the command-line PHP is being invoked when mod_php4 was expected (or possibly the other way around). Are you using PHP as a module or in CGI mode? What does your (entire) phpinfo.php script look like?

coopster

1:10 pm on Mar 20, 2005 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, ozenet.

If phpinfo.php is in c:/webroot, and the file not found message is c:/webroot/php/php.exe/phpinfo.php then it kind of looks as though it may be either a Windows PATH issue, or quite possibly a DocumentRoot [httpd.apache.org] configuration directive that is incorrect.