Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Laravel Project ERR_EMPTY_RESPONSE

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.enter image description here

like image 830
Bipul Khan Avatar asked Feb 15 '17 11:02

Bipul Khan


2 Answers

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.

like image 69
riaz hasan Avatar answered Nov 18 '22 12:11

riaz hasan


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
like image 31
Mark Khor Avatar answered Nov 18 '22 11:11

Mark Khor