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.
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
Close IIS Manager if openHow to
- Download this file and remove zip extension: PHPManagerForIIS-1.2.0-x64.msi
- Windows Key + R > regedit
- 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
- No need to save or reboot. Leave this open.
- Install the msi file
- Open CMD as Administrator > iisreset
- Open IIS Manager
- Click on any website. You should see the PHP Manager icon.
- Go back to step 3 and revert the original version
- Close regedit
- Reboot for good measure