I am trying to install sqlite3 for PHP in Ubuntu.
I install apt-get php5-sqlite3
and edited php.ini
to include sqlite3 extension.
W
For Debian distributions. Nothing worked for until I added the debian main repositories on the apt sources (I don't know how were they removed):
sudo vi /etc/apt/sources.list
and added
deb http://deb.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main
after that sudo apt-get update
(you can upgrade too) and finally sudo apt-get install php-sqlite3