Previously we already explored how to Install EasyApache 4, and today we are going to see the opposite process, how to uninstall easyapache 4 from your cPanel server.
This will rollback to EasyApache 3, the previously and old PHP/Apache configuration manager for cPanel servers.
How to uninstall EasyApache 4 from your box
While EasyApache 4 is ready to work on most production servers, some users may find incompatibilities with their required software to run apps.
cPanel did a great job building EasyApache 4, it’s a mature project and works out of the box, however if you ever want to uninstall EasyApache 4 you can do it without problems, there is one single requirement to uninstall EasyApache 4, and that you can do it only if you previously migrated your cPanel system from EasyApache 3.
In order to uninstall EasyApache 4, you can folllow the next steps as root user from your Linux terminal:
Rollback to EasyApache 3 from EasyApache 4
/scripts/migrate_ea3_to_ea4 --revert --run
This command will revert your EA4 installation to EA3.
Be aware that sooner or later you will have to upgrade to EasyApache 4 again because EA3 will be deprecated in future cPanel releases.
As reported by cPanel EasyApache Deprecation schedule, on cPanel v62 support for EasyApache 3 will be Deprecated, this means it will still work, but it’s the last step to have it completely removed in future versions.
Finally on cPanel v64 the official support for EasyApache 3 will be Removed.
If you have not yet converted your EA3 to EasyApache 4, you will be prevented from upgrading to version 64 once it’s released.
Time ago I asked cPanel representatives how EA4 project was in terms of usability and issues, and they said it was not recommended to run on production servers. However, things changed, now EA4 is working perfectly on thousand of production linux systems.
If you choose to remove EA4 from your server, make sure you fix your software requirements quickly to be back on the road with EA4 soon, otherwise you will not be able to update your cPanel system anymore.