IIS 的 PHP 管理器无法安装

我正在尝试在 IIS 8 上安装 PHP.

I am trying to install PHP on IIS 8.

每次我开始安装 PHP 时,PHP 都会安装,但我收到以下错误:

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

推荐答案

正如 Abhi 所说:启动 regedit.exe 并更改 ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW3SVCParametersMajorVersion 的十进制值 从 10(由 Windows 10 设置)到例如8. 安装程序现在应该可以工作了.之后,您可以将该值设置回 10(或您的 Windows 环境最初具有的任何值).

As Abhi says: fire up regedit.exe and change the decimal value of ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW3SVCParametersMajorVersion 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).

提示:要快速导航,请将路径 ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW3SVCParameters 粘贴到注册表编辑器的地址栏中,然后按 Enter.

Tip: For quick navigation, paste the path ComputerHKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesW3SVCParametersinto the address-bar of Registry Editor and hit Enter.

另外,对于我在 Windows 10 上的情况,我必须启用 .NET Framework 3.5 > Windows Communication Foundation HTTP 激活才能继续安装.如果不启用此功能,安装程序只会在第 1 步挂起.需要重新启动.

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.

相关文章