unable to add pdo_mysql to PHP Modules although i have modified php.ini file

50 Views Asked by At

php -m [PHP Modules] bcmath calendar Core ctype date dom filter hash iconv json libxml mysqlnd pcre PDO Phar readline Reflection session SimpleXML SPL standard tokenizer xml xmlreader xmlwriter zip zlib

this is my list of modules that cause PDOException i want to change adding pdo_mysql.

i have already unchecked 'extension=pdo_mysql', i have simple mysql server.

I haven't found any answer that resolve my problem, so what i have to do now?

note: php_ini_loaded_file() returns me null

1

There are 1 best solutions below

0
Peppo 10 On BEST ANSWER

I solved creating new php.ini file and paste all the content of the old file.