Understanding cPanel EasyApache 4
EasyApache is the tool used for setting up and configuring both Apache and PHP modules in a cPanel server. We have been using EasyApache 3 for almost last 10 Years. The cPanel team has now released the stable version of next generation EasyApache. The cPanel EasyApache 4 is the current version that comes by default with latest cPanel 58 installations.
New Features in cPanel EasyApache 4
1) Improved Operating System Distribution Integration
With EasyApache 4, the Apache directories and files will be moved to match the file system paths that CentOS and RHEL use. This will allow better customizations to Apache and make the deployment of new Apache modules a rapid process. But still, the symlinks will be left behind in /usr/local/apache to help old scripts work with the new paths.
2) Fast Rebuild through YUM and RPM’s
A major change in EasyApache 4 is the move of the EA4 interface into the system package manager. That means there will finally be a yum interface available and RPMs including Apache and PHP and will be put into dedicated yum repositories. Also, users will be able to create their own repositories.
The main disadvantage of EA3 was that it took almost 20 – 30 minutes just to add a PHP or Apache module. Because every change you need to make requires a full recompile of Apache and PHP. This is fixed in EA4 through Yum and RPM’s and now it takes just seconds to install new modules.
3) Automatic Updates
Since EasyApache 4 is all RPM based, the operating system automatically takes care of updates for you. You will no longer be required to recompile Apache and PHP for a minor PHP or Apache update.
4) PHP 7 Support
EasyApache 4 comes with PHP 7.
5) Multiple PHP versions
EasyApache 4 supports multiple versions of PHP. It allows you to assign different PHP versions to each of your domains.
6) Apache 2.4
EasyApache 4 only supports Apache version 2.4.
In conclusion, the cPanel EasyApache 4 has some really new cool features. It overall improves the performance by changing the way WHM and cPanel use PHP and Apache.
You can find more information about EasyApache 4 in the following cPanel documentation.