Memcache Installation Drupal 7

Installation
Drupal 7.x version is also found in the README.txt file from the module distribution.

For 7.x (order is important):

* Install the memcached binaries on your server.
* Install the PECL memcache extension for PHP. This must be version 2.2.1 or higher or you will experience errors.
* Put your site into offline mode.
* Download and install the memcache module.
* If you have previously been running the memcache module, run update.php.
* Start at least one instance of memcached on your server.
* Edit settings.php to make memcache the default cache class, for example:
    $conf['cache_backends'][] = 'sites/all/modules/memcache/memcache.inc';
    // The 'cache_form' bin must be assigned no non-volatile storage.
    $conf['cache_class_cache_form'] = 'DrupalDatabaseCache';
    $conf['cache_default_class'] = 'MemCacheDrupal';
    $conf['memcache_key_prefix'] = 'something_unique';
* Bring your site back online.

Tags