Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

httpd failing with php 5.1

Discussion in 'General Discussion' started by wmiles, Oct 6, 2006.

  1. wmiles

    wmiles Member

    Sep 6, 2005
    Likes Received:
    Trophy Points:
    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?
  2. AndyReed

    AndyReed Well-Known Member

    May 29, 2004
    Likes Received:
    Trophy Points:
    Minneapolis, MN
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice