php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #72385 Update SQLite bundle lib
Submitted: 2016-06-11 22:18 UTC Modified: 2016-08-02 10:35 UTC
From: alejosimon at gmail dot com Assigned: cmb (profile)
Status: Closed Package: SQLite related
PHP Version: 7.0.8RC1 OS: Windows 10
Private report: No CVE-ID: None
 [2016-06-11 22:18 UTC] alejosimon at gmail dot com
Description:
------------
There is possibility to upgrade the bundled libsqlite to the
latest version?

http://www.sqlite.org/changes.html

thanks!

Test script:
---------------
<?php

  $pdo = new PDO( 'sqlite::memory:' ) ;

  $res = $pdo->query( 'SELECT sqlite_version()' ) ;

  print_r( $res->fetchColumn() ) ;

?>

Expected result:
----------------
3.13.0 (or most recent)

Actual result:
--------------
3.8.10.2

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-14 00:55 UTC] laruence@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence
 [2016-06-16 13:26 UTC] alejosimon at gmail dot com
-Status: Closed +Status: Assigned
 [2016-06-16 13:26 UTC] alejosimon at gmail dot com
OK, thanks! but recently I download from snap the "php-7.0.7-Win32-VC14-x64.zip" file,  but the sqlite version is the 3.9.2. :(

what happen?
 [2016-06-27 16:36 UTC] cmb@php.net
Apparently, only master has been updated to sqlite 3.13.0. As this
release contains bug fixes, shouldn't 5.6 and 7.0 also be updated?
Currently, they're still on 3.8.10.2.
 [2016-07-24 11:45 UTC] cmb@php.net
-Assigned To: laruence +Assigned To: cmb
 [2016-08-02 10:35 UTC] cmb@php.net
-Status: Assigned +Status: Closed
 [2016-08-02 10:35 UTC] cmb@php.net
After some discussion on php-internals[1], it has been decided to
update PHP 7.0+ to SQLite3 3.13.0, but to stick with SQLite3
3.8.10.2 for PHP 5.6 for now.

[1] <http://marc.info/?l=php-internals&w=2&r=1&s=Bundled+SQLlite3&q=b>
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Jan 23 17:01:23 2021 UTC