Maxime Lafontaine's picture

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: 
Anton Hummel's picture

Hello Maxime,

i think apt-get install php5-sqlite does the trick.

 


Jeremy Davis's picture

/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.

Jeremy Davis's picture

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