Software >> Services >> IIS >> How to add setup and configure PHP support to IIS

IIS v6 (Windows Server 2003)

  • Install PHP
  • Install FastCGI
  • Launch Inetmgr
    • -> website
    • -> Home directory
    • -> Under application settings click Configuration
    • -> Add
    • Executable = C:\WINDOWS\system32\inetsrv\fcgiext.dll
      Extension = .php
      Limit to = GET,HEAD,POST
      tick Script Engine
      tick Verify that file exists
  • Add the following into C:\WINDOWS\system32\inetsrv\fcgiext.ini

    [Types]
    php=PHP

    [PHP]
    ExePath=C:\PHP\php-cgi.exe
    EnvironmentVars=PHPRC:C:\PHP\