You are here
Maxime Lafontaine - Wed, 2010/01/20 - 19:49
Hi.
I need to add support for SQLite on my LAMP. I just don't find the way to install PDO Sqlite for PHP via apt-get...
Suggestion?
Thanks a lot!
Forum:
Hi.
I need to add support for SQLite on my LAMP. I just don't find the way to install PDO Sqlite for PHP via apt-get...
Suggestion?
Thanks a lot!
Hello Maxime, i think apt-get
Hello Maxime,
i think apt-get install php5-sqlite does the trick.
If you want to replace mysql with sqlite
Just uploaded to the forums: http://www.turnkeylinux.org/forum/general/20100218/tklpatch-lasp-stack
TBH I'm not sure on the initial config...
/etc/php5/cli/php.ini is the config file for php5-cli; which essentially allows php programs to be run from the commandline. Generally the 'normal' php.ini (/etc/php5/apache2/php.ini) is more important as it will affect the way that php apps run in the web browser. My personal take would be that unless you have configured php to do anything specific on the commandline then install the new config file. You can always tweak it later. FWIW TurnKey includes etckeeper by default so your old php.ini will be saved within the /etc git repo anyway.
I probably should have read this before posting above...
Sounds like you answered the question yourself! :) Anyway I hope the extra info I posted above will be useful for future reference (and/or for anyone else...).
Add new comment