It sounds like maybe the PDO extension isn’t installed in your PHP.
Run phpinfo on your server to see if you have PDO enable, if so add this in your php.ini if you are on shared hosting. This solve my problem on my side !
- create a blank file in your drupal or server root named ‘phpinfo.php’
- add the following code into the file
- go to the file via a browser, e.g. yoursite.com/phpinfo.php
- look (ctrl/cmd + F) for the ‘Configuration File (php.ini) Path’, you’ll find the location of your php.ini file there
If you are unable to acces this through FTP/cPanel/…, create a file named php.ini in your drupal root folder and add the following lines of code:
upload_max_filesize = 10M
memory_limit = 64M
upload_tmp_dir = 64M
max_execution_time = 128
Note : that you may want to tweak these values depending on your needs.