In the PHP section, you can select a PHP version per website, which will make your website faster and more secure.
PHP settings
To access the settings options, click on the PHP settings button.
As soon as the new window opens, click on the grey drop-down menu (which shows the version currently in use) to access the additional settings.
Change PHP version
Click on Change PHP version to open a new window.
In the new window, you now have the option to set the desired PHP version and the PHP variant:
PHP Fast CGI: Executes scripts on behalf of the system user. This is used by default.
PHP FPM: Is an advanced version of Fast CGI, which can provide performance benefits.
Note that not all web applications support the FPM variant, and switching can trigger corresponding errors.
As soon as you have selected the version and its variant, you can complete the changes by clicking the Save button. The activation time is a few minutes.
PHP.ini settings
The PHP.ini settings control predefined resources of the website.
To adjust these, click on Configure PHP.ini.
On the window that opens, you can choose between two options:
Custom PHP.ini settings: Here, you change the required values manually.
CMS special settings: Here, you are provided with ready-made settings for your CMS such as Contao.
Custom PHP.ini settings
If you want to make your own PHP.ini settings, select the item Custom PHP.ini settings.
Below, you will immediately be shown the corresponding options you have when designing the PHP.ini file. Currently, the following settings can be set:
display_errors: If this option is enabled, any PHP errors that occur will be displayed on your website.
short_open_tag: Enabled, PHP scripts may also start with <? otherwise, they must start with <?php
error_reporting: Determines what kind of errors are displayed on the website when display_errors is switched on.
max_execution_time: maximum time in seconds a script may run before the parser stops execution.
max_file_uploads: Determines how many files may be passed to PHP for processing at the same time.
max_input_time: Maximum time in seconds a script may take to process input data (such as POST, GET and file uploads).
max_input_vars: Maximum number of variables that can be processed by PHP in one process.
post_max_size: Maximum size of POST request that may be passed to PHP
upload_max_filesize: Maximum size of a file that may be passed to PHP
memory_limit: Maximum amount of RAM that a PHP process may use.
default_charset: Sets the default character set with which PHP files and queries are processed.
Now adjust the settings according to your wishes, and then click on Save.
Add PHP path
If you have several websites in different directories, you can define a separate PHP version for each path.
Click on Add PHP path.
Now select the desired PHP version and the directory and click on Add.
Once the new path has been added, a success message appears, and you can now change the PHP.ini settings for the new path.











