Answer the question
In order to leave comments, you need to log in
How to uninstall Sqlite3 in ubuntu?
I have a server on ubuntu and ISPManager control panel. installed Apache, PHP 5.3.10.
When I try to use the script with SQLite, I get the following error
: Fatal error: Call to undefined function sqlite_open()
I installed sqlite3.so through the panel, but now I can't remove and install sqlite.
Tried:
sudo apt-get remove --purge sqlite3
writes that it was removed, but it is in the lists in the panel. And SQlite.so is not installed.
In phpinfo, after deletion, only the pdo_sqlite section remained: PDO Driver for SQLite 3.x SQLite Library 3.7.9
What to do?
Answer the question
In order to leave comments, you need to log in
To work with sqlite from php, you need to have the following packages installed - php5-sqlite (which apparently does not exist) and libsqlite3-0, on which sqlite3 also depends
. You do not need to remove sqlite3. Apparently, you need to install php5-sqlite.
Well, better use PDO to work with databases.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question