Ist man im Development Mode braucht es einen default Datenbank Adapter in /config/autoload/db.local-development.php
.
'db' => array( // for primary db adapter that called // by $sm->get('Zend\Db\Adapter\Adapter') // required in development mode 'username' => $dbParams['username'], 'password' => $dbParams['password'], 'driver' => 'Pdo_Pgsql', 'dsn' => 'pgsql:dbname=' . $dbParams['database'] . ';host=' . $dbParams['hostname'], 'adapters' => array( 'dbDefault' => array( 'username' => $dbParams['username'], 'password' => $dbParams['password'], 'driver' => 'Pdo_Pgsql', 'dsn' => 'pgsql:dbname=' . $dbParams['database'] . ';host=' . $dbParams['hostname'] ), ), ),
zend-developer-tools/issues/224#issuecomment-246174677
Bei der Zend Skeleton Application ist man zu Begin im Development Mode
Development Mode ausschalten:
vendor/bin/zf-development-mode disable
oder einschalten:
vendor/bin/zf-development-mode enable
Im Development Mode hat man die Developer Toolbar.