Could not find driver when using sqlite
Hi, am currently new on using laragon and am working on a project using laravel.
Trying to build this project using TDD and when I tried to run a test it gives me an error.
Illuminate\Database\QueryException: could not find driver (SQL: PRAGMA foreign_keys = ON;)
I already configured my settings from MENU -> PHP -> Extensions and enabled sqlite3.
Am using Laravel 5.8 and am on windows
- Can you show phpinfo() that the sqlite driver enabled?
- Are you sure the TDD use sqlite as default database?
Go to the folder .../laragon/bin/php/php-xxx and edit php.ini. Uncomment the line 'extension=pdo_sqlite'