How to install PHP in Windows7 (IIS7) environment

Source: Internet
Author: User

First, install the IIS7
    1. Open (1) [Programs and features], then tap (2) [Turn Windows features on or off]

    2. Tick (1) [IIS Admin Console] and (2) CGI and click the [OK] button to wait for the installation to complete. This process may require a system installation CD-ROM.

    3. Once the installation is complete, go to [Administrative Tools] under [Control Panel] and open Internet Information Services (IIS) Manager to see [fastcgi settings].

Second, install the PHP Manager
    1. Visit http://phpmanager.codeplex.com/releases/view/69115 to download the PHP Manager. Where x86 is used for 32-bit Windows systems, x64 is used for 64-bit Windows systems, please download according to the Windows system used.

    2. Once downloaded, double-click the default installation. When the installation is complete, open Internet Information Services (IIS) Manager to see [PHP Manager].

Third, install PHP
    1. To access http://windows.php.net, download the required PHP version.

      note that the zip version of NTS (non-thread safe) is selected.

    2. After downloading, unzip it to the specified directory, such as C:\PHP.

      Then, open open Internet Information Services (IIS) Manager, double-click the [PHP Manager] icon, and click (1) [Register new PHP version].

      In the pop-up window (2), enter or select the Php-cgi.exe in the previous unzip directory (for example, C:\PHP). When finished, click [OK].

    3. Click [Check Phpinfo ()], select a site to check the PHP environment, check whether PHP installation is successful.

      Note: If you have multiple versions of PHP registered, you can click [Change PHP Version] to switch.

How to install PHP in Windows7 (IIS7) environment

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.