Welcome to Centmin Mod Community
Become a Member

Beta Branch update mongodb PHP extension 1.21.14/2.5.8 in 140.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 20, 2026 at 8:54 AM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,551
    12,627
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,292
    Local Time:
    12:44 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update mongodb PHP extension 1.21.14/2.5.8 in 140.00beta01

    Security update. mongodb 1.21.14 no longer puts the MongoDB connection
    string, which can contain the username and password, into URI parse
    error messages and debug logs (PHPC-2804). Moving from 1.20.0/1.21.2
    also brings the 1.21.11 fixes for CVE-2026-106436 and CVE-2026-106432,
    the BSON nesting limits (PHPC-2636, PHPC-276) and libmongoc 1.30.16.


    PHP 8.6 builds now use mongodb 2.5.8 (new MONGODBPHP_EIGHTSIX_VER).
    mongodb 1.21.x and 2.1.x use XtOffsetOf(), ZVAL_IS_NULL(), zval_is_true()
    and zval_dtor(), which PHP 8.6 removed, so they no longer compile.
    mongodb 2.x removes deprecated 1.x APIs; applications using the
    mongodb/mongodb library on PHP 8.6 need its 2.x release.

    Changes:
    - MONGODBPHP_EIGHTTWO_VER 1.20.0 -> 1.21.14
    - MONGODBPHP_EIGHTTHREE/FOUR/FIVE_VER 1.21.2 -> 1.21.14
    - add MONGODBPHP_EIGHTSIX_VER='2.5.8' and a PHP 8.6 version branch ahead
    of the PHP 8.5 catch-all in inc/mongodb.inc and inc/downloads.inc
    - example/custom_config.inc: update MONGODBPHP_EIGHTTWO_VER
    - tools/check-upstream-versions.sh: track MONGODBPHP_EIGHTSIX_VER

    Continue reading...

    140.00beta01 branch