Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP Manager for IIS fails to install

I am trying to install PHP on IIS 8.

Every time I start the PHP installation, PHP installs but I get the follow error:

enter image description here

like image 370
Koen Hollander Avatar asked Jan 19 '14 11:01

Koen Hollander


People also ask

Can PHP run on Microsoft Windows IIS?

IIS only runs on Windows, but keep in mind that running PHP on IIS is not the same as running PHP on Windows. There are options to run PHP on Windows like XAMPP or WampServer. However, these two options make some additional choices for you. They run Apache as a web server and use MySQL or MariaDB as a database server.


2 Answers

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\Parametersinto 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 Activationfor the installer to progress. Without this enabled, installer would just hang at step 1. Requires reboot.

like image 73
Frederik Struck-Schøning Avatar answered Sep 16 '22 21:09

Frederik Struck-Schøning


Installation of PHP Manager for IIS via the Web Platform Installer requires .NET 3.5 to work properly. Install .NET 3.5 first, and you should be all set.

like image 31
Tony Avatar answered Sep 17 '22 21:09

Tony