Please check this as well as this
Also enable pdo extension on your server
You need to enable the PDO and PDO_MYSQL extensions in the php.ini file. go to the php.ini file, which is located inside the directory where PHP was installed, and removes the comments (;) in the lines below, therefore
Windows php.ini
extension=php_pdo.dll
extension=php_pdo_mysql.dll
Linux php --with-pdo-mysql. php.ini
extension=pdo.so
extension=pdo_mysql.so
- php ini , , , , php.ini