Title: MemcacheD Is Your Friend
Author: Jeffrey Schutzman
Published: <strong>March 30, 2015</strong>
Last modified: March 30, 2015

---

Search plugins

![](https://ps.w.org/memcached-is-your-friend/assets/banner-772x250.png?rev=1123742)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/memcached-is-your-friend_ffffff.svg)

# MemcacheD Is Your Friend

 By [Jeffrey Schutzman](https://profiles.wordpress.org/jeffpyebrookcom/)

[Download](https://downloads.wordpress.org/plugin/memcached-is-your-friend.zip)

 * [Details](https://en-ca.wordpress.org/plugins/memcached-is-your-friend/#description)
 * [Reviews](https://en-ca.wordpress.org/plugins/memcached-is-your-friend/#reviews)
 *  [Installation](https://en-ca.wordpress.org/plugins/memcached-is-your-friend/#installation)
 * [Development](https://en-ca.wordpress.org/plugins/memcached-is-your-friend/#developers)

 [Support](https://wordpress.org/support/plugin/memcached-is-your-friend/)

## Description

Memcached Object Cache provides a persistent backend for the WordPress object cache.
A memcached server and either the
 the PECL Memcached or PECL Memcache extension
and class are required. Detects either the PECL Memecache or PECL Memcached (Memcached
preferred) class and uses the appropriate interface. That means you don’t need to
figure out which PHP class is available in your installation, the plugin will detect
the proper configuration.

This plugin does not require manual copying of files between directories for installation,
and it doesn’t require the installer
 to differentiate between the memcache and 
memcached PECL extensions if they know their host makes once available.

Also, because this plugin autodetects the PECL extension available, for those that
develop on Windows where the
 PECL Memcached extension is not generally available,
you can maintain a common configuration with your Linux host where that extension
is common.

Plugin creates a dashboard menu option under “Tools” where you can view your memcached
statistics.

Plugin is based laregly on previous works by Matt Martz, Ryan Boren (https://wordpress.
org/plugins/memcached/) and
 Scott Taylor, Ryan Boren, Matt Martz, Mike Schroder(
https://wordpress.org/plugins/memcached-redux/ )

## Installation

 1. If not already available, install [memcached](http://danga.com/memcached) on at
    least one server. Note the connection info. The default is `127.0.0.1:11211`.
 2. If not already available on your host, install the [PECL extension](http://pecl.
    php.net/package/memcached or http://pecl.php.net/package/memcached)
 3. Activate the plugin

## FAQ

  How can I manually specify the memcached server(s)?

Add something similar to the following to wp-config.php above `/* That's all, stop
editing! Happy blogging. */`:

    ```
    $memcached_servers = array(
        'default' => array(
            '127.0.0.1:11211',
            '10.10.10.30:11211'
        )
    );
    ```

## Reviews

![](https://secure.gravatar.com/avatar/7bd98fc12d81349aa9a5805d81a6a1fea8ee27ad20b5120e68961df815bf3ed8?
s=60&d=retro&r=g)

### 󠀁[Creation of dynamic property WP_Object_Cache::$cache_misses is deprecated](https://wordpress.org/support/topic/creation-of-dynamic-property-wp_object_cachecache_misses-is-deprecated/)󠁿

 [xu wu](https://profiles.wordpress.org/wuxu/) August 19, 2024

Creation of dynamic property WP_Object_Cache::$cache_misses is deprecated wp-content/
plugins/memcached-is-your-friend/memcached-class-object-cache.php:486 PHP website
reference: Usage of dynamic properties The creation of dynamic properties is deprecated,
unless the class opts in by using the #[\AllowDynamicProperties] attribute. stdClass
allows dynamic properties. Usage of the __get()/__set() magic methods is not affected
by this change. A dynamic properties deprecation warning can be addressed by: Declaring
the property (preferred). Adding the #[\AllowDynamicProperties] attribute to the
class (which also applies to all child classes). Using aWeakMapif additional data
needs to be associated with an object which one does not own.

![](https://secure.gravatar.com/avatar/e00b72164321434170f6a0c62a5062b50fe47ec605a92162d25137a1fd973c7a?
s=60&d=retro&r=g)

### 󠀁[Officially dead](https://wordpress.org/support/topic/officially-dead/)󠁿

 [Smexhy](https://profiles.wordpress.org/smexhy/) July 16, 2024

Plugin is throwing fatal errors on PHP 8+ and WP 6.5.5

![](https://secure.gravatar.com/avatar/8c14652f5447eb9eb52c8e8f5e1155016e228c0143ee56cb7e5ec43849346d7b?
s=60&d=retro&r=g)

### 󠀁[Works like charm on WP 6.3.1](https://wordpress.org/support/topic/works-like-charm-on-wp-6-3-1/)󠁿

 [alonelypath](https://profiles.wordpress.org/alonelypath/) October 8, 2023

Just what I needed.

![](https://secure.gravatar.com/avatar/091da50764d6ed65999718df56f4893754c5955f2d2138b64c36b3d31501692c?
s=60&d=retro&r=g)

### 󠀁[Still works](https://wordpress.org/support/topic/still-works-171/)󠁿

 [Andrea](https://profiles.wordpress.org/aneises/) January 3, 2020

With PHP 7.3, WP 5.3.2 🙂

![](https://secure.gravatar.com/avatar/7d3531f5066e92236ced40a275d51209ce7b9239f7b536d31ad011ac487673d3?
s=60&d=retro&r=g)

### 󠀁[Install and work](https://wordpress.org/support/topic/install-and-work/)󠁿

 [error500ru](https://profiles.wordpress.org/error500ru/) September 5, 2019 1 reply

I'm install, activate and it`s work (wp 5.2.2)

![](https://secure.gravatar.com/avatar/6748096252a4aafe3f38ecb5bd2d987759c693d4ba2e235431513e16a94e3037?
s=60&d=retro&r=g)

### 󠀁[Brillant — easy!](https://wordpress.org/support/topic/brillant-easy/)󠁿

 [JJNW](https://profiles.wordpress.org/jjnw/) February 7, 2017

A really, really easy install. And to ensure it's working, just look under Tool 
> Memcached and see statistics. Thanks!

 [ Read all 8 reviews ](https://wordpress.org/support/plugin/memcached-is-your-friend/reviews/)

## Contributors & Developers

“MemcacheD Is Your Friend” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Jeffrey Schutzman ](https://profiles.wordpress.org/jeffpyebrookcom/)

[Translate “MemcacheD Is Your Friend” into your language.](https://translate.wordpress.org/projects/wp-plugins/memcached-is-your-friend)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/memcached-is-your-friend/),
check out the [SVN repository](https://plugins.svn.wordpress.org/memcached-is-your-friend/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/memcached-is-your-friend/)
by [RSS](https://plugins.trac.wordpress.org/log/memcached-is-your-friend/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.0.0

 * Initial release public based on previous works

## Meta

 *  Version **2.0.0**
 *  Last updated: **12 years ago**
 *  Active installations: **1,000+**
 *  WordPress Version: ** 3.0 or higher **
 *  Tested up to: **4.1.42**
 *  Language
 * [English (US)](https://wordpress.org/plugins/memcached-is-your-friend/)
 * Tags:
 * [cache](https://en-ca.wordpress.org/plugins/tags/cache/)[memcache](https://en-ca.wordpress.org/plugins/tags/memcache/)
   [memcached](https://en-ca.wordpress.org/plugins/tags/memcached/)
 *  [Advanced View](https://en-ca.wordpress.org/plugins/memcached-is-your-friend/advanced/)

## Ratings

 4.5 out of 5 stars.

 *  [  7 5-star reviews     ](https://wordpress.org/support/plugin/memcached-is-your-friend/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/memcached-is-your-friend/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/memcached-is-your-friend/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/memcached-is-your-friend/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/memcached-is-your-friend/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/memcached-is-your-friend/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/memcached-is-your-friend/reviews/)

## Contributors

 *   [ Jeffrey Schutzman ](https://profiles.wordpress.org/jeffpyebrookcom/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/memcached-is-your-friend/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.pyebrook.com)