Setting up Cakephp & memcache
I am trying to setup memcache in Cakephp (2.5.3) on ubuntu 14.
Here’s what I have done :
1) Setup memcache (based on this https://www.digitalocean.com/community/tutorials/how-to-install-and-use-memcache-on-ubuntu-14-04 ). All is working fine (info.php, grep, service is running, etc).
2) Update cakephp ‘bootstrap.php’. Change
// Cache::config('default', array('engine' => 'File')); Cache::config('default', array('engine' => 'Memcache'));
When i load my cakephp page, this error appears :
Cache engine default is not properly configured.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×