[英]YUM not installing php-pecl-memcached on CentOS 6.5 with PHP 5.4
我在使用帶有PHP 5.4的CentOS 6.5上使用YUM安裝Memcached(帶有D)PHP擴展時遇到了一些麻煩。 當我運行yum install php-pecl-memcached
時,會看到以下內容:
Loaded plugins: downloadonly, fastestmirror, replace
Loading mirror speeds from cached hostfile
* webtatic: us-east.repo.webtatic.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-memcached.x86_64 0:1.0.0-1.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-memcached-1.0.0-1.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-pecl-memcached-1.0.0-1.el6.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Conflict: php54w-common-5.4.26-1.w6.x86_64 conflicts php-common < 5.4.0
--> Finished Dependency Resolution
Error: php54w-common conflicts with php-common-5.3.3-27.el6_5.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我相信我理解問題是YUM存儲庫中的memcached版本需要php-common-5.3,但我不太了解如何超越此問題或在哪里找到與我的配置兼容的版本。
卸載php54w-common
,然后安裝php-pecl-memcached
應該有助於解決沖突:
yum remove php54w-common
yum install php-pecl-memcached
但是,也許您可以使用軟件集合(可用於CentOS)代替php54w-common
回購php54w-common
。 同時有PHP 5.4和5.5:
但是還有更多的PHP版本:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.