Error:
CDbConnection failed to open the DB connection: could not find driver
C:\xampp72\htdocs\DEV\project\protected\models\SystemConfiguration.php(50)
Solution: In php.ini, enable the configurations according to the base used:
extension=mbstring
extension=exif ; Must be after mbstring as it depends on it
extension=mysqli
;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
;extension=odbc
;extension=openssl
;extension=pdo_firebird
extension=pdo_mysql
;extension=pdo_oci
;extension=pdo_odbc
extension=pdo_pgsql
extension=pdo_sqlite
extension=pgsql
;extension=shmop
yii
Yii Error: CDbConnection failed to open the DB connection: could not find driver
1 de August de 2019
Errors, Yii
No Comments
adrianoApi
Error:
CDbConnection failed to open the DB connection: could not find driver
C:\xampp72\htdocs\DEV\project\protected\models\SystemConfiguration.php(50)
Solution: In php.ini, enable the configurations according to the base used:
extension=mbstring
extension=exif ; Must be after mbstring as it depends on it
extension=mysqli
;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
;extension=odbc
;extension=openssl
;extension=pdo_firebird
extension=pdo_mysql
;extension=pdo_oci
;extension=pdo_odbc
extension=pdo_pgsql
extension=pdo_sqlite
extension=pgsql
;extension=shmop
yii