title: Laravel - Getting [PDOException] could not find driver
body: <p>I am using Lampp apache server and when I run the command <code>php artisan migrate</code> am getting this error message:</p>
  
  <pre><code>PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_pdo_mysql.dll' - /usr/lib/php/20151012/php_pdo_mysql.dll: cannot open shared object file: No such file or directory in Unknown on line 0
  [Illuminate\Database\QueryException] could not find driver (SQL: select * from information_schema.tables where table_schema = seo-cms and table_name = migrations)
  [PDOException] could not find driver 
  </code></pre>
  
  <p>I enabled the pdo extension from my <code>php.ini</code> from <code>/opt/lamp/etc/php.ini</code> and from <code>/etc/php/7.0/cli/php.ini</code>, I restarted the server, but it is not enough. Most likely I am missing something. Can you help me with this ? </p>
  
  <p>Thx!</p>
  
  <p><strong>[UPDATE]</strong>
  <a href="https://i.stack.imgur.com/uaRa3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uaRa3.png" alt="enter image description here"></a></p>