title: php artisan migrate not working when trying to set up sqlite database
body: <p>I have just cloned a laravel project I was working on, into a new machine. I have re-installed all the dependencies, including sqlite and re-configured the database details in the .env file. However, when I try to run php artisan migrate, I get the following error:</p>
  <pre><code> Illuminate\Database\QueryException 
  
    could not find driver (SQL: PRAGMA foreign_keys = ON;)
  
    at C:\xampp\htdocs\Soko\vendor\laravel\framework\src\Illuminate\Database\Connection.php:759
      755▕         // If an exception occurs when attempting to run a query, we'll format the error
      756▕         // message to include the bindings with SQL, which will make this exception a
      757▕         // lot more helpful to the developer instead of just the database's errors.
      758▕         catch (Exception $e) {
    ➜ 759▕             throw new QueryException(
      760▕                 $query, $this-&gt;prepareBindings($bindings), $e
      761▕             );
      762▕         }
      763▕     }
  
    1   C:\xampp\htdocs\Soko\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
        PDOException::(&quot;could not find driver&quot;)
  
    2   C:\xampp\htdocs\Soko\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70
        PDO::__construct()
  </code></pre>
  <p>What could be the problem?</p>
  <p>Here is my .env file</p>
  <pre><code>LOG_CHANNEL=stack
  LOG_DEPRECATIONS_CHANNEL=null
  LOG_LEVEL=debug
  
  DB_CONNECTION=sqlite
  
  BROADCAST_DRIVER=log
  </code></pre>
  <p>I had already come across a similar question. And I have tried going to my php.ini file, there are two apparently, one for development and the other for production. I have edited them both, by removing the semicolon in (;extension=pdo_sqlite.dll) and (;extension=sqlite3). I have also tried to tab them out, but as per the comments, nothing has worked.</p>