私は CentOS 6.4 を実行しているため、ネイティブで PHP 5.3 に固執していますが、5.5 が必要なので、このガイド ( http://www.webtatic.com/packages/php55/ ) を使用して 5.5 にアップグレードしました。
インストール前にすべての古いパッケージを削除し、「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」オプションを試してみる勇気はありません。すべてが壊れてしまうことは避けたいからです。
この問題を解決する方法を明確にするのを手伝ってくれる人はいますか?