Docs / PHP versions and server software

PHP versions and server software

Everything here is for the server administrator and lives under System → PHP & Software. The panel installs only from fixed lists built into it: you pick a version or a catalog entry from a list, and nothing you type ever reaches the package manager. It works on Debian and Ubuntu (apt) and on the RHEL family (dnf); the differences are in the table near the end.

PHP versions

The PHP Versions card lists the versions the panel can install: 5.6, 7.4, 8.0, 8.1, 8.2, 8.3, 8.4 and 8.5. Each row shows not installed, installed · running or installed · stopped, how many accounts use it, and one button.

To install: press Install on the row and confirm. The work runs in the background (the card says one to two minutes; the server allows up to 12) and the row turns to installed · running when the PHP service is up. Nothing else to set: the version shows up in the PHP Version tool of every customer on this server. Each server is managed on its own, so install it on every server that should offer it. If an install fails you get a message with the reason; where the row still says not installed, press Install again. Repeating it is safe.

What is installed: PHP-FPM, the command-line PHP and a fixed set of extensions. A package of the set that has no build for your OS release is skipped; only the FPM package has to exist. The panel also adds systemd settings so a crashed PHP master restarts by itself and has room for open files.

PHP 5.6 is end of life and gets no security fixes. Install it only when an old site truly needs it.

The server default. There is no setting for it. New accounts, and accounts that never chose a version, run 8.3 when it is installed, otherwise the highest installed version. That row is marked (default) and its Remove button stays disabled.

To remove: press Remove on a version nobody uses. The button is disabled while accounts use it. The panel also counts domains that were given their own PHP version, and answers "PHP 8.1 is still used by … Move them to another version first" if any remain; the server itself refuses while any account still has a pool on that version. Removal stops the service, removes the packages and deletes the settings the panel added. To undo it, press Install again; customers then choose the version again themselves.

PHP extensions

The PHP Extensions card works on one PHP version at a time (the picker at the top). For each extension:

  • Install adds it for that version only, and the version must already be installed. It stays off until a customer switches it on in PHP Extensions, in their own pool. It runs in the background and the card re-reads the list for about a minute; if the row still says not installed, reload later.
  • Visible shows it to customers; Locked forces it on for everyone. Always on rows (built into PHP, or loaded server-wide by their package) cannot be toggled. Xdebug starts hidden.
  • ionCube Loader, SourceGuardian, OPcache and Xdebug are loaded for the whole PHP version, because PHP-FPM has no way to load them for one account. Installing a loader turns it on for every account on that version. The loaders are downloaded from the vendor's fixed address, not from your distribution's repository, and are not checked against a published checksum (Composer is). The panel runs PHP once to confirm the loader loads and rolls it back if not.

PHP defaults for every account

PHP defaults for every account sets php.ini values for all sites: memory limit, upload and POST size, execution and input time, input variables, timezone and display errors. A value an account sets itself still wins. Press Save PHP defaults; it writes a file 99-nimbopanel-defaults.ini for each PHP version installed at that moment, so after installing a new version press Save again to give it the same defaults.

Server software

The Server Software card lists a fixed catalog of 21 entries with a filter box. The Tier column reads Essential, Useful or Extra.

Kind Entries
Managed (cannot be changed here) nginx, PHP, PHP-FPM, MariaDB, Node.js (appears once App Servers has set it up)
From your distribution Git, FFmpeg, ImageMagick, Redis, Memcached, Supervisor, ClamAV, Ghostscript, wkhtmltopdf, rclone, Python, Go, Ruby, LibreOffice, ExifTool
Downloaded Composer, from getcomposer.org and checked against its published SHA-256; needs php on the server

Install and Remove wait for the package manager (up to 10 and 5 minutes) with a message on the card, so keep the tab open. A tool you install is available to every account; removing it takes it from every account, and the panel asks first. Redis, Memcached, Supervisor and ClamAV are also started and enabled.

  • On the RHEL family the panel turns on third-party repositories for you: EPEL (and CRB) for several entries, and RPM Fusion Free for FFmpeg.
  • On RHEL 10 Redis installs Valkey, its drop-in replacement.
  • The panel refuses to remove what it depends on: ClamAV (Virus Scan), rclone (off-site backups) and Redis (spam filtering).
  • Customers only see whether FFmpeg, ImageMagick and ClamAV are available.

Where Debian/Ubuntu and the RHEL family differ

Debian / Ubuntu RHEL family
Repository packages.sury.org, then ppa:ondrej/php on Ubuntu EPEL and the Remi release for your major version
Packages (8.3 shown) php8.3- plus fpm, cli, common, mbstring, curl, xml, zip, gd, intl, bcmath, mysql, opcache php83-php- plus fpm, cli, common, mbstring, xml, gd, intl, bcmath, mysqlnd, opcache, process, and php83-php-pecl-zip
Service php8.3-fpm php83-php-fpm
Pools /etc/php/8.3/fpm/pool.d /etc/opt/remi/php83/php-fpm.d
Command line /usr/bin/php8.3 /usr/bin/php83

Troubleshooting

The reason for a failed PHP install shows under the table while the page is open. The panel log also has it: journalctl -u nimbopanel | grep "php version install failed" ("php extension install failed" for an extension).

  • "PHP X is not available from this server's package repositories": the repositories have no build of that version for your OS release (usually an old PHP on a new release). No PHP package was installed.
  • "the Sury repo (deb.sury.org) is not configured" (Debian): the panel could not set up the repository. Check that the server can reach https://packages.sury.org and that it publishes your release, then press Install again.
  • The row stops updating but never says done: the card watches for four minutes only. Reload the page later.
  • The package manager reports a lock: another package task is running. Wait and press Install again.
  • A version shows installed · stopped: run systemctl status php8.3-fpm (RHEL family: php83-php-fpm).
  • "cannot be removed here — the panel uses it for …": expected for ClamAV, rclone and Redis.

Related: Administrator guide · Customer guide · Troubleshooting