SQLite Forum

Help with pdo_sqlite.so install on Debian 11 php8.1.11
Login

Help with pdo_sqlite.so install on Debian 11 php8.1.11

(1) By dwl (dannylarsen) on 2023-10-24 16:28:39 [link] [source]

I am trying to install the sqlite3 php module for php8.1.11 on Debian 11. Does anyone have any insight on this. I have tried several methods without success. I have also tried re compiling, I'm not super experienced Thanks

(2) By Larry Brasfield (larrybr) on 2023-10-24 17:53:39 in reply to 1 [link] [source]

You should ask this in a forum dedicated to PHP. You might get lucky here, but your odds would be better where your question is more on-topic.

(3) By Larry Brasfield (larrybr) on 2023-10-24 17:53:39 in reply to 1 [source]

You should ask this in a forum dedicated to PHP. You might get lucky here, but your odds would be better where your question is more on-topic.

(4.1) By Mucip (Mucipp) on 2023-10-24 18:37:19 edited from 4.0 in reply to 1 [link] [source]

Hi, Did you try below command?

sudo apt-get install php-sqlite3

By the way correct answe is in here (https://stackoverflow.com/questions/948899/how-to-enable-sqlite3-for-php)

sudo apt update sudo apt install php8.2-sqlite3 sudo phpenmod pdo_sqlite sudo systemctl restart apache2

P.S.: You're lucky than... ;)

Regards, Mucip:)