Re: JSON1 extension for SQLite

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Christoph M. Becker" in php.general (Thu, 21 Feb 2019 09:34:27 +0100):
>On 21.02.2019 at 09:11, Jan Ehrhardt wrote:
>
>> In a way it is a XAMPP issue, because XAMPP sticks to mod_php and PHP
>> threadsafe (ZTS). Upgrading to PHP 7.3 will not help:
>> https://github.com/php/php-src/blob/PHP-7.3/ext/sqlite3/sqlite3.c#L358
>
>If JSON1 is enabled during *compile-time*, there is no need to
>*dynamically* load the extension, see <https://3v4l.org/SXa30>.  Under
>ZTS environments, that's the only possibility to use SQLite3 extensions.

Aha, right. I enabled JSON1 at compile time im PHP 7.0 x86 TS:

N:\php-sdk\php70dev\Release_TS\php-7.0.33>php \php-sdk\sqlite3_json.php
string(5) "[1,2]"

N:\php-sdk\php70dev\Release_TS\php-7.0.33>php-cgi
\php-sdk\sqlite3_json.php
X-Powered-By: PHP/7.0.33
Content-type: text/html; charset=UTF-8

string(5) "[1,2]"

https://phpdev.toolsforresearch.com/php-7.0.33-Win32-VC14-x86.htm 
https://phpdev.toolsforresearch.com/php-7.0.33-Win32-VC14-x86.zip 
-- 
Jan



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux