Added option to choose between Sqlite version3 and version2 when creating database, if both versions are supported by PHP extensions.
(Not tested with v2, though, as I don't have an ancient php supporting it ;))
Fixes issue #290
For most users, the select box would be unnecessary as current PHP versions (since 5.4) do not include SQLiteDatabase anymore and thus have no support for SQLite 2 anymore.
I know we still support these ancient versions.
But anyone still using Sqlite2 and PHP < 5.5 should really consider updating. There is no support for these php versions anymore, they most probably have lots of known security issues.
Support for PHP 5.3 ended in 2014, support for 5.4 in September 2015.
Hi, I understand your point now thank you. The reason why I suggest this option is because I have implemented this option longtime ago and wanted to share it and it was painful to add these changes to code every time I update PHPLiteAdmin. Some of my sites that I maintain still use SQLite 2 and the owner does not want to upgrade since it works fine.