Table of contents

PHP Security Update

How to apply the latest PHP security patches on a MetroPanel server without changing your PHP major version.

Published: 21 October 2026 · Audience: MetroPanel server owners / admins · Est. downtime: a few seconds during PHP-FPM restart

PHP security releases fix remote and local issues that can affect any site running PHP — including the MetroPanel control plane and customer websites on the same server.

  • Apply the OS security packages as soon as they are available.
  • A short PHP-FPM restart is expected; customer sites may briefly return 502 during that restart.
  • You do not need to reinstall MetroPanel or change customer PHP selectors for this patch.

SSH into the MetroPanel server as root (or a sudo user). Prefer a low-traffic window if possible.

sudo apt update apt-cache policy php8.3-cli php8.3-fpm | grep -E 'Installed|Candidate'

  Confirm Candidate is newer than Installed (or already equal to the secure revision).

Use --only-upgrade on the PHP packages you already have. Do not jump to PHP 8.4 / 8.5 as part of this security patch.
export DEBIAN_FRONTEND=noninteractive sudo apt-get install -y --only-upgrade \ -o Dpkg::Options::="--force-confdef" \ -o Dpkg::Options::="--force-confold" \ php8.3-cli php8.3-fpm php8.3-common \ $(dpkg -l 'php8.3-*' | awk '/^ii/{print $2}')

If apt asks about config files, keep your local versions (--force-confold above does this non-interactively).

sudo systemctl restart php8.3-fpm # Dedicated MetroPanel control-plane FPM (if present) if systemctl list-unit-files | grep -q 'php8.3-fpm-panel'; then sudo systemctl restart php8.3-fpm-panel fi # Optional helper script shipped with MetroPanel # sudo /opt/metropanel/panel/scripts/php-fpm-reload.sh 8.3

Nginx usually does not need a full restart for this patch; a PHP-FPM restart is enough.

# Package revision (Ubuntu 24.04 example — look for .13 or newer) dpkg -l php8.3-cli php8.3-fpm | awk '/^ii/{print $2,$3}' # CLI still healthy (ionCube / OPcache should still load if previously installed) php8.3 -v # Config + services sudo php-fpm8.3 -t systemctl is-active php8.3-fpm nginx # Confirm critical CVEs are in the installed changelog zgrep -E 'CVE-2026-109618|CVE-2026-109619' /usr/share/doc/php8.3-common/changelog.Debian.gz | head # Quick smoke checks curl -skI https://127.0.0.1:8443/ | head -5 # Open the panel in a browser and log in # Load one customer PHP site
Success looks like: package at …24.04.13 (or newer), FPM active, panel login works, customer PHP site loads, and the changelog mentions CVE-2026-109618 / CVE-2026-109619.