Web lists-archives.com

Re: JSON1 extension for SQLite




Yves Goergen in php.general (Fri, 15 Feb 2019 23:41:29 +0100):
>I've already asked in their support forum and they say that XAMPP only 
>includes PHP's official Windows builds. I've looked around and found two 
>SQLite-related files: php_pdo_sqlite.dll and php_sqlite3.dll, both are 
>around 840 kB. There is no DLL named like json1.

Intriguing issue. Could you try the json1.dll inside
https://phpdev.toolsforresearch.com/php-7.3.2-nts-Win32-VC15-x64.zip

See https://www.apachelounge.com/viewtopic.php?t=6359 for info about
these builds.

Note: sqlite3.extension_dir in your php.ini should contain the full path
to the directory with the json1.dll. 

I tested loading of the extension with the following php.ini:

[PHP]
sqlite3.extension_dir = "N:\php-sdk\php73dev\x64\Release\php-7.3.2"
extension_dir = "ext"
extension=sqlite3

The json1.dll should also work with your XAMPP, AFAIK.
-- 
Jan