Windows $ IIS configures multiple versions of PHP at the same time

Source: Internet
Author: User

Windows can install the PHP Manager tool under IIS to allow IIS to support multiple versions of PHP at the same time, in the following steps:

1. Download the PHP Manager software (you can download it in http://phpmanager.codeplex.com/releases/view/69115), and then double-click the installation file in the server to install it. After installation, open IIS will have a PHP Manager management option on the right side of the site.

2. Create a PHP folder in the system disk C drive, transfer different versions of PHP files to this folder, this tutorial uses the php5.2 and php5.3 versions of PHP.

3. Go to the IIS Admin interface, double-click PHP Manager, select Register new PHP version, select the Php-cgi.exe file under the 5.2 version directory in the pop-up selection box, confirm, and then click Register New PHP version , select the Php-cgi.exe file in the 5.3 version of the directory, the same confirmation, the multi-version of the environment is set up.

4. When you need to use the PHP version, click Change PHP versions to select the desired version. You can click Check Phpinfo () next to view the PHP version and settings information.


Windows $ IIS configures multiple versions of PHP at the same time

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.