2016-04-14 86 views
1

這不應該花很長時間,但我有Windows Server 2012/R2並且在IIS8上安裝了PHP管理器。儘管FastCGI和MySQL是IIS,但IIS並沒有運行IIS Windows Server 2012

我試着打了簡單的「本地主機/ 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後。

The program can't start because MSVCR110.dll is missing from your computer

我已確保該DLL是在兩個System32SYSWOW64文件夾。

儘管如此,PHP並沒有像IIS8那樣運行。

我只是想運行Concrete5。我之前能夠在另一臺Win2012服務器上做到這一點,但我忘記了如何和該服務器已經走了....需要複製程序文檔....虛擬我!

任何援助將不勝感激...

UPDATE:雖然試圖從我的本地機器或服務器內部打我的服務器;現在我得到這樣的:

**HTTP Error 500.0 - Internal Server Error 
C:\Program Files (x86)\PHP\v5.6\php-cgi.exe - The FastCGI process exited unexpectedly** 

更新2:馬克的問題:這是我得到:

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 

ALSO:這裏是基本設置對話框:

enter image description here

OF NOTE:D:\inetpub\wwwroot已向IIS註冊,因爲D:驅動器在我的服務器上已超過800 GB和C:驅動器只剩下25GB ... 1and1不根據需要對驅動器進行分區。需要得到Aome的服務器從D:空間移動到C:,除非有人有「免費」開源方式...


MARC更新!馬克,謝謝,我檢查並重新安裝了它們。兩個在「正確的」文件夾中... SYSWOW64中的32位和System32中的64位...是的,有點奇怪。

我再次測試了這個文件........... WALA !!!! FRIGGIN'EH !!!!你達人!!!!了不起的傢伙!

看一看,先生! Woo Hoo !!!

enter image description here

+1

如果您嘗試訪問以下URL,會發生什麼情況:'localhost/ccretebase/phpinfo.php'? –

+0

請參閱UPDATE 2下的注意問題:Marc。謝謝... –

+0

你有'system32'和'SysWOW64'文件夾下的完全相同的DLL文件嗎? (提示:以字節檢查它的大小) –

回答

0

您的評論說,msvcr100的大小。dll文件在System32SysWOW64文件夾下都是相同的。

這是你的問題。 System32文件夾應該包含64位DLL,並且SysWOW64文件夾應該包含32位DLL(是的,可能有點混淆)。它們在尺寸上有所不同;在我的系統(Windows 10)上,它們分別是809KB和755KB。我建議重新安裝這兩個Visual C++軟件包。

+1

MARC !!!謝謝! –

+0

@彼得很高興我幫助,交配。 –

相關問題