How to install PHP Manager in IIS 10 or higher

Published on Author JFLeave a comment

PHP Manager is a useful tool for configuring PHP in IIS. It is no longer supported, however, and a Registry trick is required to install it.

Overview

PHP Manager allows you to configure multiple versions of PHP for multiple VHosts on an IIS server. While it adds some overhead to the configuration, it can be used locally. It should NOT be used for Production machines.

Note: You will need local Admin rights in order to change the registry

How To

Close IIS Manager if openHow to

  1. Download this file and remove zip extension:  PHPManagerForIIS-1.2.0-x64.msi
  2. Windows Key + R > regedit
  3. Go to these  keys and modify them to 9 (switch to decimal view). Note the original version.
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters+ MajorVersion = 9
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp+ MajorVersion = 9
  4. No need to save or reboot. Leave this open.
  5. Install the msi file
  6. Open CMD as Administrator > iisreset
  7. Open IIS Manager
  8. Click on any website. You should see the PHP Manager icon.
  9. Go back to step 3 and revert the original version
  10. Close regedit
  11. Reboot for good measure

Leave a Reply

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

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