The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

php upgrade failed

Discussion in 'EasyApache' started by xml, Apr 12, 2014.

  1. xml

    xml Well-Known Member

    Joined:
    Jan 15, 2004
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    8
    Hello

    I was trying to upgrade from php5.3.27 to php5.4.27 using easyapache UI the I got this error message and the rebuild failed

    PHP:
    chmod 755 /usr/local/apache/modules/mod_bwlimited.so
     apxs
    :ErrorActivation failed for custom /usr/local/apache/conf/httpd.conf file..
     
    apxs:ErrorAt least one `LoadModule' directive already has to exist..
     !! '/usr/local/apache/bin/apxs -i -a -c ../mod_bwlimited.c' failed with exit code '256' !!
     !! Restoring original working apache !!

     !! Executing '/scripts/initsslhttpd' !!
     !! Restarting 'httpd' ... !!
     !! 'httpd' restart complete. !!
     Building global cache for cpanel...Done
     !! Executing '/scripts/initfpsuexec' !!
     !! Executing '/scripts/initsslhttpd' !!
     !! Executing '/scripts/fixmailman' !!
     !! Executing '/scripts/update_apachectl' !!
     !! Executing '/scripts/enablefileprotect' !!
     !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1397311335' !! 
    any idea how to fix?

    WHM 11.42.0.24
    apache 2.2
    No nginx installed
     
    #1 xml, Apr 12, 2014
    Last edited: Apr 12, 2014
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You mentioned that Nginx is not installed. Was it installed in the past? Do you notice any content added to the /scripts/after_apache_make_install file?

    Thank you.
     
  3. xml

    xml Well-Known Member

    Joined:
    Jan 15, 2004
    Messages:
    76
    Likes Received:
    1
    Trophy Points:
    8
    Thanks to Sky Bly and all cPanel staff
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I am happy to see the issue is now resolved. Note that for others experiencing this issue, it's a good idea to review "/scripts/after_apache_make_install" as entries within this file from Nginx implementation are the primary cause of the reported error message.

    Thank you.
     
Loading...

Share This Page