Ludachris
Well-known member
I need to get this figured out and quit guessing on the config. I'm running XF 1.5 and PHP 5.6.36. I'm attempting to use a combination of Memcached and OPcache. Here is my config file:
The host says Memcached doesn't appear that it's being used, though it's installed. I've asked them to check to make sure it's the PHP extension. The phpinfo file says memcache version 2.2.7 is installed.
What do I need to do to fix it and get cache working?
Code:
$config['cache']['enabled'] = true;
$config['cache']['frontend'] = 'Core';
$config['cache']['frontendOptions']['cache_id_prefix'] = 'xf_';
$config['cache']['backend'] = 'Memcached';
$config['cache']['backendOptions'] = array(
'compression' => false,
'servers' => array(
array(
// your memcached server IP /address
'host' => 'localhost',
// memcached port
'port' => 11211,
)
)
);
What do I need to do to fix it and get cache working?