开发者

Couldn't locate driver named sqlite

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜