Online search methods are generally not good, I think it is because so many friends with Apache.
Below I introduce a must be able to run PHP under the IIS method for everyone. Original Oh!
First download a PHP installation software in WIN32
Http://www.downloadsky.com/soft/516.html
Unzip it to a directory "C:\PHP",
Then copy the "Php4ts.dll" file in the "C:\PHP" directory to "C:\WINNT\system32",
The "php.ini-dist" file in "C:\PHP" is then copied to "C:\WINNT" and renamed "PHP.ini".
Open Administrative Tools in Control Panel, select Internet Services Manager, and right-click Properties of the default Web site.
Select ISAPI filter, add a new filter with the name "PHP" and the executable file is "C:\PHP\sapi\php4isapi.dll"
When you are done, switch to home directory, press configure, add a new application mapping, the executable file is "C:\PHP\sapi\php4isapi.dll", and the extension is ". PHP", (of course you can also use other extensions, your PHP program is used by this extension to use, the other do not change.
Once you've finished adding your IIS, you can use PHP.
This method is passed under the win2000+iis5.0+php4.3.1
Note that one thing, PHP under IIS if you want to use the function of reading and writing files, you should first change the security attribute of the directory of PHP program to "Everyone can have full control", so that PHP can read and write files.