title: php artisan migrate throwing [PDO Exception] Could not find driver - Using Laravel
body: <p>I have a bad experience while installing laravel. However, I was able to do so and move to the next level. I used generators and created my migrations. 
  But when I type the last command </p>
  
  <pre><code>php artisan migrate
  </code></pre>
  
  <p>It's throwing a PDOException - could not find driver.</p>
  
  <pre><code>       'mysql' =&gt; array(
              'driver'    =&gt; 'mysql',
              'host'      =&gt; 'localhost',
              'unix_socket'   =&gt; '/Applications/MAMP/tmp/mysql/mysql.sock',
              'database'  =&gt; 'database',
              'username'  =&gt; 'root',
              'password'  =&gt; '',
              'charset'   =&gt; 'utf8',
              'collation' =&gt; 'utf8_unicode_ci',
              'prefix'    =&gt; '',
          ),
  </code></pre>
  
  <p>That's my configuration in config/database.php.</p>
  
  <p>I tried searching on stackoverflow and laravel forums and people suggest that it's PDO problem and not artisan's or php's - I followed those suggestions like adding </p>
  
  <pre><code>extension=pgsql.so
  extension=pdo_pgsql.so
  </code></pre>
  
  <p>in php.ini </p>
  
  <p>No positive result. It always says <code>[PDOException]could not find driver.</code></p>
  
  <p>Can someone please help resolving this.</p>
  
  <p>Environment that I am using: Mac, laravel 4, MAMP PRO with php 5.4.4</p>