How to install PHP in Windows7 (IIS7) environment
- |
- Browse:5089
- |
- Updated: 2014-08-17 23:43
- |
- Tags:windows7
Step through Reading
This article describes how to install PHP in a IIS7 environment.
Tools/Materials
- IIS7: You may need to use the Windows system installation CD
- PHP Manager: Access http://phpmanager.codeplex.com/releases/view/69115 download
- PHP: Access http://windows.php.net download
First, install the IIS7
- 1
open (1) [Programs and Features], then click (2) [ Turn Windows features on or off]
- 2
tick (1) [IIS Admin Console] and (2) CGI, then click [ 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].
END
Second, install the PHP Manager
- 1
Access http:// phpmanager.codeplex.com/releases/view/69115 download 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].
END
Third, install PHP
-
Access http:// windows.php.net, download the required PHP version.
note , Select the zip version of NTS (non-thread safe).
-
After downloading, unzip it to the specified directory, for example C:\PHP.
in a popup (2) Select the Php-cgi.exe in the previous decompression directory (for example, C:\PHP). When finished, click [OK].
-
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-ok in a Windows7 (IIS7) environment