2 like 0 dislike
945 views
in Education & Reference by | 945 views

1 Answer

1 like 0 dislike
Best answer

SOLUTION: Type the following command to install the package

yum install php-pear & pear install DB

Problem will be resolved..ENJOY!!

 

by
selected by
0 0
getting below error:

[root@pbx httpd]# yum install php-pear & pear install DB
[1] 79097
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Determining fastest mirrors
WARNING: "pear/DB" is deprecated in favor of "pear/MDB2"
epel/metalink                                                                                                                                                                                                         | 7.4 kB     00:00
Failed to download pear/PEAR, latest release is version 1.10.0, but it requires PHP version "5.4.0", use "channel://pear.php.net/PEAR-1.10.0" to install
pear/DB requires package "pear/PEAR" (version >= 1.10.0), installed version is 1.9.4
No valid packages found
install failed
0 0
update your php to 5.4 from the below link
http://answergig.com/2895/how-to-install-php5-4-in-centos-6?show=2895#q2895

then use the below command to update

[root@pbx httpd]# pear channel-update pear.php.net

Output:
Updating channel "pear.php.net"
Update of Channel "pear.php.net" succeeded

Related questions

0 like 0 dislike
1 answer
1 like 0 dislike
2 answers
0 like 0 dislike
2 answers
0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Jul 7, 2014 in Education & Reference by Bhoomika (50 points) | 9.8k views
1 like 0 dislike
2 answers
asked Sep 7, 2017 in Education & Reference by Simmi (520 points) | 80 views
0 like 0 dislike
0 answers

Where your donation goes
Technology: We will utilize your donation for development, server maintenance and bandwidth management, etc for our site.

Employee and Projects: We have only 15 employees. They are involved in a wide sort of project works. Your valuable donation will definitely boost their work efficiency.

How can I earn points?
Awarded a Best Answer 10 points
Answer questions 10 points
Asking Question -20 points

1,202 questions
1,348 answers
553 comments
1,994 users