This article explains how to manage your site's PHP version and other PHP settings.
Open your Web Cloud and select the desired website under Websites.
Then navigate to:
Advanced → Developer Tools → PHP
There you can manage, among other things, the following settings:
php.ini directivesThe PHP section displays the current PHP version in use.
Open the selector and choose the desired version.
Check before changing which PHP version is supported by your application, your plugins and your themes.
An unsupported PHP version may cause the site to stop functioning correctly or show an error.
After making a change, you should check the site and important functions.
Use the Restart button to restart PHP for the site.
This can be helpful if:
php.ini directive was changedDuring the restart the site may be temporarily unavailable.
The PHP extensions section lists the available extensions.
Built-in extensions are part of the PHP environment and cannot be disabled.
These include, for example:
curlgdimagickintlmysqlipdo_mysqlrediszipConfigurable extensions can be enabled or disabled via their checkbox.
Depending on the available PHP environment, the following extensions may be offered, for example:
apcubrotlioauthpdo_dblibpdo_pgsqlpgsqlxmlrpcOnly enable extensions that your application actually requires.
Further down you'll find the php-error.log.
It shows PHP errors that have been logged since the last restart.
The error log can help with the following issues:
Use the refresh icon to reload the view.
Error messages may contain internal paths and technical information. Do not publish the full log publicly.
Under PHP.ini Editor you can add custom PHP directives for the site.
Click Add directive.
Then enter the directive name and the desired value.
Examples of commonly used directives:
memory_limitupload_max_filesizepost_max_sizemax_execution_timemax_input_varsopcache.enableAdded directives are shown in the overview.
Use the three-dot menu next to a directive to edit or remove it.
Incorrect values can affect the functionality or availability of your site. Change only settings whose effects you understand.
Before major changes you should: