1, to download 2 PHP installation packages: One is install version, the other is a zip version.
2, run the install version, in accordance with the standard mode of installation can be, the installation process to pay attention to correctly select your version of IIS.
2000server selected Iis4 or later, 2003server Select IIS 6.
File types such as association. Php,.phtml.php3. Set d:\php here as the installation directory
3, don't worry, you can't use it right now. Unzip the zip version to the D:\php5zip\ folder, all the files and directories under the Copy directory, and then paste it into d:\php, overwriting all the files below.
4,c:\php\ext The following DLL extensions are copied to the C:\Windows\System32 below, * to the Guests user group (on my machine, each site is set up with a different anonymous user who belongs to the Guests group, if you have only one isur_ Your machine name, you only need to set ISUR_ permissions on your machine name to read and run the DLL files on PHP5.
5,* gives the guests user group Php.exe,php-cgi.exe,php5isapi.dll read and run permissions.
6,* set C:\windows\php.ini or C:\winnt\php.ini for guests user group can: read.
7, finally, don't forget to add index.php or default.php to the site Properties--〉 document in IIS
8,mysql Enabled:
Need to remove comments about Php_mysqli.dll extensions in C:\windows\php.ini or C:\winnt\php.ini
Additional Extension=php_mysql.dll
9, OK, if you want to add graphics or other features, modify the php.ini inside the extension, and copy the relevant DLL files to C:\Windows\System32 below, and give guests user group these PHP5 DLL files read and run permissions.