Closed (fixed)
Project:
Alternative PHP Cache
Version:
7.x-1.0-beta4
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2012 at 02:08 UTC
Updated:
1 Aug 2013 at 08:41 UTC
Is it possible to have both apc and memcahed? what is the proper settings to use both?
t
Comments
Comment #1
ggear commentedTry this in your settings.php
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
$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/drupal_apc_cache.inc';
$conf['cache_class_cache'] = 'DrupalAPCCache';
$conf['cache_class_cache_bootstrap'] = 'DrupalAPCCache';
$conf['apc_show_debug'] = TRUE; // Remove the slashes to use debug mode.
Comment #2
R.Muilwijk commentedYou would proberly not want debug to be TRUE.