Join the community today
Register Now

Beta Branch fix memcached PHP extension source for PHP 8.6 in menu 10 in 140.00be…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 14, 2026 at 10:54 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,407
    12,614
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,273
    Local Time:
    11:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix memcached PHP extension source for PHP 8.6 in menu 10 in 140.00beta01

    centmin.sh menu 10 (memcached reinstall) chose the memcached PHP extension
    source from version lists that stopped at PHP 8.5, and from PHPCURRENTVER,
    which since b1d6997c was only set when the memcache extension is built. On
    PHP 8.6, where memcache is skipped, menu 10 fell back to the memcached 3.1.5
    release tarball instead of the PHP 8 git source. 3.1.5 does not compile on
    PHP 8.6, and menu 10 still exited 0 with the old memcached.so left in place.
    Menu 5 was unaffected because it sets PHPVER_ID.


    Changes:
    - inc/memcached_install.inc: set PHPCURRENTVER from php-config before the
    memcached checks, so they see the installed PHP even when the memcache
    block is skipped (PHPMEMCACHE_MAXVERNUM) or PHP_MEMCACHE='n'
    - add PHP 8.6 to the memcache and memcached version lists

    Continue reading...

    140.00beta01 branch