About EasyApache 4
Last modified: September 26, 2024
Overview
EasyApache 4 installs, configures, updates, and validates your web server and its components, including PHP. It provides a interface for package management.
We do not require that you use EasyApache, but it provides an easy and convenient way to modify your web server. Your cPanel & WHM license includes EasyApache.
EasyApache 4 benefits
EasyApache 4 provides the following benefits:
- Updates to PHP, Apache, and the modules that you select.
- Multiple concurrent versions of PHP.
- Decreased security vulnerabilities due to automatic updates.
- A simplified method to add, remove, or install components of your web server.
- Recommendations about compatibility.
- Easy access to information about the options you select.
Requirements
We only support EasyApache functionality on currently-supported versions of cPanel & WHM.
We strongly recommend that you update your server’s cPanel & WHM version before you run EasyApache 4.
We only support EasyApache 4 on currently-supported operating systems
For more information, read our Product Versions and the Release Process documentation.
Run EasyApache 4
To run EasyApache, use WHM’s EasyApache 4 interface (WHM » Home » Software » EasyApache 4).
We recommend that you update EasyApache 4 whenever we release an update for software that you use.
EasyApache provides some preconfigured profiles with recommendations for their use. The cPanel Default profile fulfills the requirements of most servers.
To automatically update your installed packages, use a cron job or select Run System Update in the EasyApache 4 interface (WHM » Home » Software » EasyApache 4). You can also update your packages manually with your package manager.
Apache
EasyApache 4 only supports Apache 2.4. You cannot install an older version of Apache.
For more information about Apache and EasyApache, read our About Apache documentation.
PHP
EasyApache 4 supports PHP version 7.4 and PHP 8.1 through 8.4.
The cPanel default profile includes PHP versions 8.1 and 8.2. You can install additional PHP versions with WHM’s EasyApache 4 interface (WHM » Home » Software » EasyApache 4).
If you require a version of PHP that EasyApache 4 does not provide, we recommend that you use CloudLinux™ and the CloudLinux PHP Selector.
For more information about PHP and EasyApache, read our [About PHP documentation.
MultiPHP support
EasyApache 4 supports multiple versions of PHP. The MultiPHP system allows you to assign different PHP versions to each of your domains.
The EasyApache 4 MultiPHP system also recognizes PHP packages with prefixes other than ea-
. This allows you to use vendor-provided packages. For more information, read our About PHP documentation.
Other available packages in EasyApache 4
You can view other available packages in WHM’s EasyApache 4 interface (WHM » Home » Software » EasyApache 4).
The EasyApache options that you select will determine what EasyApache builds into your web server. For each option that you select, make certain that you understand the functionality of the option and any security vulnerabilities that may come with it.
You can also install your packages on the command line if you prefer. For more information, read our Package Manager Basics documentation.
AlmaLinux OS and Rocky Linux
The following packages are not provided by EasyApache 4 for AlmaLinux and Rocky Linux. However, if a system library for these packages exist, EasyApache 4 will use the system-provided one.
- Memcache after AlmaLinux 8 and Rocky Linux 8
- OpenSSL
- OpenSSL 1.1
- Phalcon after PHP 7.4
- PHP versions prior to version 7.2
- Ruby 2.4
- Snuffleupagus after PHP 7.4
- Suhosin
- Zend Guard Loader™