当我试图在IIS上托管一个PHP网站时,我遇到了这个问题。
IIS8.5(服务器2012 R2)和PHP7.0.9
当我切换到PHP5.3版本时,它可以正常工作。但是PHP 7给出了这个错误。
HTTP错误500.0 -内部服务器错误C:\程序文件(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年可再发行版,所以我也尝试过安装它,但是它也没有安装,并且给了我以下错误:
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
发布于 2016-09-12 12:28:57
发布于 2016-09-12 08:59:50
请在Windows中安装通用C运行时的更新。Windows中的通用C运行时
然后再试着安装VC++。
https://stackoverflow.com/questions/39446467
复制相似问题