For AI agents: the complete documentation index is available at /llms.txt, the full documentation bundle is available at /llms-full.txt, and this page is available as Markdown at /cpanel/php_configuration_management/how_to_install_php_extensions_using_easyapache.md.

How to Install PHP Extensions Using EasyApache 4

PHP extensions can be managed and installed using EasyApache 4 in WHM. This guide explains how to install PHP extensions.

Access EasyApache 4

Open EasyApache 4

In WHM, use the search field in the top-left menu to search for EasyApache 4, then click the matching result.

EasyApache 4 in WHM

Customize the Installed Packages

Open package customization

Under Currently Installed Packages, click Customize.

Customize installed packages in EasyApache 4

Select PHP Extensions

Select PHP Extensions.

PHP Extensions option in EasyApache 4

Select the PHP Extension

Search for the extension

Enter the name of the PHP extension you want to install in the search field.

Select the required extension

Select the required extension and click Next at the bottom of the page.

Select a PHP extension in EasyApache 4

Note

Make sure you select the correct PHP extension before proceeding.

Review the Changes

Review the selected extensions

Click Review to view the list of selected extensions.

Review selected PHP extensions

Provision the Changes

Apply the changes

Review the selected extensions. If everything is correct, click Provision at the bottom of the page to install the selected extensions.

Provision changes in EasyApache 4

Info

Provisioning applies the selected changes to the server. Review the selected extensions carefully before proceeding.