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.

EasyApache4 revert to EasyApache3 on freshinstall (whm 58)

Discussion in 'Workarounds and Optimization' started by dooh, Aug 9, 2016.

Tags:
  1. dooh

    dooh Registered

    Joined:
    Jul 19, 2006
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    After opening a ticket to cPanel and waiting for an answer, I've found a simple solution to downgrade EasyApache4 to EasyApache3 on a fresh install CentOS7 with WHM 58.

    Just do:

    Code:
     mkdir /usr/local/apache.ea3/
    {conf,htdocs,bin}
    and then run:

    Code:
    /scripts/migrate_ea3_to_ea4 --revert --run
    This "trick" isn't available on KB or anywhere on the web (I think)
     
    #1 dooh, Aug 9, 2016
    Last edited by a moderator: Aug 9, 2016
  2. vacancy

    vacancy Member

    Joined:
    Sep 20, 2012
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Wow.

    Working. Thank you.
     
    #2 vacancy, Aug 9, 2016
    Last edited: Aug 9, 2016
  3. vacancy

    vacancy Member

    Joined:
    Sep 20, 2012
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    #3 vacancy, Aug 9, 2016
    Last edited: Aug 9, 2016
  4. Thiago Voltolini

    Thiago Voltolini Registered

    Joined:
    Jul 13, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    "Page Deleted" and I can't find any page regardingg PHP-FPM on the knowledge base.

    That's very bad news, I installed a new fresh server today and can't use EA3 anymore. So if EA4 is not complete, missing the best PHP handler option, why force new installations to use EA4?

    Is there a way to install EA3 on this new server, since reverting is not an option?


    [root@conf.d]# /scripts/migrate_ea3_to_ea4 --revert --run
    This system never had EasyApache 3. Reverting is not possible.
    [root@conf.d]#

    ---------- EDIT ----------

    I managed to reinstall EA3 on this new server copying the apache folder from another server to /usr/local/apache.ea3 and then I ran:
    /scripts/migrate_ea3_to_ea4 --revert --run --force
    The script executed EA3 and built a profile. Everything was messed up but I could see EA3 on WHM. The first time I used it, it took a longe time to sync and update, but I was able to build Apache + PHP FCGI through EA3 interface without errors.
     
    #4 Thiago Voltolini, Aug 13, 2016
    Last edited: Aug 13, 2016
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Please keep in mind this manual workaround is unsupported, and is likely to result in issues like the one mentioned in the previous response. We're happy to help troubleshoot any issues you are facing on EasyApache 4.

    Thank you.
     
  6. ikillbill

    ikillbill Well-Known Member

    Joined:
    Feb 18, 2008
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    thanks for this, cpanel should really keep both 3+4 together
    why multi-PHP function is needed since many ppl use cloudlinux where alt-PHP is there
     
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

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

    Here's a blog post on why you may want to use EasyApache 4:

    5 Reasons You Want to be Using EasyApache 4 | cPanel Blog

    Feel free to let us know any specific issues you are facing with the migration process to EasyApache 4.

    Thank you.
     
  8. Bidi

    Bidi Well-Known Member

    Joined:
    Oct 3, 2012
    Messages:
    51
    Likes Received:
    1
    Trophy Points:
    8
    Location:
    Romania, Transilvania
    cPanel Access Level:
    DataCenter Provider
    Same think, 4 days ago fresh new server migrated all the websites to new server and he started to get crazy.

    Maximum load on the old server 5% on the new server jumps in secands from 5% to 25% an keeping around 5% to 15%.

    On the old server before migrating.
    # ps -eo comm,rss|awk '{arr[$1]+=$2} END {for (i in arr) {print arr/1024, i}}'|grep -v '^0 '|sort -n -r| head
    3810.99 mysqld
    306.254 clamd
    153.207 python
    140.027 sc_trans
    138.254 httpd

    on the new server after migrate
    # ps -eo comm,rss|awk '{arr[$1]+=$2} END {for (i in arr) {print arr/1024, i}}'|grep -v '^0 '|sort -n -r| head
    2532.94 httpd
    706.379 mysqld
    361.578 clamd
    190.105 nginx
    104.969 sc_trans
    101.801 php-cgi
    75.9062 named
    63.9336 pigz
    54.457 sc_serv
    33.9336 cpanel_php_fpm

    2532.94 httpd this is to much, all the websites stop working till restarting httpd...etc

    we should have a option to chose ea3 or ea4 when installing cpanel
     
  9. ikillbill

    ikillbill Well-Known Member

    Joined:
    Feb 18, 2008
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    [cPanel tickets ID# 7634243]
    EA "4" on brand new server
    cpanel team took more than one day to fix the issue

    EA4 is so NOT-READY

    why EA3 is gone so early on 11.58 while you say it will be gone on 11.60 ?
     
  10. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Most of the reports I've seen regarding resource usage on EasyApache 4 relate to the switch to suPHP as the PHP handler. Could you open a separate thread for this issue if the problem continues?

    EasyApache 3 is deprecated in cPanel 60, but it's still available for use. You can find the full deprecation schedule, including additional information in the "Comments" section at:

    EasyApache 3 Deprecation Schedules | cPanel Blog

    Thank you.
     
Loading...

Share This Page