The default cache mode is

Error:

Error: [CacheException] Cache engine default is not properly configured. 

Defaul cache engine is a "File".

Please, help.

UPD
CakePHP verison - 2.3.6
One of the calls to Cache: config ():

 Cache::config('default', array( 'engine' => $engine, 'duration' => '+1 week', 'probability' => 100, 'path' => CACHE . 'default' . DS, 'mask' => 0666, 'lock' => true )); 
+4
source share
2 answers

Setting debugging to 2 invalidates cached files. You can also delete them manually in the / tmp / cache / application. Also, make sure your app / tmp directory is writable recursively.

0
source

I had the same problem too; I found out that php is not connected to redis yet . So you run

 sudo apt-get install php5-redis 

This will result in a connection between redis and php and make sure that the default cache is configured.

0
source

Source: https://habr.com/ru/post/1502263/


All Articles