当我尝试在IIS上托管PHP网站时,我遇到了这个问题。
IIS 8.5(Server 2012 R2)和PHP 7.0.9
当我将版本切换到PHP 5.3时,它工作正常。但是PHP 7给出了这个错误。
HTTP错误500.0 - 内部服务器错误 C:\ Program Files(x86)\ PHP \ v7.0 \ php-cgi.exe - FastCGI进程意外退出
详细错误信息:
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP_via_FastCGI
Error Code 0xc0000135
Requested URL http://localhost/index.php
Physical Path C:\inetpub\wwwroot\index.php
Logon Method Anonymous
Logon User Anonymous
其他一些链接告诉我,我缺少VC ++可再发行组件2015,所以我也尝试安装它,但它也无法安装anf给了我以下错误:
error code : 0x80240017
Log:
[079C:029C][2016-09-12T01:41:52]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
[079C:029C][2016-09-12T01:41:52]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
[079C:029C][2016-09-12T01:41:57]e000: Error 0x80240017: Failed to execute MSU package.
[08A4:0680][2016-09-12T01:41:57]e000: Error 0x80240017: Failed to configure per-machine MSU package.
[08A4:0680][2016-09-12T01:41:57]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None
[08A4:0680][2016-09-12T01:41:57]e000: Error 0x80240017: Failed to execute MSU package.
[079C:029C][2016-09-12T01:41:57]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart: None, disable resume: No
[079C:029C][2016-09-12T01:41:57]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{e46eca4f-393b-40df-9f49-076faf788d83}, resume: ARP, restart initiated: No, disable resume: No
[08A4:0680][2016-09-12T01:41:57]i399: Apply complete, result: 0x80240017, restart: None, ba requested restart: No
答案 0 :(得分:0)
请在Windows中安装Universal C Runtime的更新。 Universal C Runtime in Windows
之后尝试再次安装VC ++ ..
答案 1 :(得分:0)