Server Fault is a question and answer site for system and network administrators. 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

When trying to run:

yum --enablerepo=remi install php-pgsql

I got the following error, why is this?

Error: Missing Dependency: php-common = 5.3.5-1.el5.remi.1 is needed by package php-pgsql-5.3.5-1.el5.remi.1.x86_64 (remi)
share|improve this question
up vote 1 down vote accepted

Reinstall php:

yum --enablerepo=remi reinstall php

Then install php-pgsql:

yum --enablerepo=remi install php-pgsql

If you install php from webtatic repo, first erase php and php-common:

yum erase php
yum erase php-common

Then install php from remi:

yum --enablerepo=remi --disablerepo=webtatic install php
share|improve this answer
if I do that then I'll be back with versio 5.1 right? – EquinoX Feb 26 '11 at 20:47
No, you install php 5.3 from REMI. – ooshro Feb 26 '11 at 20:50
got it! I'll try and see if it works – EquinoX Feb 26 '11 at 20:53
I am getting this now when reinstalling: Installed package php-5.3.5-1.1.w5.x86_64 not available. – EquinoX Feb 26 '11 at 23:25
1) yum erase php 2) yum erase php-common 3)yum --enablerepo=remi --disablerepo=webtatic install php 4) yum --enablerepo=remi install php-pgsql – ooshro Feb 27 '11 at 5:26

Your Answer


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.