Sites
PHP settings and extensions
Per-site limits, advanced php.ini directives and PHP extensions such as ionCube.
Every PHP site runs in its own PHP pool, with its own PHP-FPM service (zefily-php-<site>) and cgroup, and its own settings. Open the site and choose PHP.
Limits
| Setting | Range | Default |
|---|---|---|
| Memory limit | 64–2048 MB | 256 MB |
| Upload size | 1–2048 MB | 64 MB |
| Max execution time | 10–3600 s | 120 s |
| Max input vars | 1000–100000 | 3000 |
These cover what most apps and plugins ask for (WooCommerce and page builders usually want 256–512 MB). The web server's upload size and timeout follow these values automatically. Changes apply without downtime.
Advanced php.ini settings
Under Advanced php.ini settings you can add extra directives from a safe list, for example display_errors, date.timezone, max_input_time, max_file_uploads, session.gc_maxlifetime, output_buffering or allow_url_fopen. Each value is checked before it is applied.
Security boundaries — open_basedir, disable_functions, loading extensions, the error log — stay managed by Zefily, so one site can never reach another or weaken the server.
PHP version
PHP version at the top of the pane moves the site to another version installed in the server's web stack (7.3–8.5, depending on the server's OS); its pool moves with it without downtime. Install the version in the web stack first, and check that your app supports it — for an upgrade, try it on a staging copy first.
OPcache preload
PHP-FPM can load the classes your app uses into OPcache when the site's PHP pool starts, so the first requests are faster. Under OPcache preload script enter a PHP file in the site's release, relative to the release, for example config/preload.php, which Symfony generates. The script runs as the site user. Zefily checks that it is valid PHP and exists before anything changes; if the pool does not start with it, the previous settings come back. Each deploy restarts the pool with the new release, so the preloaded code follows your deploys.
Laravel and most apps do not ship a preload script: write a short one that requires the classes you want preloaded. Preloading needs PHP-FPM. On OpenLiteSpeed, a PHP version that runs through lsphp cannot preload; use nginx or another PHP version for that site.
Extensions
The server's Web stack card has PHP extensions: pick the ones you need (for example apcu, imagick, intl, mongodb, redis, soap, gmp, xdebug, ionCube Loader) and install them. They are added to every PHP version on the server and PHP restarts; the checked ones are loaded now.
A plugin needs an extension that is not on the list? Ask us and we will add it after a review.
Updated October 29, 2026 View as Markdown llms.txt