A
A
Alexander Yelagin2016-09-05 00:13:50
SQLite
Alexander Yelagin, 2016-09-05 00:13:50

After installing and configuring sqlite doesn't work on Ubuntu 14.04, why?

Hello.
I really need help in solving this issue - I have ubuntu 14.04 installed on my computer, installed PHP Version 7.0.10-2+deb.sury.org~trusty+1. It is necessary for the sqlite project to work, but after installing sqplite php, an error pops up - PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/pdo_sqlite.so' - /usr/lib/php/20151012/pdo_sqlite.so : undefined symbol: sqlite3_column_table_name.
Tried to install different versions of sqlite - all the same error does not help. Googling didn't find anything useful. some data from php info:
https://nimbus.everhelper.me/client/notes/share/56...
https://nimbus.everhelper.me/client/notes/share/56...
Tried and delete PHP cavity and reinstall everything, there are no problems with any, except for sqlite.

apt-cache search php | grep sqlite
php5-sqlite - Модуль SQLite для php5
php-sqlite3 - SQLite3 module for PHP [default]
php7.0-sqlite3 - SQLite3 module for PHP
php5.6-sqlite3 - SQLite3 module for PHP
php5.5-sqlite3 - SQLite3 module for PHP
php7.1-sqlite3 - SQLite3 module for PHP

Tell me what could be the problem ?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2016-09-05
@dimonchik2013

Isn't it necessary to puff compile with support?
php.net/manual/en/sqlite.installation.php

N
Nazar Mokrinsky, 2016-09-05
@nazarpc

In your case you need the php7.0-sqlite3 module from the same repository

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question