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)
link|improve this question

71% accept rate
feedback

1 Answer

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
link|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
feedback

Your Answer

 
or
required, but never shown

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