Skip to content

PHP

Each domain and subdomain can use its own PHP version. Choose the version in the PHP column on the Domains page.

You can choose from the versions installed on the server. By default the installer installs PHP 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, and 8.5. The admin can change this list during installation with the --php-versions option.

Each version is installed with the extensions commonly used by CMSs and frameworks: mysql, mbstring, xml, curl, intl, zip, bcmath, opcache, gd, imagick, and soap.

Each website runs in its own PHP-FPM pool, so the PHP settings of one website don’t affect other websites. You can change these settings:

Setting Description
memory_limit Memory limit per request, 64M to 2048M
upload_max_filesize Maximum upload file size, 2M to 1024M
post_max_size Maximum POST data size, 2M to 1024M
max_execution_time Script execution time limit, in seconds
max_input_time Time limit for reading input, in seconds
max_input_vars Maximum number of input variables
display_errors Show PHP errors on the page (on/off)
date.timezone Default time zone