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

Shared hosting system such as cPanel doesn't let you install third party PHP extensions yourself but it normally comes with most standard extensions and you can enable or disable them from cPanel's dashboard.

Steps to enable and 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 selected module.

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

Discuss the article:

Comment anonymously. Login not required.

Share!