[Release notes] Multiple PHP Versions in Plesk 12.5 and higher Out of the Box for Windows

Created:

2016-11-16 13:13:48 UTC

Modified:

2017-08-16 16:47:34 UTC

0

Was this article helpful?


Have more questions?

Submit a request

[Release notes] Multiple PHP Versions in Plesk 12.5 and higher Out of the Box for Windows

Applicable to:

  • Plesk 11.x for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

PHP7 on Plesk 12.5 Out of the Box released! Read more in article #213929565

Why do I need to run multiple PHP versions on the same server?

There are several reasons why you might need to run multiple versions of PHP on the same server. Maybe you have a PHP 5.2 application running on your server and you need to start working on another application based on a new framework such as Symfony2 or Lithium? Perhaps you have a client with a legacy site that runs PHP 5.2, or maybe you simply want to test some of the new functionality? Or maybe you want to move your hosting to a modern operating system, but keep some of your sites on an old PHP version that is available in your current operating system?

How can I use multiple PHP versions in Plesk 12.0 and in Plesk 12.5?

With Plesk 11.5 and higher you can install and use multiple PHP 5.x versions built by the Plesk team via Plesk.

PHP packages from the Plesk team are available on:

Plesk 11.5:

  • PHP 5.2.17
  • PHP 5.3.26
  • PHP 5.4.16

Plesk 12:

  • PHP 5.2.17
  • PHP 5.3.28
  • PHP 5.4.45
  • PHP 5.5.29
  • PHP 5.6.13

Plesk 12.5:

  • PHP 5.2.17
  • PHP 5.3.29
  • PHP 5.4.45
  • PHP 5.5.32
  • PHP 5.6.18
  • PHP 7.0.3

Step 1. Install the necessary PHP versions packaged by the Plesk team

  • Install via GUI:

Just go to the Plesk Installer interface and choose the PHP versions you need ( Tools & Settings > Updates and Upgrades > Add/Remove Components > Plesk hosting features ).

  • Install via CLI:
    "%plesk_bin%\\ai.exe" --select-product-id panel --select-release-current  --install-component php5.2

Plesk hosting features

Step 2. Select the required PHP versions in your service plans and website settings.

After installation, new PHP versions will be available for selection in service plans and website hosting settings.


Technical Details

All files are installed into %plesk_dir%\\Additional directory.

The php.ini file is located in %plesk_dir%\\Additional\\PleskPHP<version> .

References

Plesk forum thread for open discussion .

PHP Handler Types, Administrator guide .

PHP Settings .

Have more questions? Submit a request
Please sign in to leave a comment.