Marcus
Well-known member
Do I have to add more files from the ZEND framework in order to activate memcache?
config.php
Code:
An exception occurred: The memcache extension must be loaded for using this backend ! in /var/domain.com/library/Zend/Cache.php on line 209
Zend_Cache::throwException() in Zend/Cache/Backend/Memcached.php at line 123
Zend_Cache_Backend_Memcached->__construct() in Zend/Cache.php at line 153
Zend_Cache::_makeBackend() in Zend/Cache.php at line 94
Zend_Cache::factory() in XenForo/Application.php at line 587
XenForo_Application->loadCache()
call_user_func_array() in XenForo/Application.php at line 780
XenForo_Application->lazyLoad() in XenForo/Application.php at line 810
XenForo_Application::get() in XenForo/Application.php at line 1130
XenForo_Application::getCache() in XenForo/Model.php at line 146
XenForo_Model->_getCache() in XenForo/Model/DataRegistry.php at line 81
XenForo_Model_DataRegistry->getMulti() in XenForo/Dependencies/Abstract.php at line 134
XenForo_Dependencies_Abstract->preLoadData() in XenForo/FrontController.php at line 125
XenForo_FrontController->run() in /domain.com/index.php at line 13
Code:
#netstat -tap | grep memcached
tcp 0 0 *:memcache *:* LISTEN 12908/memcached
tcp 0 0 *:memcache *:* LISTEN 12908/memcached
Code:
(...)
$config['cache']['backend'] = 'Memcached';
$config['cache']['backendOptions'] = array(
'compression' => false,
'servers' => array(
array(
// your memcached server IP /address
'host' => 'localhost',
// memcached port
'port' => 12908,
)
)
);