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:
$ php -mThe 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.
| Directive | Default Value | Possible Values |
|---|---|---|
disable_functions | pcntl_* | exec, shell_exec, system, dl, passthru, proc_open, proc_close, mail, opcache_get_status |
opcache.enable | On | On|Off |
opcache.memory_consumption | 128 MB | max. 512 MB (≤ memory_limit) |
file_uploads | On | On|Off |
allow_url_fopen | On | On|Off |
short_open_tag | Off | On|Off |
error_reporting | E_ALL & ~E_DEPRECATED | E_ALL & ~E_DEPRECATED & ~E_NOTICE & ~E_WARNING, E_ALL & ~E_DEPRECATED & ~E_NOTICE, E_ALL & ~E_DEPRECATED, E_ALL & ~E_NOTICE, E_ALL |
display_errors | On | On|Off |
display_startup_errors | Off | On|Off |
log_errors | On | On|Off |
zend.exception_ignore_args | On | On|Off |
memory_limit | 256 MB | max. 2048 MB |
post_max_size | 128 MB | max. 2048 MB (≤ memory_limit) |
upload_max_filesize | 128 MB | max. 2048 MB (≤ memory_limit, ≤ post_max_size) |
max_execution_time | 60 s | max. 240 s |
max_input_time | 60 s | max. 240 s (≤ max_execution_time) |
max_input_vars | 2000 | max. 6000 |
max_file_uploads | 20 | max. 100 |
session.gc_maxlifetime | 1440 s | max. 86400s (1d) |
date.timezone | Europe/Zurich | Supported 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
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:
$ systemctl status fpm-pool-<PHP_VERSION>@<USERNAME>
# e.g.
$ systemctl status fpm-pool-php84@web151Additionally, we provide the following tools out of the box for more FPM-pool insights:
Please consult our Support Wiki > PHP for detailed instructions.