Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to install the php-ldap package on my machine but was not able to do so.

It shows missing dependencies error for php-common, but the said package is already installed and updated.

See the following screenshot:

Package-manager error report

share|improve this question

Try:

yum clean all
yum update
yum install php-ldap

...in that order. If the yum update includes kernel or glibc updates, you should reboot after that step.

share|improve this answer
    
this is a running server that caters other services. Would running clean all affects other installed packages? – DonX Nov 1 '15 at 17:38

I have just resolved it by updating my PHP version from 5.4.37 to 5.6. That did the charm and was able to install php-ldap.

share|improve this answer

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.