Title: Clinical Memcachier
Author: Phill Healey
Published: <strong>November 27, 2017</strong>
Last modified: November 28, 2017

---

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/clinical-memcachier.svg)

# Clinical Memcachier

 By [Phill Healey](https://profiles.wordpress.org/munklefish/)

[Download](https://downloads.wordpress.org/plugin/clinical-memcachier.zip)

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

 [Support](https://wordpress.org/support/plugin/clinical-memcachier/)

## Description

This is a WordPress object cache backend that supports the MemCachier caching service.
It requires [Memcached ver. 2.2.0 PECL package](http://pecl.php.net/package/memcached)
or greater for SASL support. This is a fork of [tollmanz](https://github.com/tollmanz/wordpress-pecl-memcached-object-cache)
object cache, adding SASL and binary protocol support for cloud based caches.

### Credits

 * [wordpress-memcached-backend](https://github.com/tollmanz/wordpress-memcached-backend)
 * [RedisLabs SASL support](https://github.com/RedisLabs/wordpress-memcached-backend)

## 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';
        ```
    
 5. Alternatively, set the environment variables, `MEMCACHE_SERVERS`, `MEMCACHE_USERNAME`
    and `MEMCACHE_PASSWORD`. The expected format for `MEMCACHE_SERVERS` is `'server1:
    port1,server2:port2,server3:port3'`.

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

 1. Move object-cache.php to wp-content/object-cache.php
 2. To test the WordPress object cache setup, add the following code as an MU plugin:
 3.     ```
        `php
        ```
    
 4. <?php
     $key = ‘dummy’; $value = ‘100’;
 5. $dummy_value = wp_cache_get( $key );
 6. if ( $value !== $dummy_value ) {
     echo “The dummy value is not in cache. Adding
    the value now.”; wp_cache_set( $key, $value ); } else { echo “Value is ” . $dummy_value.“.
    The WordPress Memcached Backend is working!”; } `
 7. After adding the code, reload your WordPress site twice. On the second load, you
    should see a success message printed at the top of the page. Remove the MU plugin
    after you’ve verified the setup.

## Reviews

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

### 󠀁[Best Data Cache](https://wordpress.org/support/topic/best-data-cache/)󠁿

 [Phill Healey](https://profiles.wordpress.org/munklefish/) November 28, 2017

This is the best plugin for caching your data objects with the remote memcached 
service provided by Memcachier, of all the ones I’ve tried.

 [ Read all 1 review ](https://wordpress.org/support/plugin/clinical-memcachier/reviews/)

## Contributors & Developers

“Clinical Memcachier” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Phill Healey ](https://profiles.wordpress.org/munklefish/)

[Translate “Clinical Memcachier” into your language.](https://translate.wordpress.org/projects/wp-plugins/clinical-memcachier)

### Interested in development?

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

## Changelog

0.4 Packaged for release on WP repo

## Meta

 *  Version **0.4**
 *  Last updated **9 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **4.9.31**
 *  PHP version ** 5.0 or higher **
 * Tags
 * [memcached](https://wordpress.org/plugins/tags/memcached/)[Memcachier](https://wordpress.org/plugins/tags/memcachier/)
   [remote](https://wordpress.org/plugins/tags/remote/)[service](https://wordpress.org/plugins/tags/service/)
 *  [Advanced View](https://wordpress.org/plugins/clinical-memcachier/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/clinical-memcachier/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/clinical-memcachier/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/clinical-memcachier/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/clinical-memcachier/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/clinical-memcachier/reviews/?filter=1)

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

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

## Contributors

 *   [ Phill Healey ](https://profiles.wordpress.org/munklefish/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/clinical-memcachier/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://codeclinic.de)