Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/270.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/jenkins/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php CGI站点没有';t从IIS开始_Php_Iis_Server - Fatal编程技术网

Php CGI站点没有';t从IIS开始

Php CGI站点没有';t从IIS开始,php,iis,server,Php,Iis,Server,在IIS上启动PHP项目时遇到问题。阅读如何设置php的说明,一切都很好,但最后一步-网站不会启动。 我有C:\inetpub\wwwroot\PHPSites\index.php web.config是在PHPSites中自动创建的,以便IIS可以连接到该文件夹。 网站已添加到inetmgr.exe中。其他(.NET)项目启动得很好,但当我打开时,会发现ERR_NAME_NOT_RESOLVED您使用的URL显然无效。您必须了解什么是IIS站点及其绑定。@LexLi,这意味着IIS的“查看站点

在IIS上启动PHP项目时遇到问题。阅读如何设置php的说明,一切都很好,但最后一步-网站不会启动。 我有C:\inetpub\wwwroot\PHPSites\index.php web.config是在PHPSites中自动创建的,以便IIS可以连接到该文件夹。
网站已添加到inetmgr.exe中。其他(.NET)项目启动得很好,但当我打开时,会发现ERR_NAME_NOT_RESOLVED

您使用的URL显然无效。您必须了解什么是IIS站点及其绑定。@LexLi,这意味着IIS的“查看站点”按钮不能正常工作?它将打开该URL。我应该打开什么URL?您填写了无效的phpsites值作为主机名,希望IIS为您更正该值?不,没有什么比这更聪明的了。@LexLi你能回答得更具体些吗?视图url必须具有什么内容?说明中指定了文件夹的名称(我知道它是随机的)和我打开的url。您使用的url显然无效。您必须了解什么是IIS站点及其绑定。@LexLi,这意味着IIS的“查看站点”按钮不能正常工作?它将打开该URL。我应该打开什么URL?您填写了无效的phpsites值作为主机名,希望IIS为您更正该值?不,没有什么比这更聪明的了。@LexLi你能回答得更具体些吗?视图url必须具有什么内容?说明中指定了文件夹的名称(我知道它是随机的)和我打开的url。