title: Laravel - could not find driver (SQL: PRAGMA foreign_keys = ON;)
body: <p><strong>UPDATE:</strong>
  I figured out what's going out, The PHP server that I use run my electron app seems not loading pdo_sqlite extension while the global php executable on my system works when I execute &quot;php artisan migrate&quot; from the command line. So that there is a mismatch with those two PHP versions.
  <br> <br>
  I ran into a strange issue after switching to my new device. The artisan command migrate is working but when I try to access a page that connect to the database I got this error
  &quot;could not find driver (SQL: PRAGMA foreign_keys = ON;)&quot;<br><br>
  My configuration are as shown below<br>
  Laravel 8.40<br>
  PHP 7.3 with enabled extensions<br></p>
  <ul>
  <li>pdo_sqlite</li>
  <li>sqlite3</li>
  <li>pdo_mysql</li>
  </ul>