E
E
Eugene2013-11-15 15:41:57
ubuntu
Eugene, 2013-11-15 15:41:57

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

2 answer(s)
N
NobuSan13, 2013-11-15
@NobuSan13

sudo apt-get purge sqlite3 or sudo apt-get autoremove sqlite3 try

B
Boris Syomov, 2013-11-15
@kotomyava

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 question

Ask a Question

731 491 924 answers to any question