如何安装“memcached”到PHP 5.6?

我已经从这个源安装PHP 5.6.20。 https://webtatic.com/packages/php56/

但是我不能安装memcached。 只是memcache。
如何安装memcache d到PHP 5.6?

这是我的尝试。

[root@testcentos ~]# yum -y install php56w-pecl-memcached.x86_64 Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: mirror2.totbb.net * epel: ftp.jaist.ac.jp * extras: mirrors.nwsuaf.edu.cn * remi-safe: mirror.neolabs.kz * updates: mirror2.totbb.net * webtatic: sp.repo.webtatic.com Resolving Dependencies --> Running transaction check ---> Package php56w-pecl-memcached.x86_64 0:2.2.0-2.w6 will be installed --> Processing Dependency: php-pecl-igbinary(x86-64) for package: php56w-pecl-memcached-2.2.0-2.w6.x86_64 --> Processing Dependency: libmemcachedutil.so.2()(64bit) for package: php56w-pecl-memcached-2.2.0-2.w6.x86_64 --> Processing Dependency: libmemcached.so.11()(64bit) for package: php56w-pecl-memcached-2.2.0-2.w6.x86_64 --> Running transaction check ---> Package libmemcached10.x86_64 0:1.0.16-1.ius.el6 will be installed ---> Package php56w-pecl-igbinary.x86_64 0:1.2.1-2.w6 will be installed --> Processing Conflict: libmemcached10-1.0.16-1.ius.el6.x86_64 conflicts libmemcached < 1.0 --> Finished Dependency Resolution Error: libmemcached10 conflicts with libmemcached-0.31-1.1.el6.x86_64 You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest 

先用testing

 yum remove libmemcached-0.31-1.1.el6.x86_64 

接着

 yum install php56w-pecl-memcached.x86_64 

要不就

 yum install php56w-pecl-memcached 

问候。