2

我将CodeceptionLaravel 4一起使用。特别是我正在尝试使用远程代码覆盖,以便我可以在代码覆盖结果中包含验收测试。

配置了带有 remote_enable 的 XDebug,并安装了c3.php并将其包含在“public/index.php”中。

在 Windows 上,一切都按预期工作。但是在 Ubuntu 12.04 LTS(使用 PHP5.4)上,我得到了这个异常:

 [ErrorException] file_get_contents(http://localhost/c3/report/clear): 
 failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error

我究竟做错了什么?

4

1 回答 1

1

这很容易解决。包含 index.php 中的 c3.php 时路径出错。Apache 错误日志清楚地说明了这一点。

于 2013-09-26T14:08:19.710 回答