The bullet numbering in README.txt looks wrong:
1. Make sure you have one of the PECL memcache packages installed.
2. Enable the memcache module.
You need to enable the module in Drupal before you can configure it to run
as the default backend. This is so Drupal knows where to find everything.
2. Edit settings.php to configure the servers, clusters and bins that memcache
is supposed to use. You do not need to set this if the only memcache backend
is localhost on port 11211. By default the main settings will be:
$settings['memcache']['servers'] = ['127.0.0.1:11211' => 'default'];
$settings['memcache']['bins'] = ['default' => 'default'];
$settings['memcache']['key_prefix'] = '';
7. Edit settings.php to make memcache the default cache class, for example:
$settings['cache']['default'] = 'cache.backend.memcache';
8. If you wish to arbitrarily send cache bins to memcache, then you can do the
following. E.g. for the cache_render bin:
$settings['cache']['bins']['render'] = 'cache.backend.memcache';
See the patch.
HTH
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | After Patch.png | 73.87 KB | zalak.addweb |
| #4 | Before Patch.png | 76.25 KB | zalak.addweb |
| #2 | 2908413.patch | 1.3 KB | yas |
Comments
Comment #2
yasComment #3
bertonha commentedComment #4
zalak.addweb commented@yas, Thanks for catching this issue. It works well for me. PFA
Comment #5
idebr commentedThis change is included in #2934916: Update README , so I'll close this issue as a duplicate. Requested @yas and @Disha.addweb to be credited in the related issue.