2016-09-12 67 views
1

我在嘗試在IIS上託管PHP網站時遇到此問題。FastCGI進程在Windows Server 2012 R2上意外退出使用php 7.0.9 x64

IIS 8.5(服務器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

你的主要問題是什麼?安裝VC++或訪問PHP網站? –

+0

@PramodTiwari訪問PHP網站 – JustAProgrammer

回答

0

請安裝更新通用C運行在Windows .. Universal C Runtime in Windows


之後嘗試安裝VC++再次..

+0

MSU文件生成以下錯誤: [窗口標題] Windows更新獨立安裝程序 [主要介紹] Windows更新獨立安裝程序 [內容] 此更新不適用於您的計算機。 – JustAProgrammer

+0

我已經使用[wmic qfe list]命令更新進行了檢查:KB2999226已經存在於我的系統中。 – JustAProgrammer

相關問題