Enable Sqlite in PHP on Apache

To enable SQLite on Windows/Apache/PHP setup, Uncomment the following lines in the php.ini file and restart Apache:

[code]
extension=php_pdo.dll
extension=php_pdo_sqlite.dll
[/code]

To enable SQLite on Ubuntu, Use the following command
[code]
sudo apt-get install sqlite php5-sqlite
sudo apt-get install php-pear php-apc php5-curl
[/code]

Permanent link to this article: https://blog.openshell.in/2012/04/enable-sqlite-in-php-on-apache/

Leave a Reply

Your email address will not be published.