2016-04-14 82 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

@彼得很高兴我帮助,交配。 –

相关问题