用于IIS的PHP管理器无法安装 [英] PHP Manager for IIS fails to install
问题描述
我正在尝试在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并更改的十进制值Computer \HKEY_LOCAL_MACHINE \SYSTEM \ CurrentControlSet \ Services \\ W3SVC \Parameters \ MajorVersion
从10(由Windows 10设置)到例如8.安装人员现在应该工作。之后,您可以将值设置回10(或者您的Windows环境最初的值)。
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).
提示:用于快速导航,将路径 Computer \HKEY_LOCAL_MACHINE \SYSTEM\CurrentControlSet \Services \W3SVC \Parameters
粘贴到注册表编辑器的地址栏中,然后按Enter键。
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.
另外,对于我在Windows 10上,我必须启用 .NET Framework 3.5
> Windows Communication Foundation HTTP Activation
,供安装程序进行。如果未启用此选项,安装程序将在步骤1中挂起。需要重新启动。
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.
这篇关于用于IIS的PHP管理器无法安装的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!