Yo lo probé sin memcache y no funcionaba. No busqué más, simplemente configuré memcached y empezó a funcionar.
Por cierto, tuve que parchear un poco el código de www/libs/utils.php con esto (solo se modifican 3 líneas):
www/libs/utils.php
@@ -837,11 +832,12 @@
function memcache_minit () {
global $memcache, $globals;
if ($memcache) return true;
if ($globals['memcache_host']) {
- $memcache = new Memcache;
+ $memcache = new Memcached;
if (!isset($globals['memcache_port'])) $globals['memcache_port'] = 11211;
- if ( ! @$memcache->connect($globals['memcache_host'], $globals['memcache_port']) ) {
+ if ( ! $memcache->addServer($globals['memcache_host'], $globals['memcache_port']) ) {
syslog(LOG_INFO, "Meneame: memcache init failed " . $globals['memcache_host']);
$memcache = false;
return false;
@@ -863,11 +856,11 @@
global $memcache, $globals;
// Check for memcache
- if (memcache_minit()) return $memcache->set($key, $value, 0, $expire);
+ if (memcache_minit()) return $memcache->set($key, $value, $expire);
return false;
}
¿A tí te funcionó "tal cual"? No entiendo por qué me funciona usando la clase "memcached" y no con la "memcache" (tampoco soy ningún experto en php...)
Saludos!