Skip to content

Instantly share code, notes, and snippets.

@Dillie-O
Created April 17, 2013 17:00
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Dillie-O/5405986 to your computer and use it in GitHub Desktop.
Save Dillie-O/5405986 to your computer and use it in GitHub Desktop.
Map FastCGI to PHP location for IIS Express
"C:\Program Files (x86)\IIS Express\appcmd.exe" set config /section:system.webServer/fastCGI /+[fullPath='"C:\Program Files (x86)\PHP\php-cgi.exe"']
"C:\Program Files (x86)\IIS Express\appcmd.exe" set config /section:system.webServer/handlers /+[name='PHP_via_FastCGI',path='*.php',verb='*',modules='FastCgiModule',scriptProcessor='"C:\Program Files (x86)\PHP\php-cgi.exe"',resourceType='Unspecified']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment