install PHP with IIS 7 On a windows Vista

 This Guide will explain how to install and configure PHP on a windows Vista machine.

Requirements:
IIS 7 with Fast CGI Installed (Click here for instructions)
Microsoft Windows Vista with Service Pack1
Administrator Previlages
Procedure:
Click on start Menu and type  inetmgr in the Search box 

IIS 7

Double Click on handler Mappings from the right hand top corner
IIS 7 Module Mappings

Request path: *.php
Module: FastCgiModule
Executable: C:\[Path to your PHP installation]\php-cgi.exe
Name: PHP via FastCGI
Click OK. The dialog box appears asking if you want to create a FastCGI application for this executable. Click Yes.

Test that the handler mapping works correctly by creating a phpinfo.php file in the C:\inetpub\wwwroot folder that contains the following:
<?php phpinfo(); ?>.

Open a browser and navigate to http://localhost/phpinfo.php. If everything was setup correctly, then you will see the standard PHP information page.

image courtsy: iis.net

Leave a Comment