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!

php upgrade failed

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

  1. xml

    xml Well-Known Member

    Joined:
    Jan 15, 2004
    Messages:
    85
    Likes Received:
    1
    Trophy Points:
    158
    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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. xml

    xml Well-Known Member

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

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,442
    Likes Received:
    1,962
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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