Установить sqlite убунту php - После установки и настройки sqlite не работает на Ubuntu 14.04, почему?

I install apt-get php5-sqlite3 and edited php. However, I get "Class SQLite3 not found" when I use. Please see the solution from Stacey Richards for the correct answer. Ripped from the ubuntu form. The accepted answer is not complete without the remainder of instructions paraphrased below from the forum thread linked to:. By posting your answer, you agree to the privacy policy and terms of service.

Stack Overflow Questions Developer Jobs Documentation beta Tags Users. Sign up or log in to customize your list. Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us.

Log In Sign Up. Join the Stack Overflow Community. Stack Overflow is a community of 7.

Система управления базами данных SQLite. Изучаем язык запросов SQL на примере библиотекой SQLite3

Join them; it only takes a minute: I am trying to install sqlite3 for PHP in Ubuntu. When I run phpinfo ; I get SQLITE3 SQLite3 support enabled sqlite3 library version 3. However, I get "Class SQLite3 not found" when I use new SQLite3 "database". Lucio 1, 2 19 Moon 8, 54 Please delete this answer! There is a way better answer below, and the votes back it up strongly!

Kotoblog

Stacey Richards 4, 7 27 Definitely the easiest solution. The accepted answer is not complete without the remainder of instructions paraphrased below from the forum thread linked to: I thought you also had to modify the php. At least on Ubuntu For PHP7, use sudo apt-get install php7. The SQLite3 PDO driver is named SQLite, not SQLite3, so you can do: Misa Lazovic 2, 9 21 Bitcoin Mining 21 1.

Hazem Hagrass 4, 4 21 Careful with these commands! While this could actually work it would be useful to inform that this will remove and purge all packages starting with "php5". In other words it will remove both core files and configuration files. The cleaning out and then re installing all these things was good Sign up or log in StackExchange. Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Podcast — Frustrating Miracles.

Stack Overflow works best with JavaScript enabled. However, I get "Class SQLite3 not found" when I use new SQLite3 "database" ; php sqlite3 share improve this question. The 2nd to last command should be sudo checkinstall after running sudo apt-get install checkinstall. I guess OP needs to know some config changes.



Коментарии:

Установка и запуск SQLite3 в Windows 7 Часть 1.