gpt4 book ai didi

php - 安装 php-pecl-memcached

转载 作者:行者123 更新时间:2023-12-04 19:44:41 25 4
gpt4 key购买 nike

我正在尝试在 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”存储库

所以:删除 libmemcached10(来自 IUS)并重试。

注意 PHP 5.4 现在是 EOL。 IUS 已将其从其存储库中删除,但仍可在“remi”中使用,并从 5.5 向后移植安全修复程序。在所有情况下,强烈建议升级到维护版本。

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

关于php - 安装 php-pecl-memcached,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35654120/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com