1)Download and Install the Fast CGI Extension for IIS from http://www.iis.net/download/FastCGI.
2)Download the PHP windows binaries installer from http://windows.php.net/download/.and install it.
3)type inetmgr in run command IIS Window will be open.
4)Right Click on Web Sites and click on properties.
Dialog box will be opened in that Click Home Directory tab in this Browse fro Local Path.
Here you have the Give the DocumentRoot.i.e Where you want to place your PHP Files.click Ok.
Now Create a php file(ex:phpinfo.php)
with the following code
<?
phpinfo();
?>
and Place in that directory.
Now Browse for http://localhost/phpinfo.php