Page 1 of 1

Install Memcached Failed.

Posted: Sat Mar 07, 2015 5:28 pm
by bestony
I want to install Memcached For my script.so i run this code and got this.

Code: Select all

yum install php-pecl-memcache memcached libmemcached -y
My System is CentOS release 6.6 (Final) X86-64

Code: Select all

Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * epel: ftp.sjtu.edu.cn
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
Resolving Dependencies
--> Running transaction check
---> Package libmemcached.x86_64 0:0.31-1.1.el6 will be installed
---> Package memcached.x86_64 0:1.4.4-3.el6 will be installed
--> Processing Dependency: libevent-1.4.so.2()(64bit) for package: memcached-1.4.4-3.el6.x86_64
---> Package php-pecl-memcache.x86_64 0:3.0.5-4.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-memcache-3.0.5-4.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-pecl-memcache-3.0.5-4.el6.x86_64
--> Running transaction check
---> Package libevent.x86_64 0:1.4.13-4.el6 will be installed
---> Package php-pecl-memcache.x86_64 0:3.0.5-4.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-memcache-3.0.5-4.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-pecl-memcache-3.0.5-4.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-memcache-3.0.5-4.el6.x86_64 (base)
           Requires: php(zend-abi) = 20090626
           Installed: php-common-5.4.38-1.el6.remi.x86_64 (@remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(zend-abi) = 20090626
Error: Package: php-pecl-memcache-3.0.5-4.el6.x86_64 (base)
           Requires: php(api) = 20090626
           Installed: php-common-5.4.38-1.el6.remi.x86_64 (@remi)
               php(api) = 20100412-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(api) = 20090626
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Re: Install Memcached Failed.

Posted: Sun Mar 08, 2015 1:30 am
by bestony
Deal It With The Code

Code: Select all

yum install --enablerepo=remi php-pecl-memcache memcached libmemcached -y