Title: Memcached Cloud
Author: Redis Labs
Published: <strong>July 2, 2014</strong>
Last modified: July 7, 2014

---

Search plugins

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-cloud.svg)

# Memcached Cloud

 By [Redis Labs](https://profiles.wordpress.org/redis-labs/)

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

 * [Details](https://wordpress.org/plugins/memcached-cloud/#description)
 * [Reviews](https://wordpress.org/plugins/memcached-cloud/#reviews)
 *  [Installation](https://wordpress.org/plugins/memcached-cloud/#installation)
 * [Development](https://wordpress.org/plugins/memcached-cloud/#developers)

 [Support](https://wordpress.org/support/plugin/memcached-cloud/)

## Description

Changed the [wordpress-memcached-backend](https://github.com/tollmanz/wordpress-memcached-backend)
backend to use [Memcached ver. 2.2.0 PECL package](http://pecl.php.net/package/memcached)
with SASL authentication support, to implement WP Object Cache.

Inehernt support for [Memcached Cloud](http://redislabs.com/memcached-cloud) on 
Heroku and AppFog- just add the Memcached Cloud add-on.

### Credits

We used the [wordpress-memcached-backend](https://github.com/tollmanz/wordpress-memcached-backend),
so all credit goes to Zack Tollman.

### Examples

1.

    ```
    wp_cache_set('key', 'val');  
    wp_cache_get('key');
    ```

2.

    ```
    wp_cache_set_multi ( 
        array ( 'key1' => 'val1', 'key2' => 'val2', 'key3' => 'val3' ), 
        'group1' 
    );  

    wp_cache_get_multi ( 
        array ( 'key1', 'key2' ), 
        'group1' 
    );
    ```

## Installation

 1. Make sure you have [libmemcached](http://libmemcached.org/libMemcached.html) installed,
    built with SASL. See the [Memcached Requirements](http://il1.php.net/manual/en/memcached.requirements.php).
 2. Install the [Memcached ver. 2.2.0 PECL package](http://il1.php.net/manual/en/memcached.installation.php).
 3. Define the Memcached servers and SASL credentials in your wp-config.php, as follows:
 4.     ```
        global $memcached_servers;
        $memcached_servers = array( array( 'host', port ) );
    
        global $memcached_username;
        $memcached_username = 'sasl_username';
    
        global $memcached_password;
        $memcached_password = 'sasl_password';
        ```
    

**Note:** If running on Heroku or AppFog, just install the Memcached Cloud add-on
and your conifguration environment variables will be set.

 1. Move object-cache.php to wp-content/object-cache.php

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Memcached Cloud” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Redis Labs ](https://profiles.wordpress.org/redis-labs/)

[Translate “Memcached Cloud” into your language.](https://translate.wordpress.org/projects/wp-plugins/memcached-cloud)

### Interested in development?

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

## Changelog

#### 1.0

 * Initial release

## Meta

 *  Version **1.0**
 *  Last updated **12 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.4 or higher **
 *  Tested up to **3.9.40**
 * Tags
 * [cache](https://wordpress.org/plugins/tags/cache/)[memcached](https://wordpress.org/plugins/tags/memcached/)
 *  [Advanced View](https://wordpress.org/plugins/memcached-cloud/advanced/)

## Ratings

No reviews have been submitted yet.

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

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

## Contributors

 *   [ Redis Labs ](https://profiles.wordpress.org/redis-labs/)

## Support

Got something to say? Need help?

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