How to install another PHP version in ISPmanager

ISPmanager has the built-in PHP version (native) from the OS and alternative versions (alt). Sites can run on different versions at the same time.

Install a version

  1. Open "Software configuration".
  2. Check the "Alternative version PHP 8.4" row (or another version) and click "Install software".
  3. Check the modes: CGI, Apache module, FastCGI (Nginx + PHP-FPM).
  4. Click "Save" and wait for the installation to finish.
PHP version in "Software configuration"
PHP version in "Software configuration"
Version modes
Version modes
Version installed
Version installed

Another way: "PHP" → check a version that is not installed (no ticks in the columns) → "Install the selected PHP version".

Installing a version from the PHP section
Installing a version from the PHP section

Which mode to choose

ModeWhen
FastCGI (Nginx + PHP-FPM)Recommended. Fast, each user has its own process pool.
Apache moduleFor old sites with php_value in .htaccess. Works with one PHP version per server only.
CGISlow mode. For compatibility.

Default version and versions for users

The "Display" column shows whether the version is visible to users. The user changes the site version in the site settings: PHP version and mode. The version for new sites is set in the user template: "Default values" block.

Remove a version only if no site uses it.

Questions and answers
As many as you need: 7.4–8.5 work side by side, each site uses its own version.
FastCGI (Nginx + PHP-FPM) for most sites. Apache module only for old sites with php_value in .htaccess.
Check the "Display" column in "PHP" and the rights in the user template: the PHP modes must be allowed.