I am new to Sqlite and am starting to play around with using it for a small php project. My question is should I use an sqlite 2.1 DB or sqlite 3? What are the pros and cons of each? Is sqlite 3 available on most hosts nowadays? I want to use the version that is most widely available.
Any insight would be appreciated. Thanks!
SQLite 3 adds UTF-8 support, so for that reason alone you’re far better off with it than an older version. unless you have a specific reason to require backwards compatibility with older versions you should use version 3.
SQLite 3 also supports BLOBs and offers improved concurrency.