I see everywhere (including on the official docs) that the PDO_SQLITE driver is/should be included by default in PHP.
However, when I look at my
For Windows users:
removed comment (;
) from php.ini
extension=php_pdo_sqlite.dll
extension=php_sqlite3.dll
In my case i was using php 7.2 in Ubuntu. I had to run following command,
sudo apt install php7.2-sqlite
For PHP 7.0 and greater:
sudo apt-get install php-sqlite3
For Windows 10 - 64bits, version PHP 7.2 It's necessary remove only ( ; ) Before ;extension=pdo_sqlite ;extension=sqlite3
After extension=pdo_sqlite extension=sqlite3
Restart the server and already.
did you try sudo apt-get install php5-sqlite
?