Codeigniter comes with a memcached driver library, but this doesn't work for memcache (note the missing d). Anyone know how to implement memcache into codeigniter 2.1.3?
Seems like CI is only trying to use Memcached
on their driver:
system/libraries/Cache/drivers/Cache_memcached.php
Check the _setup_memcached
private function.
This 3rd party memcached library for codeigniter has served us well. If you look through the code , you can see that it is prioritising Memcache
over Memcached
when setting up the client type. You can easily switch that if you want it the other way around.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.