Page 1 of 1

xampp 7.4.1 sqlite not work

PostPosted: 14. January 2020 22:25
by szajens
Hi,

How to active sqlite extension in new xampp?

Not work

i edit: php.ini:

;extension=pdo_sqlite.dll
;extension=sqlite3

change to:

extension=pdo_sqlite.dll
extension=sqlite3

and:
sqlite3.extension_dir = "C:\xampp\php\ext" or sqlite3.extension_dir = "C:\xampp\php\windowsXamppPhp\ext"

but is not work

help me please :D

Re: xampp 7.4.1 sqlite not work

PostPosted: 16. January 2020 21:29
by gsmith

Re: xampp 7.4.1 sqlite not work

PostPosted: 17. January 2020 21:28
by szajens
thx for reply,

(xampp 7.4.1)
but must copy file libsqlite3.dll to apache/bin and change value in php.ini

extension=pdo_sqlite

extension=php_sqlite3.dll

Re: xampp 7.4.1 sqlite not work

PostPosted: 25. January 2021 07:28
by Neustradamus
The problem is always here in xampp-windows-x64-7.4.14-0-VC15 and other I think.

In \xampp\apache\conf\extra\httpd-xampp.conf

Search:
LoadModule php7_module "/xampp/php/php7apache2_4.dll"

Add after:
LoadFile "/xampp/php/libsqlite3.dll"

Restart Apache, it works.

Re: xampp 7.4.1 sqlite not work

PostPosted: 24. February 2021 09:02
by stelarose
How has your problem been handled?