Centos6
如何將“memcached”安裝到 php 5.6?
我已經從這個來源安裝了 PHP 5.6.20。https://webtatic.com/packages/php56/
但我無法安裝 memcached。只是記憶體記憶體。
如何將 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
首先測試
yum remove libmemcached-0.31-1.1.el6.x86_64
進而
yum install php56w-pecl-memcached.x86_64
要不就
yum install php56w-pecl-memcached
問候。