Windows IIS Configuration PHP Support
The default IIS does not support PHP and only supports ASP in MS Environment .... Wait, let's think of it as PHP support.
Installation of IIS
1: Control Panel-Features and programs-turn Windows features on or off-tick Internet Information services.
650) this.width=650; "class=" Media "src=" http://www.davis-wiki.com/lib/exe/fetch.php?media=all:iis_vs_php1.png "/ >
2:internet Information Service--web management tool--Tick the IIS Admin console.
650) this.width=650; "class=" Media "src=" http://www.davis-wiki.com/lib/exe/fetch.php?media=all:iis_vs_php2.png "/ >
3:internet Information Services-application development features-tick CGI.
650) this.width=650; "class=" Media "src=" http://www.davis-wiki.com/lib/exe/fetch.php?media=all:iis_vs_php3.png "/ >
PHP Configuration
1: Go to the official website to download PHP for WINDOWS. http://php.net/downloads.php
2: Unzip the php-xxx-cc.zip to the D drive and reset to PHP.
3: Install Visual C + + redistributable for visual Studio ...
Official download from Microsoft: http://www.microsoft.com/zh-CN/download/details.aspx?id=30679
3:d:/php/php.ini-development renamed to PHP.ini
4:d:/php/php.ini Configure the PHP time zone to Asia/shanghai.
650) this.width=650; "class=" Media "src=" http://www.davis-wiki.com/lib/exe/fetch.php?media=all:iis_vs_php4.png "/ >
Add PHP support in IIS7
1. Running--inetmgr
650) this.width=650; "class=" Media "src=" http://www.davis-wiki.com/lib/exe/fetch.php?media=all:iis_vs_php5.png "/ >
2: Handler Mappings
650) this.width=650; "class=" Media "src=" http://www.davis-wiki.com/lib/exe/fetch.php?media=all:iis_vs_php6.png "/ >
3: Add Module mappings
650) this.width=650; "class=" Media "src=" http://www.davis-wiki.com/lib/exe/fetch.php?media=all:iis_vs_php7.png "/ >
4: Fill in the following content
650) this.width=650; "class=" Media "src=" http://www.davis-wiki.com/lib/exe/fetch.php?media=all:iis_vs_php8.png "/ >
Setup is complete!
Test
1: Put the PHP Web file into the IIS Web site to access the directory. The default is C:\inetpub\wwwroot, and of course this directory can be changed by itself in IIS settings.
2: Open IE HTTP://ip/page name. php
650) this.width=650; "class=" Media "src=" http://www.davis-wiki.com/lib/exe/fetch.php?media=all:iis_vs_php9.png "/ >
Test success!
Bo Master personal website www.davis-wiki.com
Windows IIS Configuration PHP Support