Skip to content

PHP-Manager

PHP Configuration

Each hosting has its own PHP configurations, individually per PHP version.

Extensions

By default, a large selection of PHP extensions is already enabled. These include (in short: All you'll ever need!): APCu, BCMath, Calendar, Curl, DOM, Exif, Fileinfo, Filter, FTP, GD, Gettext, Gmp, Hash, Iconv, Igbinary, IMAP, Intl, JSON, LDAP, LibXML, Mbstring, MySQLi, MySQLnd, OpenSSL, PCRE, PDO, Phar, Posix, Random, Readline, Reflection, Session, Shmop, SimpleXML, SOAP, Sockets, Sodium, SPL, Sqlite3, XML, XSL, Zend OPcache, Zip, Zlib

For a full listing of enabled extensions, please consult your phpinfo() resp. as a customer with SSH access:

bash
$ php -m

The following extensions are not enabled by default. However, you can enable them here at any time, per PHP version:

For our customers on a dedicated web server (limeDEDICATED), we are also happy to activate the following extension(s) upon request:

Directives (php.ini)

For security reasons, we only allow you to customize the common parameters. However, this is a selection of the most requested settings by our customers. If you need additional adjustments, please request them directly via info@onlime.ch.

DirectiveDefault ValuePossible Values
disable_functionspcntl_*exec, shell_exec, system, dl, passthru, proc_open, proc_close, mail, opcache_get_status
opcache.enableOnOn|Off
opcache.memory_consumption128 MBmax. 512 MB (≤ memory_limit)
file_uploadsOnOn|Off
allow_url_fopenOnOn|Off
short_open_tagOffOn|Off
error_reportingE_ALL & ~E_DEPRECATEDE_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING, E_ALL & ~E_DEPRECATED & ~E_NOTICE, E_ALL & ~E_DEPRECATED, E_ALL & ~E_NOTICE, E_ALL
display_errorsOnOn|Off
display_startup_errorsOffOn|Off
log_errorsOnOn|Off
zend.exception_ignore_argsOnOn|Off
memory_limit256 MBmax. 2048 MB
post_max_size128 MBmax. 2048 MB (≤ memory_limit)
upload_max_filesize128 MBmax. 2048 MB (≤ memory_limit, ≤ post_max_size)
max_execution_time60 smax. 240 s
max_input_time60 smax. 240 s (≤ max_execution_time)
max_input_vars2000max. 6000
max_file_uploads20max. 100
session.gc_maxlifetime1440 smax. 86400s (1d)
date.timezoneEurope/ZurichSupported Timezones

WARNING

Please note to not just tune all settings to the max, for your own safety. Higher values usually don't give you any better performance, just a risk of higher memory consumption and resource exhaustion. Only tune the directives that really need to be tuned (e.g. if your CMS requires such high values)!

Our defaults should be safe for any type of application, even for a large scale website with high traffic.

Show Config

Here you may review your PHP FPM-pool overrides and your base php.ini. Any custom configuration that differs from the defaults is stored in your FPM-pool "custom overrides" section.

For a clearer representation of your PHP configuration, please use the PHP function phpinfo(). Just create a file named phpinfo.php with the following content in your webroot and call it in your browser:

php
<?php
phpinfo();

FPM Status

The FPM-pool Status is the direct Systemd output of your PHP FPM-pool where you can see important information about runtime, active PHP processes, traffic (req/sec), amount of memory consumed by the whole FPM-pool, and the last 10 log lines. Use the «Auto-Refresh» toggle to reload the status every 5 seconds, or just click on the «Reload FPM-Status» button to manually reload it.

If you have SSH access to the webserver, you may also use the following command to get the same status output:

bash
$ systemctl status fpm-pool-<PHP_VERSION>@<USERNAME>
# e.g.
$ systemctl status fpm-pool-php84@web151

Additionally, we provide the following tools out of the box for more FPM-pool insights:

Please consult our Support Wiki > PHP for detailed instructions.