Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/azure/12.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
Iis 7 在IIS7上部署TestSwarm_Iis 7_Testswarm - Fatal编程技术网

Iis 7 在IIS7上部署TestSwarm

Iis 7 在IIS7上部署TestSwarm,iis-7,testswarm,Iis 7,Testswarm,有人成功了吗?我能够取得一些进展(使用PHP over FastCGI、MySql数据库和URL Rewriter 2.0 Beta版),但大部分代码都依赖于RewriteBase规则,而IIS Rewriter还不支持该规则。不用说,在服务器根目录中部署它并不是一个真正的选项…嗯,似乎只有将应用程序根目录添加到所有路径才能解决问题。以下是部署它的步骤: 通过FastCGI安装PHP。在php.ini中, 启用short\u open\u标签 将error\u reporting设置为E\u

有人成功了吗?我能够取得一些进展(使用PHP over FastCGI、MySql数据库和URL Rewriter 2.0 Beta版),但大部分代码都依赖于RewriteBase规则,而IIS Rewriter还不支持该规则。不用说,在服务器根目录中部署它并不是一个真正的选项…

嗯,似乎只有将应用程序根目录添加到所有路径才能解决问题。以下是部署它的步骤:

  • 通过FastCGI安装PHP。在php.ini中,
    • 启用
      short\u open\u标签
    • error\u reporting
      设置为
      E\u ALL&~E\u NOTICE
  • 将重写规则从.htaccess导入到URLRewiter 2.0+(目前为beta版)。
    • 删除重写基+两个条件以及第一条规则
    • 将所有其他文件重写为相对文件,而不是绝对文件(
      /index.php
      ->
      index.php
  • 在TestSwarm中修补URL
我将尝试将大部分内容作为补丁(web.config+php补丁)提交,但我对Git还是非常陌生,因此可能需要几天时间才能获得它:)