3
我一直在试图运行一个简单的Hello World PHP网站从IIS表达,关注此问题https://stackoverflow.com/a/7086364/744610运行PHP网站在IIS上表达
,但我一直从IIS收到错误500,并在CMD我可以看到关于fav图标的404错误。
从500错误
Detailed Error Information:
Module FastCgiModule
Notification ExecuteRequestHandler
Handler PHP-FastCGI
Error Code 0x80070002
Requested URL http://localhost:32701/index.php
Physical Path c:\myphpsite\index.php
Logon Method Anonymous
Logon User Anonymous
Request Tracing Directory C:\Users\user\Documents\IISExpress\TraceLogFiles\PHPTEST
我在物理路径仔细检查了详细的咨询无论是确实是正确的。
在CMD:
Request started: "GET" http://localhost:32701/index.php
Request ended: http://localhost:32701/index.php with HTTP status 500.0
Request started: "GET" http://localhost:32701/favicon.ico
Request ended: http://localhost:32701/favicon.ico with HTTP status 404.0
Request started: "GET" http://localhost:32701/index.php
Request ended: http://localhost:32701/index.php with HTTP status 500.0
Request started: "GET" http://localhost:32701/favicon.ico
Request ended: http://localhost:32701/favicon.ico with HTTP status 404.0
我试图f5'ing几次,因此重复。
我的index.php
<html>
<body>
<?php
echo "Hello world";
?>
</body>
</html>