繁体   English   中英

安装php-pecl-memcached

[英]Install php-pecl-memcached

我正在尝试在php v5.4.45和Centos v6.5中安装php-pecl-memcached。

我的命令如下。

yum --enablerepo=remi install php-pecl-memcached

但是我遇到以下错误。

Transaction Check Error:
  file /usr/lib64/libhashkit.so.2.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached10-1.0.16-1.ius.el6.x86_64
  file /usr/lib64/libmemcached.so.11.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached10-1.0.16-1.ius.el6.x86_64
  file /usr/lib64/libmemcachedutil.so.2.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached10-1.0.16-1.ius.el6.x86_64

我尝试通过以下命令删除libmemcached10。

yum remove libmemcached10

但是,它不起作用。 错误详细信息如下。

Loaded plugins: fastestmirror, security
Setting up Remove Process
No Match for argument: libmemcached10
Loading mirror speeds from cached hostfile
 * base: ftp.iij.ad.jp
 * epel: mirrors.hustunique.com
 * extras: ftp.iij.ad.jp
 * ius: archive.linux.duke.edu
 * updates: ftp.iij.ad.jp
Package(s) libmemcached10 available, but not installed.
No Packages marked for removal

你能告诉我如何解决这个问题吗?

您不能同时使用“ remi”和“ IUS”存储库

因此:从IUS删除libmemcached10并重试。

注意,PHP 5.4现在已停产。 IUS已将其从其存储库中删除,而它仍在“ remi”中可用,其安全修复程序从5.5开始反向移植。 在所有情况下,强烈建议升级到维护版本。

参见: http : //rpms.remirepo.net/wizard/

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM