Home  >  Article  >  Backend Development  >  Detailed explanation of iis7 php installation method

Detailed explanation of iis7 php installation method

藏色散人
藏色散人Original
2020-11-23 10:05:501990browse

iis7 PHP installation method: first install IIS7; then download PHP Manager and install it; then download the required PHP version, unzip and install it; finally, select a site for checking the PHP environment to check whether PHP is installed successfully That’s it.

Detailed explanation of iis7 php installation method

The operating environment of this tutorial: Windows 7 system, PHP version 5.2. This method is suitable for all brands of computers.

Recommended: "PHP Video Tutorial"

##Installing PHP under Windows 7 (IIS7) environment

Install IIS7

Open (1)[Programs and Features], and then click (2)[Turn Windows features on or off]

Detailed explanation of iis7 php installation method

Check (1) [IIS Management Console] and (2) CGI, then click the [OK] button and wait for the installation to complete. This process may require a system installation CD.

Detailed explanation of iis7 php installation method

After installation, go to [Administrative Tools] under [Control Panel], open [Internet Information Services (IIS) Manager], you can see [FastCGI Settings] .

Detailed explanation of iis7 php installation method

Install PHP Manager

Visit http://phpmanager.codeplex.com/releases/view/69115 to download PHP Manager. Among them, x86 is used by 32-bit Windows systems, and x64 is used by 64-bit Windows systems. Please download according to the Windows system you are using.

Detailed explanation of iis7 php installation method

After downloading, double-click to install by default. After the installation is complete, open [Internet Information Services (IIS) Manager] to see [PHP Manager].

Detailed explanation of iis7 php installation method

Install PHP

Visit http://windows.php.net and download the required PHP version.

Note, select the NTS (non-thread-safe) ZIP version.

Detailed explanation of iis7 php installation method

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

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

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

Detailed explanation of iis7 php installation method

Click [check phpinfo()], select a site for checking the PHP environment, and check whether PHP is installed successfully.

Note: If multiple PHP versions are registered, you can click [Change PHP version] to switch.

Detailed explanation of iis7 php installation method

The above is the detailed content of Detailed explanation of iis7 php installation method. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn