Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

php artisan migrate

Illuminate\Database\QueryException : could not find driver (SQL: PRAGMA foreign_keys = ON;)

at C:\Users\BETA\Documents\laravelprojetos\controle-series\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->prepareBindings($bindings), $e 666| ); 667| } 668|

Exception trace:

1 PDOException::("could not find driver") C:\Users\BETA\Documents\laravelprojetos\controle-series\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70

2 PDO::__construct() C:\Users\BETA\Documents\laravelprojetos\controle-series\vendor\laravel\framework\src\Illuminate\Database\Connectors\Connector.php:70

Please use the argument -v to see more details.

php init linha 931 extension=pdo_sqlite linha 1049 [Pdo_mysql] ; Default socket name for local MySQL connects. If empty, uses the built-in ; MySQL defaults. pdo_mysql.default_socket =

e instalei o sqlite3 no c:/sqlite pasta contend sqldiff.exe, sqlite3.exe e sqlite3_analyzer.exe

1 resposta
solução!

Consegui resolver, ja havia um arquivo com extensão ini (php.ini) e eu tinha criado/colado um outro arquivo com o nome "phpini.ini", e havia descomentado o ";pdo_sqlite" do arquivo "phpini.ini" e não do arquivo "php.ini"!