PHP extensions provide functions that an application may need, such as database access or image processing. A temporary phpinfo page can show which extensions and settings are loaded for a website in your cPanel account.

Check the website’s PHP configuration

  1. In cPanel > Domains, identify the website’s document root.

  2. Open that directory in File Manager and create a new diagnostic file, such as phpinfo-check.php.

  3. Edit the file and save:

    <?php
    phpinfo();
  4. Restrict the file to your own IP or a protected location before opening its HTTPS URL.

  5. Review the PHP version, loaded configuration file and relevant extension sections. The listed settings apply to the web request for that domain.

  6. Delete the diagnostic file immediately afterwards and confirm the information is no longer accessible.

If an extension is missing, check which PHP version the website uses and ask your provider whether the extension can be enabled for it.