Environment: OS: Win7 (x64) Chinese professional PHP: V5.5 first add IIS. Control Panel-> Program-> enable or disable Windows function 1. Check
Environment: OS: Win7 (x64) Chinese professional PHP: V5.5 first add IIS. Control Panel-> Program-> enable or disable Windows function 1. Check
Environment:
Operating System: Win7 (x64) Chinese Professional Edition
PHP: V5.5
Add IIS first.
Control Panel-> Program-> enable or disable Windows
1. Check "Internet Information Service"
2. Check "IIS console"
Internet Information Service-> Web management tools
3. Check "CGI"
Internet Information Service-> Application Development Function
IIS automatically creates the inetpub folder on drive C. Its Sub-Folder wwwroot is the directory where the webpage files are stored.
Then, decompress PHP and set it.
1. decompress the file
Decompress php-5.3-nts-win32-vc11-x64.zip to drive D and rename it to php-5.5.3
2. Install Visual C ++ Redistributable for Visual Studio 2012 (x64)
From Microsoft official download: http://www.microsoft.com/zh-CN/download/details.aspx? Id = 30679
3. Configuration File
Rename php. ini-development to php. ini.
(1) set the time zone
Finally, add php support in IIS7.
1. Run-> inetmgr
2. Add "module ing"
(1) Select "handler ing"
(2) Go to "add module ing"
Enter the following content
(3) The settings are complete.
Test,
Create a new file (test. php) and place it in the website root directory (wwwroot ).
The file content is as follows:
The running effect is as follows: