title: PDO Exception "Could not find driver" (pgsql)
body: <p>I downloaded and installed PostgreSQL 9.2.3, which came with Stackbuilder.</p>
  
  <p>I used the PostgreSQL Stackbuilder to install Apache (2.2.22) &amp; PHP (5.4.5).</p>
  
  <p>Now I'm trying to connect to a database with PDO, but I'm getting a <code>driver not found</code> error.</p>
  
  <p>I've un-commented the <code>extension=php_pgsql.dll</code> &amp; <code>extension=php_pdo_pgsql.dll</code> in my php.ini file.</p>
  
  <p>My phpinfo(); function shows that they're enabled.
  <img src="https://i.stack.imgur.com/4AoAf.png" alt="enter image description here"></p>
  
  <p>The main thing I'm noticing is that within my <strong>php\</strong> directory there's no <strong>ext\</strong> directory with these files.  I would have assumed that these files would have been automatically installed to a <strong>php\</strong> subdirectory.</p>
  
  <p>Where could these extensions be stored; do I need to designate an absolute path for php to find them?</p>
  
  <p><strong>UPDATE:</strong>
  So I went into php.ini and turned on Startup Errors.  When I launch the commandline php.exe I get errors stating that php_pgsql.dll &amp; php_pdo_pgsql.dll can't be found.</p>
  
  <p><img src="https://i.stack.imgur.com/i2zfc.png" alt="enter image description here">
  It looks like they're trying to reference them on a D: drive, which I don't have.  I installed everything to the same directory on the E: drive.  I can't find the extensions anywhere (and neither can php).</p>