PDA

View Full Version : PHP Won't Run on APACHE - HELP!!!



Like a 45
June 27th, 2006, 03:05 PM
I've been through all the instructions and after running all the diagnostics through telnet it seems PHP is installed correctly as well as APACHE.

When I edit the httpd.conf file however and add:
LoadModule php4_module "C:/PHP/php4apache.dll"

Apache fails to start once the httpd.conf is saved with that LoadModule request.
It is in the specified directory.

It is PHP4 on Apache 2.2. on Win XP

Honestly Im just looking for a quick way to run my PHP stuff offline.

Thanks!!

kortexvfd
June 27th, 2006, 03:06 PM
What version of Apache are you using?

Like a 45
June 27th, 2006, 03:08 PM
Version 2.0

kortexvfd
June 27th, 2006, 03:55 PM
ok and what version of php?

Like a 45
June 27th, 2006, 04:02 PM
Ive been messing around a bit and getting more frustrated. I deleted php4 and Dl'd PHP5.1.4 hoping this would fix it. It didnt.

Is there a way to run my PHP scripts another way?

Is there a reason why when I run config on Apache it keeps saying it cant find the module even though its in the folder?

kortexvfd
June 27th, 2006, 04:11 PM
You might want to consider downloading a package deal such as
WAMP
http://www.wampserver.com/en/

or XAMPP
http://www.apachefriends.org/en/xampp.html

Otherwise you are going to have to play with the php.ini and the httpd.config until they work.

bwh2
June 28th, 2006, 05:31 PM
i highly recommend xampp.