Libmemcache is the C API for memcached, a high-performance, distributed memory object caching system.
Questions tagged [libmemcache]
63 questions
0
votes
1 answer
Memcache interesting bug - a:0:{}
The code is very simple
$mem = $this->memcache->get("memche_".$_SESSION['userid']."_page_".$page);
if(empty($mem)){
// to make another query and save the data to memcache
}
else {
// to get it from memcache
}
But right now there is no data but…

Marian Petrov
- 625
- 2
- 9
- 21
0
votes
1 answer
Memcached Message Error
I'm using caching methods to my website, first :
apache configuration:
Listen 127.0.0.1:11211
php.ini configuration
extension=php_memcache.dll
I think everything is all right, But when trying this simple caching code :
$cache=new…

SmootQ
- 2,096
- 7
- 33
- 58
0
votes
1 answer
How to turn off/on memcache in Code Igniter
I want to handle memcache functionality globally via one constant like : define('CACHE_ON',1) or define ('CACHE_ON',0).
we use load->driver function in models when fetching/saving records. Is there any function that switches on/off cache…

Salman Khimani
- 515
- 2
- 7
- 21