IIS Web Server

PHP Tutorials

Manually Configure IIS to run PHP Scripts


Before you continue, make sure that IIS is installed. You need to follow this procedure only if the PHP installer said that you need to configure your web-server manually, or if you choose to manually configure PHP on your web server or you downloaded the zip package with external extensions. The installer version will configure IIS for you.

 

1) Go to Start then All Programs then click on Administrative Tools and then Click Internet Information Services icon.


2) Expand the tree and Right click on the Default Web Site and click on the Properties as show in the above fig.

3) The Default Web Site properties appear, now click on the Home Directory

4) In the Home Directory properties click on the Configuration button as shown in the above figure.
 


5) In the Application Configuration properties click on the Add button as shown in the above figure.
 


6) Now you get the Add/Edit Application Extension Mapping window enter the executable as C:\PHP\PHP.EXE or dll as C:\PHP\php5isapi.dll(Click on the browse button to locate the file to be sure) and the extension as .php as shown in the above figure and click OK. I have found that the dll works best for a testing server! See here for more info: http://www.php.net/manual/en/install.windows.iis.php
  eXTReMe Tracker

 

eXTReMe Tracker

Links: