The PHP Settings section of the hosting Control Panel allows you to adjust the PHP interpreter settings (version, handler, directives, extensions) for each subdomain hosted on your account. The section is split in three subsections:

Choose PHP version

The Choose PHP version subsection allows you to change the PHP version and handler using the available drop-down menus. You can refer to our PHP version and handler article for more information on the supported PHP versions and handlers on our servers.

Clicking on the Manage button next to a subdomain will take you to its PHP settings management screen which contains information and management tools for your current PHP configuration. The most important details about your PHP configuration will be displayed in the Info subsection - PHP version, handler, and the default location of PHP configuration file for the specific subdomain.

Next to the PHP handler, you will see a button labeled Reload FPM master process for subdomains that use FPM with OPcache as PHP handler. You can use that button to manually reload the FPM master process and apply any changes made to the subdomains PHP configuration file outside of the PHP Settings section. You do not need to use the Reload FPM master process button if you make changes to PHP configuration files through the PHP Settings section as the FPM master process will be reloaded automatically.

Next to the php.ini configuration file for the subdomain, two buttons will be displayed - Edit (which allows you to edit the php.ini file as plain text) and Restore to default (which will restore the php.ini file to default).

The Extensions and Directives subsections will display the current status of extensions and the values for any modified directives, and at the same time, you can use these subsections to make changes to your PHP configuration through the user interface. You can click on the Show additional directives button to get a list of the unmodified directives in your subdomain's php.ini file to change them.

Manage global php.ini file

The Manage global php.ini file subsection allows you to edit the global php.ini for your hosting account, and create it if it doesn't exist. You can learn more about it in our PHP configuration files and priority article.

Choose PHP CLI version

The Choose PHP CLI version subsection allows you to change PHP version for the command line PHP binary. PHP CLI is used when you run PHP scripts through the command line (e.g. via SSH), or when you run them as cron jobs. You can learn more about the PHP version for the command line binary in our PHP configuration files and priority article.