Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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,

share|improve this question

1 Answer 1

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.

share|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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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