Skip to content

Instantly share code, notes, and snippets.

@ryansutc
Last active May 4, 2019 04:26
Show Gist options
  • Save ryansutc/6eda52fea676dbcb899d88c3e14f5b9d to your computer and use it in GitHub Desktop.
Save ryansutc/6eda52fea676dbcb899d88c3e14f5b9d to your computer and use it in GitHub Desktop.
PHP on IIS Setup Checklist

***How to make sure PHP is setup correctly on your IIS Server

  1. Make sure IIS is set up & fully enabled:
   Internet Information Services > World Wide Web Services > 
    - enable Application Development Features > CGI
    - enable Common HTTP Features > Static Content
  1. Make sure PHP is installed or install it with Web Platform installer Open 'Microsoft Web Platform Installer' in Start Menu > Products > Frameworks > Windows Cache Extension vX.X

  2. Set up a handler mapping for PHP in IIS

  Request path=*php
  Module=FastCgiModule
  Executable=[path\to\php-cgi.exe]
  1. configure the WinCache PHP extension After you install you should see it here: C:\Program Files\IIS\Windows Cache for PHP

references:

https://docs.microsoft.com/en-us/iis/application-frameworks/scenario-build-a-php-website-on-iis/configuring-step-1-install-iis-and-php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment