Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/262.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/codeigniter/3.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
IIS7 FASTCGI PHP CODEIGNITER Windows 500内部错误_Php_Codeigniter_Iis 7_Fastcgi - Fatal编程技术网

IIS7 FASTCGI PHP CODEIGNITER Windows 500内部错误

IIS7 FASTCGI PHP CODEIGNITER Windows 500内部错误,php,codeigniter,iis-7,fastcgi,Php,Codeigniter,Iis 7,Fastcgi,首先,该web项目在linux服务器上运行良好 我正试图在windows server 2008上运行我的web codeigniter项目,IIS7.5配置了PHP5.3/FASTCGI 当我将项目放入wwwroot/project1后运行该项目时 它不起作用。它给出一个500内部服务器错误: Module: FastCgiModule Notification: ExecuteRequestHandler Hander: PHP_via_FastCGI Error Code: 0x00000

首先,该web项目在linux服务器上运行良好

我正试图在windows server 2008上运行我的web codeigniter项目,IIS7.5配置了PHP5.3/FASTCGI

当我将项目放入wwwroot/project1后运行该项目时

它不起作用。它给出一个500内部服务器错误:

Module: FastCgiModule Notification: ExecuteRequestHandler Hander: PHP_via_FastCGI Error Code: 0x000000000 模块:FastCgiModule 通知:ExecuteRequestHandler Hander:PHP\u via\u FastCGI 错误代码:0x000000000 我检查了project1上的权限设置,它确实有iisusr

.php工作得非常好 尽管如此,phpinfo.php仍然可以工作

我编写了一个简单的mysql_connect.php脚本,效果非常好

这只是因为CI项目不起作用

要使CI项目在IIS/FastCGI上工作,IIS上需要任何特殊设置吗? 此外,我没有任何.htaccess文件,不知道为什么它不工作。。。有什么建议吗


与url重写或其他什么有关吗?

我的服务器管理员用PHP5.2重新安装了IIS

现在我们有一个不同的错误,但至少这是更有用的

is_dir(): open_basedir restriction in effect. File(application) is not within the allowed path(s): (C:\inetpub\wwwroot) in is_dir():有效的open_basedir限制。文件(应用程序)不在中允许的路径(C:\inetpub\wwwroot)内
IIS上的CI需要什么权限设置?

PHP登录错误?如果是,请检查其中是否有错误。否则这是一个IIS问题。看起来不像是php错误。。我想是IIS7/FastCGI的CI问题。新问题应该作为新问题提出,而不是作为原始问题的答案。您还应该标记您重新安装了IIS并修复了它,作为问题的答案。最后,这里关于open_basedir的问题可以通过检查PHP.ini并适当配置来解决。从文件权限的意义上讲,这不是权限错误。