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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Installing PHP7 Error

Discussion in 'EasyApache' started by YanoLoL, Mar 4, 2017.

Tags:
  1. YanoLoL

    YanoLoL Member

    Joined:
    Oct 15, 2016
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    I try install PHP 7, now my apache is offline, when access Apache Status show this:


    Failed to receive status information from Apache.
    Unable to connect to local httpd server.


    I try use /etc/init.d/httpd restart and return this:


    Code:
    Stopping httpd:                                            [FAILED]
    Starting httpd: httpd: Syntax error on line 27 of /etc/apache2/conf/httpd.conf: Syntax error on line 2 of /etc/apache2/conf.modules.d/275_mod_proxy.conf: Cannot load modules/mod_proxy.so into server: /etc/apache2/modules/mod_proxy.so: undefined symbol: ap_check_pipeline
                                                               [FAILED]
    
     
  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    211
    Likes Received:
    13
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    can you share the steps with which you installed PHP 7 on the cpanel server ?
     
  3. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    599
    Likes Received:
    92
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Did you just upgrade to EA4?

    If so, I would revert, then try again.

    Code:
    # /scripts/migrate_ea3_to_ea4 --revert --run
    then again try to:

    Code:
    # /scripts/migrate_ea3_to_ea4 --run
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    Have you installed any third-party plugins relates to Mod_Proxy? If so, check to see if that plugin altered the immutable attribute on files within the /etc/rc.d/init.d/ directory. EX:

    Code:
    lsattr /etc/rc.d/init.d/
    If you notice any files with the immutable attribute (i), then you can remove it via a command such as:

    Code:
    chattr -i /etc/rc.d/$file-name
    Then, once you do that, run the following commands to see if Apache starts well:

    Code:
    yum reinstall ea-apache24-mod_proxy
    /scripts/restartsrv_httpd
    Thank you.
     
    YanoLoL likes this.
Loading...

Share This Page