我正在运行 CentOS 6.4,因此本机坚持使用 PHP 5.3,但我需要 5.5,所以我已经在此处使用本指南升级到 5.5,http://www.webtatic.com/packages/php55/
在安装之前我已经删除了所有旧包,现在我已经重新安装了除了“rrdtool-php”包之外的所有东西,这是唯一给我带来一些问题的包。
当我运行它时,我收到此错误:
[root@srv install]# yum install rrdtool-php
Loaded plugins: fastestmirror, replace, security
Loading mirror speeds from cached hostfile
* base: centos.skarta.net
* extras: centos.skarta.net
* updates: mirror.easyspeedy.com
* webtatic: uk.repo.webtatic.com
Trying other mirror.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rrdtool-php.i686 0:1.3.8-6.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: rrdtool-php-1.3.8-6.el6.i686
--> Processing Dependency: php(api) = 20090626 for package: rrdtool-php-1.3.8-6.el6.i686
--> Running transaction check
---> Package php-common.i686 0:5.3.3-22.el6 will be installed
--> Processing Conflict: php55w-common-5.5.0-1.w6.i386 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php55w-common conflicts with php-common-5.3.3-22.el6.i686
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我已经安装了“php55w-common”,所以我自然也无法安装“php-common”包。我不敢尝试“--skip-broken”选项,因为我不想让一切都崩溃。
谁能帮我澄清如何解决这个问题?