Gaurav Bakshi
Gaurav Bakshi

Reputation: 430

Laravel 5.2 ERR_EMPTY_RESPONSE

Hosted Laravel 5.2 app on centos server. It works fine. But all of sudden (randomly) "ERR_EMPTY_RESPONSE" error starts, After this each page of Application shows the same error.

However if you open same URL on different browser / Machine it works perfectly, but in that particular browser it does not load. Wait for 20 , 30 mins and try reloading page, it again works.

I have changed permission of vendor, public & storage folders in laravel5.2 directory.

Seems like cache issue to me. If anyone has similar issues please help.

Tried checking ngnix access /error logs, nothing found there as well. :(

Same URL works fine in Incogito mode.

Thanx in Advance.

Upvotes: 0

Views: 2050

Answers (1)

riaz hasan
riaz hasan

Reputation: 1155

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.

Upvotes: 1

Related Questions