Is it possible to have both apc and memcahed? what is the proper settings to use both?


ggear’s picture

Try this in your settings.php

$conf['cache_backends'][] = 'sites/all/modules/memcache/';
$conf['cache_default_class'] = 'MemCacheDrupal';
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
$conf['memcache_key_prefix'] = 'SOME_PREFIX';

* Add APC Caching.
$conf['cache_backends'][] = 'sites/all/modules/apc/';
$conf['cache_class_cache'] = 'DrupalAPCCache';
$conf['cache_class_cache_bootstrap'] = 'DrupalAPCCache';
$conf['apc_show_debug'] = TRUE; // Remove the slashes to use debug mode.

R.Muilwijk’s picture

Status:Active» Fixed

You would proberly not want debug to be TRUE.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.