Laravel disable xcache

Laravel disable xcache

Xcache is a caching system for php.Most of the shared hosting server using xcache.If you use laravel framework for develop a php project,you need to disable xcache,otherwise it will show a blank page,with error like net chuned error.If you permanently disable xcache it will problem for your another project where you already use xcache.Or in shared hosting it will not disabled permanently only for you.So you need to disable for only your laravel project.For disable xcache go to this directory


Open that .htaccess file and put those line in .htaccess

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

So xcache will disable for only this laravel project.