Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

When i run


i can see that the only available driver is sqlite, and i want to use Postgresql. What should i do to accomplish that?

share|improve this question

1 Answer 1

up vote 5 down vote accepted
yum install php5-pgsql

pdo_pgsql is included in php5-pgsql.

share|improve this answer
There is no such package available... –  Anton Gildebrand Sep 16 '12 at 17:07
That's probably because this package doesn't exist in the default repository. Here you can find instructions about how to add a repository that contains these packages. –  Samy Dindane Sep 16 '12 at 17:18
I tried "yum install php54w-pgsql", but then PHP wont work at all (printed in plain text) –  Anton Gildebrand Sep 16 '12 at 17:19
Worked it out. Thought php54w-pgsql was a package with php and pgsql, and not only an update. Installed php54w again and php54w-pgsql on top of that :) –  Anton Gildebrand Sep 16 '12 at 17:48

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.