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
-
In cPanel > Domains, identify the website’s document root.
-
Open that directory in File Manager and create a new diagnostic file, such as
phpinfo-check.php. -
Edit the file and save:
<?php phpinfo(); -
Restrict the file to your own IP or a protected location before opening its HTTPS URL.
-
Review the PHP version, loaded configuration file and relevant extension sections. The listed settings apply to the web request for that domain.
-
Delete the diagnostic file immediately afterwards and confirm the information is no longer accessible.
Do not leave phpinfo output publicly available. It can expose configuration and environment details. Remove any cached copy if your website uses a proxy or CDN.
If an extension is missing, check which PHP version the website uses and ask your provider whether the extension can be enabled for it.