TECHIES WORLD

For Techs.... Techniques.... Technologies....

ApacheAWSCpanelLinuxPHP

Laravel Error: The connection was reset

Laravel Error: The connection was reset

This problem usually happens on older versions of Laravel and its because of php caching incompatibility.

We can resolve this problem by disabling the php caching.

If the php is configured with opcache, add the following lines to the .htaccess file for disabling the caching.

php_flag opcache.enable Off

If the php is configured with XCache, add the following lines to the .htaccess file for disabling the caching.

php_flag xcache.cacher Off
php_flag xcache.size 0
php_flag xcache.stat Off

That's all…

Leave a Reply