I have a problem with the Laravel Cache system (I am using Laravel 4.1 ).
- On my local server , the application / storage folder , where Laravel store cache files with a resolution of 755 .
- On my production server, the same folder has the same permission
code.
- On my local server , when I cache data using the Laravel Cache Class, it works . So, if I got to the application / storage folder , I can see the created files.
- On my production server it is not .. Files are not created in the cache folder in the " application / storage ", while the session and views In the folders (present in the application / storage) the files are stored. I can confirm this because it is always inside the if statement using the method
has, even if I put mine $datasusing the putCache class method .
EDIT
'driver' => 'file',
'path' => storage_path(). DIRECTORY_SEPARATOR . 'cache',
'connection' => null,
'table' => 'cache',
'memcached' => array(
array('host' => '127.0.0.1', 'port' => 11211, 'weight' => 100),
),
'prefix' => 'laravel',
Do you have any idea what I'm doing wrong?
source
share