On 4/13/16, Clemens Ladisch <clemens at ladisch.de> wrote: > Fehmi Ozuseven wrote: >> I need json functions badly in SQLite. [...] >> But also I need to do that via PHP. [...] The last thing I tried is >> downloading php-7.0.5.tar.bz2 and trying compile sqlite in ext folder by >> myself. [...] >> Surprisingly it was work but it says SQLite Library Version 3.8.10.2. > > You have to replace PHP's copy of sqlite3.c with a current version of > the amalgamation. >
More than that, he might also need to add -DSQLITE_ENABLE_JSON1 to the makefile that builds PHP. -- D. Richard Hipp drh at sqlite.org