Another issue we're having is that APC seems to reset every 2 hours. Is there anyway XenForo can cause this or should I get our server admins to look at the webserver settings?
Is that correct? Can I have both APC and memcached like that?
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions'] = array('caching' => true,
'automatic_serialization' => true,
'lifetime' => 1800,
'cache_id_prefix' => 'xf_'
);
$config['cache']['backend'] = 'Memcached';
$config['cache']['backendOptions'] = array(
'servers' =>array(
array(
'host' => '127.0.0.1', // your memcached server ip /address
'port' => 11211 // memcached port
)
),
'compression' => false
);
$config['cache']['cacheSessions'] = true;
Not sure if you have the 'enabled' line in your config file (I presume you've snipped out the top part to keep it private?).
I took the info from http://xenforo.com/community/threads/tip-use-apc.6456/#post-93411 and this doesn't include the 'enabled' line...?
We use essential cookies to make this site work, and optional cookies to enhance your experience.