I\'m trying to run Sqlite3 with CakePHP. Yes, i know it\'s not officially supported, but this post here: How do I connect CakePHP to a SQLite database? says it\'s possible.
The driver file should be named dbo_sqlite3.php
. You can download the latest version from GitHub.
Your database config could look like this:
var $default = array(
'driver' => 'sqlite3',
'database' => 'database.sqlite'
);
CakePHP will look for the database file in app/webroot. You can use an absolute path or a path relative to the webroot directory. For example, if you'd rather store the database in the app directory (one level up from the webroot), you could write:
'database' => '../database.sqlite'