- Plesk for Linux
- Plesk for Windows
How to install additional PHP versions provided by Plesk?
Additional PHP versions can be installed by Plesk administrator only. It can be done either via a browser or a command-line interface directly on a Plesk server.
PHP versions 7.1 and 7.2 are available starting from Plesk Onyx. For Plesk upgrade instructions, see this KB article.
Ubuntu 18.04 and Debian 9 do not support PHP 5.6 and lower versions. Visit this KB article for details.
Table of Contents
- Installing additional PHP versions via a browser
- Installing additional PHP versions via a command-line interface
Installing additional PHP versions via a browser
In Plesk, go to Tools & Settings and click Updates and Upgrades.
On the Updates and Upgrades page, click Add/Remove Components.
On the Add/Remove Components page, expand:
Web hosting > PHP interpreter versions section, if this is a Linux server.
Plesk hosting feature section, if this is a Windows server.
Select required PHP versions for installation and click Continue.
Installing additional PHP versions via a command-line interface
Get the list of all available Plesk components (on Windows Server use a command prompt as an Administrator):
MYSQL_LIN: plesk installer --select-release-current --show-components
Install additional PHP versions using the component name from step 2.
Below is an example of the command to install PHP 7.2:
# plesk installer --select-release-current --install-component php7.2
for Windows Server:
C:\> plesk installer --select-release-current --install-component php72
For more information, visit: