How to manage PHP extensions on cPanel Print

  • Updated on 09-Jul-2024
  • 16

Managing PHP extensions on cPanel is important to keep your website running smoothly. PHP extensions add extra features to your website, like working with databases or handling images. Here’s an easy guide to help you manage PHP extensions:

Accessing the PHP Selector

  1. Log in to cPanel: Start by logging into your cPanel account if you're unsure how, check out our How to Log into cPanel guide.
  2. Find "Select PHP Version": Look for "Select PHP Version" under the "Software" section and click on it.

select option

Managing PHP Extensions

Step 1: Choose Your PHP Version

On the PHP Selector page, you'll see your current PHP version. If you need to change it, use the dropdown menu to pick a different version and click "Set as current."


php version

Info! Make sure to pick a PHP version that works with your website.

Step 2: Enable/Disable Extensions

  1. See Available Extensions: You'll see a list of PHP extensions with checkboxes next to them.
  2. Turn On Extensions: To turn on an extension, check the box next to it. For example, if you need the mysqli extension, check its box.
  3. Turn Off Extensions: To turn off an extension, uncheck the box next to it.
Success! Turning extensions on or off is as easy as checking or unchecking boxes.

extenstion selection

Step 3: Save Your Changes

After selecting the extensions you need, click the "Save" button at the bottom. Your changes will be saved instantly.

Common Extensions and Their Uses

  • mysqli: For MySQL database connections.
  • cURL: For transferring data with URLs.
  • GD: For image processing.
  • mbstring: For handling multi-byte string encoding.
Info! Only enable the extensions you need to save resources.


Missing Extensions

If you can't find an extension, it might not be available with your current PHP version. Try switching to a different PHP version.

Warning! Changing PHP versions can affect your website. Always back up your data first.

Extension Not Working

If an enabled extension isn't working:

  1. Check Compatibility: Make sure the extension works with your PHP version.
  2. Review Logs: Check the error logs in cPanel for any issues.
  3. Contact Support: If you're still having trouble, open a support ticket here or start a LiveChat session using the icon at the bottom right.


Managing PHP extensions in cPanel is easy. By following these steps, you can enable or disable extensions to keep your website running well.

For more help, check out these articles:

If you have any problems, open a support ticket here or start a LiveChat session using the icon at the bottom right.

Happy hosting!

Was this answer helpful?

« Back