Configuring IIS to Use PHP4

  1. Use Internet Service Manager to create a Virtual Directory for your PHP files.

  2. Select the Virtual Directory created.

  3. Right-click to select the Property tab.

  4. Click Virtual Directory tab.

  5. Click Configuration, and then click App Mappings tab.

  6. Click Add, and in the Executable box, type C:\php4\php.exe %s %s.

  7. In the Extension box, type the file name extension to associate with PHP scripts, such as .php or .phtml.  You can add only one extension at a time, so repeat this step as neccessary.

  8. Restart IIS.