I want to generate models with bake terminal command. CakePhp 3
is able to connect to my postgres
database. All PHP extensions for postgres
are activated (php_pdo_pgsql
, php_pgsql
). I checked php.ini
.
When I run the command: cake bake model
I have this error:
Exception: Database driver Cake\Database\Driver\Postgres cannot be used due to a missing PHP extension or unmet dependency in [C:\wampPI\www\ticketHellocom\vend or\cakephp\cakephp\src\Database\Connection.php, line 171]
php -m | grep pgsql
in your console – José Lorenzo Rodríguez