On Linux systems, you can install any PHP version you need and then make it available in Plesk by registering it with the
php_handler command-line utility.
To add the support for an arbitrary PHP version in Plesk:
Warning: These steps are provided for demonstration purposes only. Depending on your operating system and the desired configuration, installation steps can differ significantly. When you install an additional PHP version on your server, read the official PHP documentation on installation.
tar -xf php-NN.tar
./configure --help for a list of available options.
./configure --prefix /usr/local/phpNN
cp php.ini-development /usr/local/lib/php.ini
You may edit your
.ini file to set PHP options. If you prefer having
php.ini in another location, run the
configure utility with the option
--with-config-file-path=/some/path in step 3.
php_handler utility. For details, refer to the CLI Guide.