Title: Memcached Cloud
Author: Redis Labs
Published: <strong>2014 年 7 月 2 日</strong>
Last modified: 2014 年 7 月 7 日

---

搜尋外掛

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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

# Memcached Cloud

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

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

 * [詳細資料](https://tw.wordpress.org/plugins/memcached-cloud/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/memcached-cloud/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/memcached-cloud/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/memcached-cloud/#developers)

 [技術支援](https://wordpress.org/support/plugin/memcached-cloud/)

## 外掛說明

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' 
    );
    ```

## 安裝方式

 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

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈Memcached Cloud〉的開發相關工作。

參與者

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

[將〈Memcached Cloud〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/memcached-cloud)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/memcached-cloud/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/memcached-cloud/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/memcached-cloud/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/memcached-cloud/)。

## 變更記錄

#### 1.0

 * Initial release

## 中繼資料

 *  版本 **1.0**
 *  最後更新 **12 年前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 3.4 或更新版本 **
 *  已測試相容的 WordPress 版本 **3.9.40**
 *  語言
 * [English (US)](https://wordpress.org/plugins/memcached-cloud/)
 * 標籤:
 * [cache](https://tw.wordpress.org/plugins/tags/cache/)[memcached](https://tw.wordpress.org/plugins/tags/memcached/)
 *  [進階檢視](https://tw.wordpress.org/plugins/memcached-cloud/advanced/)

## 評分

這個項目尚無任何評論記錄。

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

[查看全部使用者評論](https://wordpress.org/support/plugin/memcached-cloud/reviews/)

## 參與者

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

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/memcached-cloud/)