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.
精彩评论