Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Sep 2005
    Posts
    21

    Default httpd failing with php 5.1

    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. #2
    cPanel Partner NOC cPanel Partner NOC Badge AndyReed's Avatar
    Join Date
    May 2004
    Location
    Minneapolis, MN
    Posts
    2,223

    Default

    Quote Originally Posted by wmiles
    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.
    Andy Reed
    RHCE and CCNA
    ServerTune.com

Similar Threads & Tags
Similar threads

  1. httpd keeps failing every couple mins....
    By bangsters in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 04-05-2005, 09:36 PM
  2. httpd and mysqld keep failing:
    By Mysteerie in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 12-23-2004, 06:38 PM
  3. httpd contantly failing... HTTPS (SSL) Too
    By Francisco in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 08-16-2004, 01:38 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube