I'm french, so excuse me if my english is sometimes weird.
I'm trying to learn how to use symfony and I'm stuck on the very beggining since 3 days now. When I try to use doctrine i have this error :
In AbstractMySQLDriver.php line 115: An exception occured in driver: could not find driver
I saw a lot of posts about this problem but none of them has resolved the problem.
For information :
- I'm using wamp on windows 10
- PDO_mysql is activated as it's written in the info.php file : PDO drivers mysql, sqlite
- PDO_mysql is activated on wamp
- I tried with xamp, i have the same problem
- I have php 7.2.4
here is my parameters.yml file :
parameters:
database_host: 127.0.0.1
database_port: null
database_name: betagame
database_user: root
database_password: null
mailer_transport: smtp
mailer_host: 127.0.0.1
mailer_user: null
mailer_password: null
secret: ThisTokenIsNotSoSecretChangeIt
the driver specified is PDO_mysql and I'm using the 3.4.8 version of symfony ! Thank you for your reply ! I have also tried to replace pdo_mysql by PDO_pgsql and i activated it on wamp but i recieved the same error
what is activated on my php running in command lines :
PS D:\wamp\www\symfony> php -m
[PHP Modules]
bcmath
calendar
Core
ctype
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
thank you for your help !