0
我試圖在php v5.4.45和Centos v6.5中安裝php-pecl-memcached。安裝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
你能告訴我如何解決這個問題嗎?
謝謝您的回覆。所以你說通過更新從5.4到5.5的PHP版本,我的問題將得到解決? – supermonkey
不同的問題。要從「remi」repo安裝php-pecl-memcached,您必須從「ius」中刪除libmemcached。升級到5.5或5.6只是一個通知。 –
謝謝你的回覆。我編輯了我的問題,我不能通過命令「yum remove libmemcached10」刪除php-peck-memcached。你能告訴我如何刪除它嗎? – supermonkey