title: Could not find driver pdo-mysql laravel homestead
body: <p>I am running a database migration on laravel homestead and I am getting a could not find driver error</p>
  
  <p>running the following command: php artisan migrate</p>
  
  <p>my pdo-mysql.so is enabled in my PHP.ini</p>
  
  <p>When I install laravel homestead there are 4 different version of php 5.6 7.1 7.2 7.3</p>
  
  <p>The phpinfo says it's using 7.3</p>
  
  <pre><code>php artisan migrate
  
  Illuminate\Database\QueryException  : could not find driver (SQL: select 
  * from information_schema.tables where table_schema = sim and table_name 
  = migrations)
  
  at C:\laravel- 
  projects\sim\vendor\laravel\framework\src\
  Illuminate\Database\Connection.php:664
  660|         // If an exception occurs when attempting to run a query, 
  we'll format the error
  661|         // message to include the bindings with SQL, which will make 
  this exception a
  662|         // lot more helpful to the developer instead of just the 
  database's errors.
  663|         catch (Exception $e) {
  664|             throw new QueryException(
  665|                 $query, $this-&gt;prepareBindings($bindings), $e
  666|             );
  667|         }
  668|
  
  Exception trace:
  
  1   Doctrine\DBAL\Driver\PDOException::("could not find driver")
    C:\laravel-projects\sim\vendor\doctrine\dbal\lib\
  Doctrine\DBAL\Driver\PDOConnection.php:31
  
  2   PDOException::("could not find driver")
    C:\laravel-projects\sim\vendor\doctrine\dbal
  \lib\Doctrine\DBAL\Driver\PDOConnection.php:27
  </code></pre>