Como instalar o “memcached” no php 5.6?

1

Eu tinha instalado o PHP 5.6.20 a partir desta fonte. link

Mas não consigo instalar o memcached. Apenas apenas memcache.
Como instalar o memcache d no PHP 5.6?

Isso é o que eu tentei.

[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
    
por vee 12.04.2016 / 09:25

1 resposta

2

Teste primeiro com

yum remove libmemcached-0.31-1.1.el6.x86_64

E então

yum install php56w-pecl-memcached.x86_64

Ou apenas

yum install php56w-pecl-memcached

Saudações.

    
por 12.04.2016 / 09:51