yumでphp5にバージョンアップしましたが、
configureオプションは初期のPHP4の状態でした。
そのオプションでは
--without-pear
があるので、これを外してpearも入れたいと思っています。
どのようにすれば、yumで管理しながらconfigureオプションを変更できるのでしょうか?
yum install php-pear を行なうと、
Error: Missing Dependency: php = 4.3.9-3.22.9 is needed by package php-pear
となり、インストールできないため、
phpのconfigureオプションでwithout-pearを外し、
phpをyumで再インストールしようと思っています。
(yumでpearを入れたいだけです)
rpm -qa | grep -i php
の実行結果をコメントに記述してください。
を実行したところ、下記のリストが表示されました。
php-cli-5.1.6-3.el4s1.8
php-gd-5.1.6-3.el4s1.8
php-5.1.6-3.el4s1.8
php-common-5.1.6-3.el4s1.8
php-mbstring-5.1.6-3.el4s1.8
php-eaccelerator-5.1.6_0.9.5-1.el4.centos
yum info php-pear
を実行したところ、下記のようになりました。
Available Packages
Name : php-pear
Arch : x86_64
Version: 4.3.9
Release: 3.22.9
Size : 268 k
Repo : base
Summary: PHP Extension and Application Repository Components
Description:
PEAR is a framework and distribution system for reusable PHP
components. This package contains a set of PHP components from the
PEAR repository.
Name : php-pear
Arch : noarch
Epoch : 1
Version: 1.4.11
Release: 1.el4s1.1
Size : 345 k
Repo : centosplus
Summary: PHP Extension and Application Repository framework
Description:
PEAR is a framework and distribution system for reusable PHP
components. This package contains the basic PEAR components.
yum install php-pear-1.4.11.noarch
かな?
yum clean all
yum install php-pear-1.4.11.noarch
を行ないましたが、下記のようになりインストールされませんでした・・・。
Loading "fastestmirror" plugin
Setting up Install Process
Setting up repositories
update 100% |=========================| 951 B 00:00
base 100% |=========================| 1.1 kB 00:00
centosplus 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
extras 100% |=========================| 1.1 kB 00:00
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz 100% |=========================| 63 kB 00:00
update : ################################################## 216/216
primary.xml.gz 100% |=========================| 548 kB 00:00
base : ################################################## 1788/1788
primary.xml.gz 100% |=========================| 61 kB 00:00
centosplus: ################################################## 180/180
primary.xml.gz 100% |=========================| 157 B 00:00
primary.xml.gz 100% |=========================| 31 kB 00:00
extras : ################################################## 120/120
Excluding Packages in global exclude list
Finished
Parsing package install arguments
No Match for argument: php-pear-1.4.11.noarch
Nothing to do