![]() NOTE: As of 6.15, it is possible to efficiently run memcache in one daemon, shared by all bins. $conf = 'something_unique' įor instructions on 1 and 2 above, please see the INSTALLATION.txt file that comes with the memcache module download. The 'cache_form' bin must be assigned no non-volatile storage. $conf = 'sites/all/modules/memcache/memcache.inc' This must be version 2.2.1 or higher or you will experience errors.Įdit settings.php to make memcache the default cache class, for example: Install the PECL memcache extension for PHP. Alternative instructions for installing & configuring memcached on Ubuntu, including package php5-memcache How to install Memcache on Ubuntu (this link also provides instructions for installing the PHP memcache extension and configuring the Drupal settings.php file).For example, $conf ='sites/all/modules/memcache/memcache.inc' (see code snippet below)Įdit settings.php to include memcache.inc. Start at least one instance of memcached on your server.Įdit settings.php to configure the servers, clusters and bins that memcache is supposed to use. If you have previously been running the memcache module, run update.php. In php.ini set memcache.hash_strategy="consistent".ĭownload and install the memcache module. ![]() How to install Memcache Fedora / CentOS / RHEL.Install the memcached binaries on your server. These are the broad steps you need to take in order to use this software on Drupal 6.x.Information pertaining to the Drupal 7.x version is also found in the README.txt file from the module distribution.
0 Comments
Leave a Reply. |