title: php artisan migrate : PDOException could not find driver
body: <p>I was in need to install Php 5.6 with postgres. I followed the instructions <a href="https://stackoverflow.com/questions/29706027/install-php-with-postgresql-on-mac-using-homebrew">from here</a> and did:</p>
  
  <pre><code>brew install php56 --without-mysql --without-apache --with-postgresql
  brew install php56-pdo-pgsql
  </code></pre>
  
  <p><code>Php 5.6</code> and <code>postgres</code> are running fine with my Projects using PostgreSQL.</p>
  
  <p>Now there is some problem with <code>Laravel</code> projects using <code>mysql</code>. On running <code>php artisan migrate</code> command, it shows:</p>
  
  <pre><code>[PDOException]
  could not find driver
  </code></pre>
  
  <p>Project works fine in the browser though. Data is being fetched perfectly from the mysql tables. <code>php -m</code> also does not shows <code>mysql</code>. But <code>phpinfo</code> does shows <code>mysql</code> module.</p>
  
  <p>What could be the problem? Do i need to reinstall mysql?</p>