Go to Server Mode → PHP → Install Version, select the version to install, and click Install.
Supported Versions
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
Package Sources
Opterius installs PHP from upstream third-party repositories that provide multiple PHP versions side-by-side:
Debian / Ubuntu:
# ondrej/php PPA — added automatically by the Opterius installer
add-apt-repository ppa:ondrej/php
apt-get install php8.3-fpm php8.3-cli php8.3-common ...
RHEL / AlmaLinux / Rocky Linux:
# Remi repository — added automatically by the Opterius installer
dnf install php83-php-fpm php83-php-cli php83-php-common ...
The installer pre-configures the appropriate repo for your OS at setup time. Adding a new PHP version later does not require manual repo configuration.
What Gets Installed
When a version is installed, Opterius installs:
php{version}-fpm— the FPM servicephp{version}-cli— CLI binary- Common extensions:
mbstring,xml,curl,zip,gd,intl,bcmath,opcache,mysql
The FPM service is enabled and started. A global www pool is disabled — Opterius manages per-domain pools exclusively.
After Install
Once installation completes, the new version appears in every account's PHP version selector under Hosting Mode → PHP → [domain] → PHP Version. No account action is required — the version is immediately available system-wide.
[!NOTE] Existing domains are not automatically switched to the new version. Users must explicitly select it per domain. See Switching PHP Version.
Installing Extensions
Extensions available for a given PHP version can be installed from Server Mode → PHP → Extensions. Installing an extension system-wide makes it available for all accounts to enable per-domain from their own PHP settings. See PHP Extensions.