Skip to main content

How to Enable or Disable a PHP Extension in cPanel

You can enable or disable specific PHP extensions to manage the functionality and performance of your website's scripts. This task is performed within the cPanel interface and is available on plans that include the specific PHP extension features.

You can enable or disable specific PHP extensions to manage the functionality and performance of your website's scripts. This task is performed within the cPanel interface and is available on plans that include the specific PHP extension features.

Important: This feature is dependent on your specific Hostek plan and the availability of the extension within your selected PHP version.

Before you begin

You will need:

  • A cPanel account

  • A specific domain or account where the PHP extension will be applied

  • Access to the cPanel interface

Enabling or Disabling a PHP Extension

  1. Log in to your cPanel account.

  2. Locate the Software section and select Select PHP Version.

  3. Select the PHP version you wish to modify from the list.

  4. Click on the Extensions tab.

  5. Locate the specific extension you wish to change in the list.

  6. Click the checkbox next to the extension to enable it, or uncheck it to disable it.

  7. The system will automatically save your changes.

Confirm the result

  • The status of the extension will update immediately in the list.

  • You can verify the active extensions by visiting your website or using a PHP information script to ensure the extension is active or inactive as intended.

Limitations

This feature is only available if the specific extension is supported by your selected PHP version and your Hostek hosting plan. Some system-level extensions may be managed by Hostek and may not appear in this menu.

Did this answer your question?