2
我在安裝帶有PHP 5.4的CentOS 6.5上使用YUM的Memcached(帶D)PHP擴展時遇到了一些麻煩。當我運行yum install php-pecl-memcached
我看到下面的:YUM沒有在CentOS 6.5上用PHP 5.4安裝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-共5.3,但我不太明白如何超越這個問題或在哪裏找到與我的配置兼容的版本。
難道一個'百勝update'第一幫助? –
不幸的是,它沒有。 –
這裏的問題的根本原因是您正在使用來自Webtatic回購協議的PHP 5.4,不幸的是,他們目前沒有memcached軟件包。 CentOS 6.5上的php-pecl-memcached僅適用於默認存儲庫中的PHP 5.3。 – ADi3ek