このページの翻訳:
- 日本語 (ja)
- English (en)
最近の更新
- 2024.01.18 RailsでSSLエラー 以前のリビジョンを復元 (2024/01/18 07:06)
- 31 CentOS5 TLS1.2 created
- 2024.04.12 MySQL BIT Field created
最近の更新
yum remove php* yum install php53
普通に上記でphp53をインストールしたら、下記のようなエラーで悩まされる。
yum-plugin-replaceをインストールしてあげると上手くいきます。
# yum install php-pecl-memcache
・
・
・
php53-common-5.3.3-1.el5_6.1.x86_64 from updates has depsolving problems
--> php53-common conflicts with php-common
Error: php53-common conflicts with php-common
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
yum remove php53*
yum intall php-devel
# wget http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/5/x86_64/epel-release-5-4.noarch.rpm # rpm -ivh epel-release-5-4.noarch.rpm # vi /etc/yum.repos.d/epel.repo 6 enabled=1 ↓ 6 enabled=0
# wget http://ftp-srv2.kddilabs.jp/Linux/distributions/fedora/epel/6/x86_64/epel-release-6-8.noarch.rpm
# wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-11.ius.el5.noarch.rpm # rpm -ivh ius-release-1.0-11.ius.el5.noarch.rpm # vi /etc/yum.repos.d/epel.repo 6 enabled=1 ↓ 6 enabled=0
# yum --enablerepo=ius replace php --replace-with php53u
# yum --enablerepo=ius install php53u-pecl-memcache