PostgreSQL データベースでコード ジェネレーターを使用する際に問題が発生しました。main.php で構成を行いました。 ... ...
'modules'=>array(
'gii'=>array(
'class'=>'system.gii.GiiModule',
'password'=>'123wasis85',
'ipFilters'=>array('127.0.0.1','::1'),
),
),
...
'db'=>array(
'connectionString' => 'pgsql:host=127.0.0.1;port=5432;dbname=yii_first',
'emulatePrepare' => true,
'username' => 'postgres',
'password' => 'anghauz',
'charset' => 'utf8',
),
...
しかし、クラッド生成を使用すると、まだエラーが発生します。これがエラーです..:
...
CDbConnection failed to open the DB connection: could not find driver
C:\BitNami\apache2\htdocs\yii\framework\gii\generators\crud\CrudCode.php(44)
...
bitnami を使用して localhost n で作成します。
解決策を教えてください..