[eluser]winter[/eluser]
Hi all, I just wanted to post here what I've found out about the following combination:
SQLite3, Debian, PHP, and Apache
Of course I'm using CI. I want to use a SQLite3 DB for holding some config data.
In general, it won't work.
From what I can gather:
The way to access SQLite2 DBs and SQLite3 DBs from PHP differs.
Currently, the only way to access a SQLite3 DB from PHP using Debian packages is to use the PDO driver(which is installed when installed php5_sqlite; you also need to install php5_sqlite3 for SQLite3 support). CI does not use this. CI might only support SQLite2 functions and not the SQLite3 class.
Please correct me if I'm wrong. I think CI + SQLite is a fantastic combination for small apps, prototypes, and portability - though not so portable if SQLite has unequal support on various platforms. :/