Last active
December 20, 2015 18:59
-
-
Save crifkin/6180184 to your computer and use it in GitHub Desktop.
memcache info
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
settings.php | |
$conf['cache_backends'][] = 'sites/all/modules/contrib/memcache/memcache.inc'; | |
$conf['cache_default_class'] = 'MemCacheDrupal'; | |
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache'; | |
$conf['memcache_key_prefix'] = 'crif_dev'; | |
$conf['memcache_servers'] = array( | |
'127.0.0.1:11211' => 'default' | |
); | |
$conf['memcache_bins'] = array( | |
'cache' => 'default', | |
); | |
from phpinfo() | |
memcache support enabled | |
Version 3.0.8 | |
Revision $Revision: 329835 $ | |
Directive Local Value Master Value | |
memcache.allow_failover 1 1 | |
memcache.chunk_size 32768 32768 | |
memcache.compress_threshold 20000 20000 | |
memcache.default_port 11211 11211 | |
memcache.hash_function crc32 crc32 | |
memcache.hash_strategy consistent consistent | |
memcache.lock_timeout 15 15 | |
memcache.max_failover_attempts 20 20 | |
memcache.protocol ascii ascii | |
memcache.redundancy 1 1 | |
memcache.session_redundancy 2 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment