title: Install pdo for postgres Ubuntu
body: <p>I am trying to enable the pdo driver for my php installation, but when I runn the command</p>
  
  <pre><code>./configure --prefix=/usr/local/webserver/php --with-apxs2=/usr/local/webserver/apache2/bin/apxs --enable-mbstring --enable-intl --with-icu-dir=/usr --with-pgsql=/usr/local/webserver/postgres --with-pdo-pgsql=/usr/local/webserver/postgres
  </code></pre>
  
  <p>I get</p>
  
  <pre><code>"Unable to build the PDO PostgreSQL driver: libpq 7.4+ is required"
  </code></pre>
  
  <p>I install postgresql in that directory</p>
  
  <pre><code>/usr/local/webserver/postgres
  </code></pre>
  
  <p>I installed postgresql 9.0.4.1 using the bin package and using php 5.3</p>