Skip to main content
How to install EasyApache 3 on cPanel & WHM 58

How to install EasyApache 3 on cPanel & WHM 58?.

You all know that the fresh installations of cPanel & WHM 58 come with EasyApache 4 as the default web stack. However, EasyApache 3 is not completely removed out of cPanel as of now and therefore you’ll still be able to use it if you prefer. In this tutorial, I will explain how to install EasyApache 3 on cPanel & WHM 58.

Install EasyApache 3 on cPanel & WHM 58

We have to consider two different scenarios while dealing with this.

  1. Before cPanel installation.
  2. After cPanel installation.

Before cPanel installation

Consider you have a fresh server and about to start the cPanel installation. In this case, you just need to create a file named “install_legacy_ea3_instead_of_ea4” under “/etc” before you begin the cPanel & WHM installation process.


touch /etc/install_legacy_ea3_instead_of_ea4

Now you can start the cPanel installation by following the steps given below.

yum update
cd /home/
wget -N
sh latest

Just wait for the cPanel installer script to complete its installation and once it’s done, you can access the WHM panel with the following URL.


After cPanel installation

Suppose you have already installed cPanel and WHM with EasyApache 4 on your server and wish to switch back to EasyApache 3, please follow the steps given below.

mkdir -p /usr/local/apache.ea3/{conf,htdocs,bin}

Then run the following command.

/scripts/migrate_ea3_to_ea4 --revert --run

This will migrate EasyApache4 to EasyApache3. If you run into any errors related to Apache after migrating, just compile EasyApache 3 once and this will fix all issues.

That’s it.


As per the cPanel team, the last version of cPanel & WHM to support EasyApache 3 will be version 62. Once version 62 goes End of Life in January of 2018, EasyApache 3 will receive no further updates and will be fully deprecated.

EasyApache 3 will be fully removed from cPanel & WHM version 64. So, if you are running EasyApache 3, you will be blocked from upgrading to v64 of cPanel & WHM.

Leave a comment for queries.

How to install EasyApache 3 on cPanel & WHM 58?.
3.8 (76.67%) 12 vote[s]


TheGeeksAlive is all about Linux, Server Administration, Web Hosting and other Open Source Technologies.