GoDaddy Help

Enable custom PHP modules

You can enable PHP modules by updating your PHP initialization file.

  1. Access your website files using FTP or File Manager.
  2. Open your PHP initialization file.
  3. Note: The PHP initialization file is hidden by default in some file managing apps. If you use cPanel or FileZilla, make sure to enable the option to show hidden files if you don’t see the file.
  4. Add the following line to your PHP initialization file (change module_name to your actual module name):
    extension =
    Note: You'll need to add a version of this line for each module you want to enable. Visit the PHP website for a list of PHP modules.
  5. Save your changes.

You can enable PHP modules in cPanel without the need to edit files.

  1. Go to your GoDaddy product page.
  2. Under Web Hosting, next to the Linux Hosting account you want to use, select Manage.
    click manage
  3. In the account Dashboard, select cPanel Admin.
  4. Under Software, select Select PHP Version.
  5. Select the checkbox for your desired PHP extensions.

A success message will confirm your PHP extensions have been enabled. You can disable PHP extensions by deselecting the appropriate checkboxes.

More Info

  • Change PHP settings for my hosting account
  • Share this article