I'm trying to run the following on a CentOS Linux 5.5 (w/ PHP 5.2.10): yum install php-pear php-devel httpd-devel

but it fails with this:

php-devel-5.1.6-27.el5_5.3.i386 from updates has depsolving problems --> Missing Dependency: php = 5.1.6-27.el5_5.3 is needed by package php-devel-5.1.6-27.el5_5.3.i386 (updates) php-devel-5.1.6-27.el5_5.3.i386 from updates has depsolving problems --> Missing Dependency: php = 5.1.6-27.el5_5.3 is needed by package php-devel-5.1.6-27.el5_5.3.i386 (updates) Error: Missing Dependency: php = 5.1.6-27.el5_5.3 is needed by package php-devel-5.1.6-27.el5_5.3.i386 (updates)

Any ideas? I cannot find anything on Google which would point me to the right location. Cheers,

link|improve this question
feedback

1 Answer

up vote 0 down vote accepted

You need to install the version of php-devel that matches the version of php already installed on the system. Try looking where you originally acquired it from.

link|improve this answer
Cheers. Can you please point me in the right direction? – Ernest Mar 24 '11 at 9:14
Nope. I have no clue where you got your current php package from. Try checking the output of rpm -qi php for clues. – Ignacio Vazquez-Abrams Mar 24 '11 at 9:19
My provider solved it for me. Here's the solution: yum --enablerepo <my-repo> install php-pear httpd-devel php-devel – Ernest Mar 25 '11 at 0:23
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.