Die Lehre kann nicht finden, die PostgreSQL-PDO-Treiber?

Ich sehe diese Frage ist sehr ähnlich, aber ich habe PDO und pdo_pgsql installiert

Hier ist meine Fehlermeldung:

 php app/console doctrine:mapping:convert yml ./src/Vendor/Bundle/MyBundle/Resources/config/doctrine/metadata/orm --from-database --force



  [PDOException]         
  could not find driver  



doctrine:mapping:convert [--filter="..."] [--force] [--from-database] [--extend[="..."]] [--num-spaces[="..."]] [--namespace[="..."]] [--em[="..."]] to-type dest-path 

Hier ist meine config.yml-Einstellungen

doctrine:
    dbal:
      connections:
        my_database:
          driver:   pdo_pgsql
          port:     5432
          dbname:   blah
          user:     foo
          password: bar
          charset:  UTF8

Dem host konfiguriert ist, in die prod und dev yaml-Dateien wie dieses

doctrine:
    dbal:
      connections:
        my_database:
          host: localhost

läuft php -m auf der Kommandozeile sehe ich, dass PDO, pdo_pgsql und pgsql sind alle installiert

PDO
pdo_pgsql
pgsql

Was bin ich?

Schreibe einen Kommentar