开发者

Couldn't locate driver named sqlite

开发者 https://www.devze.com 2023-01-05 05:19 出处:网络
symfony 1.2, doctrine, dsn: sqlite:%sf_data_dir%/db.sq3 When i am trying \"php symfony dctrine:build-sql\" i get this error, but on frontend all fine.

symfony 1.2, doctrine, dsn: sqlite:%sf_data_dir%/db.sq3

When i am trying "php symfony dctrine:build-sql" i get this error, but on frontend all fine. Also i have tried to change ini file this 开发者_StackOverflowway

php -c "path to file" symfony doctrine:build-sql

but get the same error

Couldn't locate driver named sqlite


Added to symfony script file dl(pdo_sqlite.so);
It works!


I think you are missing the php5-sqlite package in Ubuntu.

0

精彩评论

暂无评论...
验证码 换一张
取 消