linux:sqlite_ubuntu12_04
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
linux:sqlite_ubuntu12_04 [23.03.2013 20:14] – removed eanderalx | linux:sqlite_ubuntu12_04 [06.06.2013 15:25] (current) – [Get sqlite2] eanderalx | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Sqlite2 for BlogTNG on Ubuntu 12.04 ====== | ||
+ | |||
+ | I recently installed a < | ||
+ | But after adding [[https:// | ||
+ | ~~READMORE~~ | ||
+ | < | ||
+ | PHP Fatal error: | ||
+ | </ | ||
+ | After some searching I find out that: | ||
+ | |||
+ | "//The plugin creates a blogtng.sqlite file which is currently a SQLite2 database and will not work with sqlite3 installed//" | ||
+ | |||
+ | but it seems Ubuntu 12.04 no longer has sqlite2. | ||
+ | |||
+ | < | ||
+ | ii libaprutil1-dbd-sqlite3 | ||
+ | ii libsqlite0 | ||
+ | ii libsqlite3-0 | ||
+ | ii php5-sqlite | ||
+ | ii sqlite3 | ||
+ | </ | ||
+ | |||
+ | These are the package versions. No v2! | ||
+ | |||
+ | ===== Get sqlite2 ===== | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | We are manipulating libraries I think you know: This changes have to be done as root user (or with sudo). And pleas be careful don't damage your installation | ||
+ | |||
+ | You have to get an older sqlite package from a prior Ubuntu.\\ | ||
+ | **x64**< | ||
+ | **x32**< | ||
+ | |||
+ | After this extract it<code bash> | ||
+ | cd /tmp | ||
+ | mkdir sqlite | ||
+ | dpkg -x php5-sqlite_5.3.5-1ubuntu7.11_i386.deb sqlite | ||
+ | </ | ||
+ | And copy the library to the others< | ||
+ | cp -iv sqlite/ | ||
+ | </ | ||
+ | Now you have to create an ini file witch activates the new module< | ||
+ | ; configuration for php SQLite module | ||
+ | extension=sqlite.so | ||
+ | </ | ||
+ | And finaly restart your apache< | ||
+ | |||
+ | Now < | ||
+ | |||
+ | ===== Links ===== | ||
+ | |||
+ | http:// | ||
linux/sqlite_ubuntu12_04.txt · Last modified: 06.06.2013 15:25 by eanderalx