title: Apache unable to load postgres
body: <p>Today i have updated my MacBook to OS X 10.9.</p>
  
  <p>After the update new configs (httpd.config and php.ini) were added and the old configs was renamed <code>previous</code>. I changed the confignames and everything works finde. Everything? No, postgres were not loaded. I created a <code>phpinfo() test.php</code> to check this. And yes, postgres were not loaded.</p>
  
  <p>A view into the apache error log say <code>PHP Fatal error:  Call to undefined function pg_connect()</code>. This is the logical response.</p>
  
  <hr>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I tried the solutions from:
  <a href="https://stackoverflow.com/questions/19539303/troubles-with-rails-and-postgres-after-updating-to-os-x-10-9-mavericks">here</a>
  But still the same problem.</p>
  
  <p>I manually installed <code>PDO_postgres</code>with pecl. Now <code>phpinfo()</code> shows the <code>pdo_pgsql</code> extension and apache can load the dynamic library. But i need the normal <code>pgsql</code> extension. I still get the:</p>
  
  <p><code>PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20100525/php_pgsql.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20100525/php_pgsql.dll</code></p>
  
  <p>error.</p>
  
  <p>How can i install the normal <code>pgsql</code> extensions manually? Pecl don't find the package.</p>
  
  <p>I can successfully connect to my databases with PGAdmin.</p>
  
  <hr>
  
  <p>Do someone know how i can fix the problem? Have i forgot something to change?</p>
  
  <p><strong>EDIT2:</strong></p>
  
  <p>I solved the problem with installing <code>pgsql</code> extension manually.</p>