【问题标题】:Is it possible to use php-memcache and php-memcached together?可以一起使用 php-memcache 和 php-memcached 吗?
【发布时间】:2014-04-30 07:22:33
【问题描述】:

我正在从 php-memcache 迁移到 php-memcached,但尝试继续使用相同的缓存而不完全重新启动 memcache 服务器。是否可以用 php-memcache 做一个集合,用 php-memcached 做一个 get?

I getting the error - 
int(-1001) string(15) "PAYLOAD FAILURE"

php-memcache
Version - 2.2.7
Revision - $Revision: 327750 $

php-memcached
Version - 2.2.0
libmemcached version - 1.0.18

【问题讨论】:

    标签: php memcached


    【解决方案1】:

    php-memcachephp-memcached 都是系统 memcached 的包装器,类似于 php-mysqlphp-mysqli 都是系统 mysql 的包装器

    所以是的,这是可能的。您也可以通过 telnet 检索数据,例如 http://www.darkcoding.net/software/memcached-list-all-keys/

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2010-10-15
      • 2015-04-09
      • 2012-12-24
      • 2012-03-13
      • 2015-11-07
      • 2011-02-09
      相关资源
      最近更新 更多