How to Run Multiple PHP Versions in Windows VPS?

How to Run Multiple PHP Versions in Windows VPS?

 Steps to run multiple PHP version parallelly in single web server.

    Download new PHP version

  1. To use diffrent version Download your choice of PHP version (non thread safe) from PHP.net
  2. Extract the PHP folder and place it under C:\Program Files (x86)\PHP so that you will have different PHP versions in their own folders.

     

    Register new PHP version in IIS

  1. Open Internet Information Service Manager ( Start >> Run >> type inetmgr and hit enter).
  2. From the Connections pane select the server name (or specific website name). Under Features view, locate and double click PHP Manager.


     
  3. Under PHP Setup, click on Register new PHP version link. Browse the PHP folder up to php-cgi.exe file and click on Open.example,(C:\Program Files\PHP\ php-cgi.exe).

      Change new PHP version for a website in IIS

  1. Open Internet Information Service Manager ( Start >> Run >> type inetmgr and hit enter).
  2. From the Connections pane, expand the Sites and select your choice of website. Under Features view, locate and double click PHP Manager.
  3. Under PHP Setup, click on Change PHP version link. Select the PHP version from drown down and click OK.


     
  4. To verify if your website is using new PHP version, click on Check phpinfo() link.



    • Related Articles

    • How to enable ionCube Loader module for PHP shipped with Plesk on Linux

      How to enable ionCube Loader module for PHP shipped with Plesk on Linux Installing ionCube Loader via the Plesk Control Panel interface Manually installing ionCube Loader using the Command Line interface Reference KB : Installing ionCube Loader via ...
    • Configuring Windows Sever 2016 for Hosting PHP Web Application.

      Configuring Windows Sever 2016 for Hosting PHP Web Application. In order to Run PHP Web based application on Windows server 2016 we need to install below mention application first- Web platform Installer ...
    • How to change PHP version from Plesk panel

      How to change PHP version from Plesk panel Follow the below-mentioned steps to change the version of the PHP from Plesk Visit the URL http://<your_domain>:8880 or https://<your_domain>:8443 (For SSL) and login. Click on any of the links as Hosting ...
    • Block xmlrpc.php brute force request in Wordpress site

      Block xmlrpc.php brute force request in Wordpress websites Wordpress websites have xmlrpc requests disabled by default but some sites have it enabled and is being brute forced by hackers. This leads to increased CPU consumption on the server. To ...
    • How To Run Sara Tool For M365 diagnostic with Outlook

      Download and install SaRA from Microsoft's Outlook Support Center site. Open the program. The main screen offers different categories for you to select depending on the problem you're experiencing.Below Mentioned URl will help you to download ...