EasyApache 4 (EA4) is the built-in tool in WHM used to manage your web server stack. You use this tool to install, update, or remove:
- Apache modules and MPMs.
- PHP versions (e.g., upgrading from PHP 8.1 to 8.2).
- PHP Extensions (e.g., mbstring, gd, soap).
Note: For general system updates (Kernel, cPanel software), please use the System Update tool instead. EasyApache is strictly for the web server components.
Step 1: Accessing EasyApache
- Log in to WHM as root.
- In the search bar, type EasyApache.
- Select EasyApache 4 from the menu.
Step 2: Customizing your Profile
While you can load pre-built profiles, most administrators want to modify their existing setup (e.g., to add a missing PHP extension).
- Look for the section Currently Installed Packages (usually at the top).
- Click the blue button Customize.
Step 3: Selecting Software
The interface will guide you through several tabs. Toggle the switches to Install or Uninstall components.
- Apache MPM: Choose your processing model (Prefork, Worker, Event).
-
Apache Modules: Enable specific server modules like
mod_http2ormod_security. - PHP Versions: Select which PHP versions should be available to your users.
-
PHP Extensions: (Most used) Search for specific extensions like
php-intl,php-gd, orphp-mysqlndand enable them for the relevant PHP versions.
Step 4: Review and Provision
Once you have made your selection:
- Click Review in the left menu to see a summary of changes.
- Scroll to the bottom and click Provision.
Service Restart:
The provisioning process will compile and install the packages. During this time, the web server (Apache) will restart automatically. Your websites might be unreachable for a few seconds.
The provisioning process will compile and install the packages. During this time, the web server (Apache) will restart automatically. Your websites might be unreachable for a few seconds.