[英]PHP is not running on IIS Windows Server 2012 although FastCGI is and MySQL is
這應該不會花很長時間,但我有Windows Server 2012 / R2並且在IIS8上安裝了PHP Manager。
我嘗試點擊簡單的“localhost / phpinfo.php”,我得到以下內容:
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
Most likely causes:
The directory or file specified does not exist on the Web server.
The URL contains a typographical error.
A custom filter or module, such as URLScan, restricts access to the file.
Things you can try:
Create the content on the Web server.
Review the browser URL.
Create a tracing rule to track failed requests for this HTTP status code and see which module is calling SetStatus. For more information about creating a tracing rule for failed requests, click here.
Detailed Error Information:
Module IIS Web Core
Notification MapRequestHandler
Handler PHP56_via_FastCGI
Error Code 0x80070002
Requested URL http://localhost:80/phpinfo.php
Physical Path D:\inetpub\wwwroot\ccretebase\phpinfo.php
Logon Method Anonymous
Logon User Anonymous
所以我查了一下錯誤代碼並沒有用,沒有什么適用於我的情況。
http://forums.iis.net/t/1166213.aspx?The+FastCGI+executable+Error+Number+2+0x80070002+
我已經通過選擇vcredist_x64.exe安裝MSVCR110.dll正確版本的我試過vcredist_x64.exe后。
我確保DLL在System32
和SYSWOW64
文件夾中。
盡管如此,PHP並沒有像IIS8那樣在IIS8下運行。
我只是想運行Concrete5。 我之前能夠在另一台Win2012服務器上做到這一點,但我忘了怎么樣,服務器已經不見了......需要復制程序文檔....假的我!
任何幫助將不勝感激......
更新:嘗試從本地計算機或從內部到服務器HIT我的服務器; 我現在明白了:
**HTTP Error 500.0 - Internal Server Error
C:\Program Files (x86)\PHP\v5.6\php-cgi.exe - The FastCGI process exited unexpectedly**
更新2:Marc的問題:這就是我得到的:
Detailed Error Information:
Module IIS Web Core
Notification MapRequestHandler
Handler PHP56_via_FastCGI
Error Code 0x80070002
Requested URL http://localhost:80/ccretebase/phpinfo.php
Physical Path D:\inetpub\wwwroot\ccretebase\ccretebase\phpinfo.php
Logon Method Anonymous
Logon User Anonymous
另外:這是基本設置對話框:
注意: D:\\inetpub\\wwwroot
在IIS注冊,因為我的服務器上的D:
驅動器剛剛超過800GB而C:
驅動器只剩下不到25GB ...... 1and1不會根據需要對驅動器進行分區。 需要讓Aome for Servers將空間從D:
移動到C:
,除非任何人都有“免費”開源方式......
MARC UPDATE !!! 馬克,謝謝,我檢查並重新安裝它們。 兩者都在“正確的”文件夾中... SYSWOW64
32位和System32
64位...是的, SYSWOW64
。
我再次測試了文件........... WALA !!!! FRIGGIN'EY !!!! 你大滿!!!! 了不起的家伙!
看看,先生!!!! 嗚嗚!!!
您在評論中說,msvcr100.dll文件的大小在System32
和SysWOW64
文件夾下都是相同的。
這是你的問題。 System32
文件夾應包含64位DLL,並且SysWOW64
文件夾應包含32位DLL(是的,可能有點令人困惑)。 他們在規模上略有不同; 在我的系統(Windows 10)上,它們分別是809KB和755KB。 我建議重新安裝兩個Visual C ++包。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.