I am trying to install PHP on IIS 8.
Every time I start the PHP installation, PHP installs but I get the follow error:
As Abhi says: fire up regedit.exe and change the decimal value of Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\MajorVersion
from 10 (as set by Windows 10) to e.g. 8. Installer should work now. Afterwards, you can set the value back to 10 (or whatever value your Windows env. had at first).
Tip: For quick navigation, paste the path Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters
into the address-bar of Registry Editor and hit Enter.
Also, for me on Windows 10, I had to enable .NET Framework 3.5
> Windows Communication Foundation HTTP Activation
for the installer to progress. Without this enabled, installer would just hang at step 1. Requires reboot.