To add an alternative PHP version in ISPmanager, you need to create two XML-files.
The first file add a new row in Settings → Features and described the form in Settings → Features → Edit. For example:
The second file descrbes the package of the PHP version you want to add. For example:
<systemname>isp-php72</systemname> — a package name in the package manager.
<package name=”ispphp72″ dispname=”PHP 7.2 CGI” primary=”yes” recommended=”yes”> — package description for CGI.
<package name=”ispphp72_fpm” dispname=”PHP 7.2 PHP-FPM” recommended=”yes”> — package description for PHP-FPM.
<package name=”ispphp72_mod_apache” dispname=”PHP 7.2 Apache module”> — package description for the Apache module.
If packages for PHP-FPM and Apache are not present you may not include them into the description.
The /opt/<package name>/etc/php.ini file must be added when the package is installed.
Restart ISPmanager after you have added the XML-files: