Hi guys,
I am trying to setup memcache in Cakephp (2.5.3) on ubuntu 14.
Here’s what I have done :
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).
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.
I tried to change it to ‘memcached’ in bootstrap.php
Error :
After that, I update core.php with this configuration below but got a fatal error.
Error :
Are there any settings in core.php ?
Try using the “Memcached” engine instead: