I am trying to install sqlite3 for PHP in Ubuntu.
I install apt-get php5-sqlite3
and edited php.ini
to include sqlite3 extension.
When I run phpinfo();
I get
SQLITE3
SQLite3 support enabled
sqlite3 library version 3.4.2
as shown above, sqlite3
is enabled. However, I get "Class SQLite3 not found" when I use
new SQLite3("database");
question from:https://stackoverflow.com/questions/65854218/how-do-i-connect-to-db-database-in-php-created-by-python-sqlite3-library