Migrating from EasyApache 3 to EasyApache 4

Important!
EasyApache 3 was considered completely end-of-life on 31 Dec 2018. Updated cPanel users automatically migrated to the new system. This guide is for those people, who are still using the older unsupported versions of cPanel(v76 or earlier). cPanel users should immediately move to EasyApache 4 (in case they have not yet) to avoid some potentially serious security issues.

EasyApache is the cPanel system that installs and updates the Apache web server on supported operating systems.
Use this guide to migrate from EasyApache 3 to EasyApache 4 (if you are an older cpanel version user).

Migration from WHM itself


If you prefer to migrate from WHM, then follow the instructions below:

  1. Log into WHM as root. Typically you can do this by accessing https://YOURSERVERNAME.COM/whm (Replace YOURSERVERNAME.COM with the server's hostname or your server's main IP address).

  2. Check to see if you are still using EasyApache 3 by selecting EasyApache 3 from the Software section of the WHM sidebar on the left. If you don't see that option, you either aren't logged in as root to WHM or your server is already converted to EasyApache 4 or you are using cPanel v52-58.

  3. If you are using EasyApache 3, you will see an EasyApache 4 Migration link near the top of the screen. Click on it.
  4. The system will walk you through the process of upgrading to EasyApache 4.

  5. The tool will warn you about any conditions that stop the migration from happening. If so, address any reported concerns and try again.

  6. When complete, check your websites to make sure they work as expected.

  • Errors after migration are most often caused by incorrect directives in .htaccess files. Try removing any PHP directives from there or any custom php.ini files and then try setting the needed PHP options in that domain's cPanel account instead.




Migrating from the SSH Shell (Command Line)


If you choose to migrate to EasyApache 4 from the SSH Shell, get logged into it as the root user.


cPanel Inc. recommends that this command gets run as the root user and not as a wheel user executing as root.

  1. Log into SSH as root to the server you want to convert.

  2. Execute the following command:
    Convert EA3 to EA4
    /usr/local/cpanel/scripts/migrate_ea3_to_ea4 --run

  3. The tool will warn you about any conditions that stop the migration process. If so, address any reported concerns and try again.

  4. The migration process will start.

  5. When complete, check your websites to make sure they work as expected.
    Errors after migration are most often caused by incorrect directives in .htaccess files. Try removing any PHP directives from there or any custom php.ini files and then try setting the needed PHP options in that domain's cPanel account instead.

    After successful migration to EasyApache 4, you may also want to try to update cPanel itself, as you may now be able to upgrade to a fully supported version of cPanel, given your server has no other blockers.

    If you need any further information about the migration process, feel free to write to us at info@hosttechno.com (for any information).

    You can also reach out to us through ticket, live chat, our help line number +1(786) 579 9161, or email us at support@hosttechno.com (for any technical support).



 

Hjalp dette svar dig? 2 Kunder som kunne bruge dette svar (72 Stem)