php bin/console doctrine:database:create this problem appeared (i'm using symfony4)

246 views Asked by At

C:\projet1\locationvoiture>php bin/console doctrine:database:create

In AbstractPostgreSQLDriver.php line 79:

An exception occurred in driver: could not find driver

In PDOConnection.php line 31:

could not find driver

In PDOConnection.php line 27:

could not find driver

doctrine:database:create [-s|--shard SHARD] [-c|--connection [CONNECTION]] [--if-not-exists] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--]

1

There are 1 answers

2
Chbig On

In your php.ini, uncomment the line ;extension=pdo_pgsql