Preparation work:
1. PHP version, you can download this according to your needs.
The php version requires downloading nts, the suffix is in zip format, and is a non-thread-safe version.
2. Download the PHP Manager tool
Start the installation:
1.Put the downloaded php into the website directory
2. Install PHP Manager
Just follow the process to install it, and then go to the iis interface to set it up.
Steps to switch php:
1. Go to the site where you need to switch the php version of the website and open PHP Manager
2. Enter PHP Manager After that, click Register New PHP Version first, select the file in the pop-up dialog box, find your php directory
3, select the php-cgi.exe file in the php directory
4, select After confirming, follow the above process again, and this time select another version of the php-cgi file. If the first time is the php5.3 version, then add the php5.5 version this time.
5. Click Change PHP version to select the php version, and select the version you need in the pop-up dialog box.
Recommended tutorial: IIS tutorial
The above is the detailed content of How to change php version in iis. For more information, please follow other related articles on the PHP Chinese website!