I got this problem too. I have solved this issue already. If u are using Wamp then perform the following steps.
- Go to
wamp64/www/bin/php/php*
(where*
is the php version you are using)- Edit file php and uncomment this line by removing the semicolon:
;extension=pdo_pgsql to extension=pdo_pgsql
- Save and restart your Wamp server
If it does not work, please check your .env
and config/database again.