How to install PHP Manager for IIS on Windows Server or Windows 10

php-cgi.exe - The FastCGI process exited unexpectedly error and how to fix it

If you're using PHP on Windows with IIS you most certainly know the PHP Manager for IIS tool, an excellent GUI that integrates within the IIS Manager interface as a snap-in that you can use to flawlessly manage your PHP installation(s) on your IIS server machine. Installing it is just as simple as launching the Web Platform Installer  (through the IIS Manager interface itself), then select it and add to your environment.

This is your preferred choice not only because of simplicity, yet also because that way you will get the last build of the software (1.4 at the time of speaking), which addresses a specific issue that affected the previous releases (=< 1.3) on most Windows 10 machines. The problem is well-documented here: to quickly summarize it, the PHP Manager setup program checks that the registry value HKLM/System/CCS/Services/W3SVC/Parameters/MajorVersion  is >= 7 to ensure that it's being installed on IIS7 and later: however, when you're running Windows 10 with the last IIS version, the registry value is 0xA, which (oddly) evaluates that condition to false, thus making the installer crash.

Here's an example of the error log:

The workaround there was pretty simple: change that value to 9 (or 8, or 7), let the software install, then bring it back to the previous value. Luckily enough, as said above, the PHP Manager staff released the 1.4 build which had this problem fixed for good. However, if you're installing it manually and using a previous version, you would still be hit by that issue. Since there's an official build that now addresses it our suggestion is to get it, thus avoiding the above workaround: however, in case you need the good old fix, here it is for your convenience.

 

About Ryan

IT Project Manager, Web Interface Architect and Lead Developer for many high-traffic web sites & services hosted in Italy and Europe. Since 2010 it's also a lead designer for many App and games for Android, iOS and Windows Phone mobile devices for a number of italian companies. Microsoft MVP for Development Technologies since 2018.

View all posts by Ryan

3 Comments on “How to install PHP Manager for IIS on Windows Server or Windows 10”

  1. Pingback: PHP Error 500 in php-cgi.exe - MSVCR110.dll is missing - How to fix it
  2. Hi! When using Web Platform Installer the only PHP Manager listed is dated 27.06.2011, and the last version listed at https://phpmanager.codeplex.com/releases/view/69115 is v1.2. If there is a v1.4 or newer, how come I can’t find it?

  3. Pingback: How to clear Google Chrome Redirect Cache for a single URL

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.

This site uses Akismet to reduce spam. Learn how your comment data is processed.