Sep 6, 2005
Hi everyone, trying to upgrade to php 5.1 but having a problem.

Install seems to work until it gets to the restart of service httpd then it fails. with cannot restart contact administrator.

This obviously means no pages are working.

When i look into it a bit more it looks like its something to do with this line in my httpd.conf file which i have commented out, once commented out php seems to work and so do all my sites with httpd service restarting fine.

AddModule mod_frontpage.c
#AddModule mod_php4.c
AddModule mod_bwlimited.c
AddModule mod_log_bytes.c
AddModule mod_auth_passthrough.c
AddModule mod_security.c
AddModule mod_evasive.c
AddModule mod_fastcgi.c
# AddModule mod_php5.c <--------------------------- (Problem line)

I have no idea how to solve this one.

Any idea?


Well-Known Member
May 29, 2004
Minneapolis, MN
wmiles said:
This obviously means no pages are working.

# AddModule mod_php5.c <--------------------------- (Problem line)
That means Php v5 was not compiled successfully and you need to check the log file in /home/cpapachebuild/buildapache to see what was the problem. It is very possible that one of the modules included in the build is either missing and/or corrupted. I also suggest you compile Php, manaully, and correct any error you might encounter during the build.