memcached

Linux Memcached daemon, PHP PECL, Drupal Memcache & localized UNIX sockets

This information enhances the documentation for the Drupal Memcache module. Currently only the PECL Memcache extension can be used for sockets. PECL Memcached support is the subject of #1690130: Memcache fails to connect when using Unix sockets and PECL Memcached. The Drupal configuration on this page is for Drupal 6, while the other information below is Drupal version agnostic. For Drupal 7 sites on Ubuntu 12.04 you may want to see this post.

Quick install of the Memcache daemon for the modern versions of some common Linux Distributions:

# Debian / Ubuntu:
sudo apt-get install memcached
# Fedora / CentOS / RHEL
sudo yum install memcached

If you have PEAR installed and up to date, you can install the PECL Memcache extension as follows:

# For the stable 2.2.x branch
sudo pecl install memcache
# For the beta, though functional, 3.0.x branch
sudo pecl install memcache-beta

PECL Memcache may also be installed with your distributions package manager, but it is usually out of date.

Read more
Subscribe with RSS Syndicate content