Laravel项目ERR_EMPTY_RESPONSE [英] Laravel Project ERR_EMPTY_RESPONSE
问题描述
我在托管Laravel应用程序项目的服务器上面临着一个非常关键的问题,那里还托管了其他一些项目.有时我在浏览器上看到"ERR_EMPTY_RESPONSE"错误.但同时其他项目也能正常工作.如果我重新启动该项目的服务"httpd",它将再次开始工作.我试图采用从Internet获得的所有解决方案.但是没有运气.
I am facing a very critical issue on server where i hosted a Laravel application project.I have some other projects hosted there. Some times I see "ERR_EMPTY_RESPONSE" error on browser. But at the same time other Project working well.If i restart the service "httpd" of that project it starts working again. I tried to go every solution i got from internet.but no luck.
推荐答案
请尝试在您的项目中.htaccess文件顶部添加此行
Please make a try adding this line at the top of .htaccess file in ur project
php_flag opcache.enable关闭
php_flag opcache.enable Off
希望它对您有用.
这篇关于Laravel项目ERR_EMPTY_RESPONSE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!