Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

How can I enable PostgreSQL 9.0 support in PHP on my Amazon EC2 instance? I'm running the free 32 bit Linux Micro instance. I've installed PostgreSQL 9.0 by following these instructions

If I install the php-pgsql package using yum, it only supports PostgreSQL 8.4.7. Ultimately I'd like to use PostgreSQL 9.0 through PDO.

share|improve this question

If you are running an Amazon Linux AMI (as per the referenced instructions), then it is basically CentOS binary-compatible. You can follow the steps that would normally be taken for CentOS or ask for help on CentOS forums. I've added the CentOS tag in case experts here might be able to help out.

share|improve this answer

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.