Laravel Project ERR_EMPTY_RESPONSE

一曲冷凌霜 提交于 2020-08-06 10:19:33

问题


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.


回答1:


Please make a try adding this line at the top of .htaccess file in ur project

php_flag opcache.enable Off

hope it works for you.




回答2:


Try add following code at the 1st line in .htaccess file

php_flag opcache.enable Off

And increase memory in your php.ini

memory_limit = 1024M


来源:https://stackoverflow.com/questions/42248306/laravel-project-err-empty-response

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!