How do I enable SQLite on Linux/Apache/PHP?
- by Edward Tanguay
To enable SQLite on my Windows/Apache/PHP setup, I uncomment the following lines in the php.ini file and restart Apache:
extension=php_pdo.dll
extension=php_pdo_sqlite.dll
Now I have a VPS with Suse Linux 10.3 and Apache/PHP was set automatically. Looking through the php.ini file to make the above changes, I see that things are a little different on Linux:
there is no list of extensions to uncomment
I found "extension_dir = /usr/lib/php5/extensions" but in this directory find only:
pdo.so
pdo_mysql.so
How can I enable SQLite in this Linux environment?