PHP is a modular system where you can install and enable new modules to provide extra functionalities. These modules or extensions can also be disabled to enhance PHP's performance and reduce your security vector.

A shared hosting system such as cPanel doesn't let you install third-party PHP extensions yourself, but it normally comes pre-installed with most standard extensions. You can enable or disable these PHP modules on cPanel from the dashboard.

Steps to enable or disable PHP extensions in cPanel:

  1. Log in to your cPanel dashboard.
  2. Click on Select PHP Version in the Software section.
  3. Take note on the PHP version that you are configuring.

    Modules are enabled and disabled only for the selected version. You'll need to enable or disable the PHP modules again if you switch to another PHP version later.

  4. Scroll down to see the available modules.
  5. Hover on the checkbox to see the module description (optional).
  6. Click on the checkbox to enable and disable the selected module.

    Modules are immediately enabled or disabled when the checkbox is ticked or unticked.

Discuss the article:

Comment anonymously. Login not required.