Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The README.txt shows this as an example:
$conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
$conf['cache_default_class'] = 'MemCacheDrupal';
// The 'cache_form' bin must be assigned no non-volatile storage.
$conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
$conf = array(
'cache_default_class' = 'MemCacheDrupal',
'memcache_servers' => array('localhost:11211' => 'default',
'localhost:11212' => 'default',
'123.45.67.890:11211' => 'default',
'123.45.67.891:11211' => 'cluster2',
'123.45.67.892:11211' => 'cluster2'),
'memcache_bins' => array('cache' => 'default',
'cache_filter' => 'cluster2',
'cache_menu' => 'cluster2'),
);
this has first a syntax error and then also it is wrong, because the $conf variable is overwritten, the $conf variable contains this:
Array
(
[cache_default_class] => MemCacheDrupal
[memcache_servers] => Array
(
[localhost:11211] => default
[localhost:11212] => default
[123.45.67.890:11211] => default
[123.45.67.891:11211] => cluster2
[123.45.67.892:11211] => cluster2
)
[memcache_bins] => Array
(
[cache] => default
[cache_filter] => cluster2
[cache_menu] => cluster2
)
)
so the most important things are missing.
Comment | File | Size | Author |
---|---|---|---|
#1 | fixxing_readme-1459408-1.patch | 4.21 KB | Schnitzel |
Comments
Comment #1
Schnitzel CreditAttribution: Schnitzel commentedthe attached patch fixxes this, also it adds an explanation how to use the locking features.
Comment #2
Jeremy CreditAttribution: Jeremy commentedREADME.txt has been hugely rewritten and improved over the past year.