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_enable_php_modules_in_cloudlinux_on_cpanel.md.

How to Enable PHP Modules in CloudLinux on cPanel

PHP modules add extra features to PHP, such as database support, encryption, and image processing. On CloudLinux with cPanel, you can enable the required modules for your websites and applications.

Access PHP Selector

Log in to cPanel

Log in to your cPanel account.

cPanel login page

Locate the Software section

Once logged in, scroll down to the Software section.

Software section in cPanel

Open Select PHP Version

Click Select PHP Version. This CloudLinux tool allows you to manage PHP versions and modules.

Select PHP Version in cPanel

Note

The Select PHP Version tool is powered by CloudLinux and allows you to manage PHP versions and modules.

Select the PHP Version

Check the current PHP version

In the Select PHP Version interface, review the PHP version currently selected for your account.

Current PHP version in PHP Selector

Choose a PHP version

If you need to change the PHP version, click the dropdown menu and select the desired version.

PHP version dropdown menu

Apply the selected version

Click Set as current to apply the change.

Set the selected PHP version as current

Enable PHP Modules

Select the required modules

To enable a PHP module, check the box next to the module you need.

PHP modules list in CloudLinux PHP Selector