Já olhei dúvidas anteriores, mas mesmo assim não consegui resolver meu problema, quando rodo o comando vendor/bin/doctrine orm:schema-tool:create o terminal retorna:
! ! [CAUTION] This operation should not be executed in a production environment! !
Creating database schema...
In ToolsException.php line 34:
Schema-Tool failed with Error 'An exception occurred in driver: could not find driver' while executing DDL: CREATE TABLE Aluno (id INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, nome VARCHAR(255) NOT NULL)
In AbstractSQLiteDriver.php line 70:
An exception occurred in driver: could not find driver
In PDOConnection.php line 31:
could not find driver
In PDOConnection.php line 27:
could not find driver
orm:schema-tool:create [--dump-sql]
Já mudei o nome do arquivo para php.ini e retirei o ponto e vírgula das linhas :
extension_dir = "ext" e extension=pdo_sqlite
o resultado dos comandos php --ini é:
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: C:\Users\gabri\Documents\interpretador_php\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
e para php -m é:
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
filter
hash
iconv
json
libxml
mbstring
mysqlnd
openssl
pcre
PDO
Phar
readline
Reflection
session
SimpleXML
SPL
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zip
zlib
[Zend Modules]
neste último reparei que a pdo foi carregada mas pdo_sqlite n mesmo estando descomentado no php.ini. O devo fazer?