PHP versions
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.
MZPanel runs multiple PHP versions side by side on a server and lets each site choose its own. You switch versions and adjust the FPM pool from the dashboard; the agent applies the change on the box. PHP management is available on all plans.
Switch PHP version
Section titled “Switch PHP version”Open a site’s manage drawer and go to the PHP tab. Pick the version you want (for example 8.1, 8.2, 8.3) and apply. The agent repoints the site’s PHP-FPM pool to the chosen version and reloads, so the switch takes effect without touching the other sites on the server.
Per-site dedicated FPM pool
Section titled “Per-site dedicated FPM pool”Each site runs its own PHP-FPM pool under its own Linux user, with an
open_basedir jail so a site can only see its own files. This isolation is the
foundation that makes per-site PHP versions and per-site limits possible.
On the Pro plan, per-site resource limits take this
further: the site’s PHP-FPM runs as a dedicated master inside its own systemd
slice, so CPU, memory and task caps apply to exactly that site.
Tuning
Section titled “Tuning”The PHP Configure drawer shows each version’s loaded extensions, key php.ini
settings and FPM pool configuration, so you can review and adjust them per site.
Because reading all of that across every installed version is expensive, MZPanel caches it: the drawer opens instantly from the last snapshot and shows a “synced X minutes ago” indicator, with a Refresh button to pull current values. Toggling an extension or saving a setting updates the cache immediately, so it stays accurate while you’re editing.