我收到这个错误
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
在我的 PHP 函数中,如果我不执行 aecho后跟 a flush()。在我必须执行echoand的这些函数中flush(),我使用shell_exec()来运行phantomjs和处理它返回的结果simple_html_dom。我还使用了一个名为 Laravel 的 PHP 框架。
是什么导致了这个错误,为什么echoing 和做一个flush()修复这个错误?