Welcome to Centmin Mod Community
Register Now

Beta Branch add PHP 8.4, 8.5 and 8.6 build support for centmin.sh menu 5 in 140.0…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Nov 14, 2026 at 10:14 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+
    add PHP 8.4, 8.5 and 8.6 build support for centmin.sh menu 5 in 140.00beta01

    Backport the PHP 8.4, 8.5 and 8.6 menu 5 build fixes from 141.00beta01.
    Tested with menu 5 upgrades 8.3.36 -> 8.4.27 -> 8.5.12 -> 8.6.0RC7 on
    AlmaLinux 8 and 9.


    Changes:
    - inc/php_configure.inc: pass --enable-pic instead of --with-pic for PHP
    8.6+ (--with-pic is a configure error on 8.6); add 8.6 to the PGO GCC
    fallback gates and 8.5/8.6 to the PHP_CUSTOMSSL upgrade OpenSSL 3 gates
    - inc/redis.inc, inc/php_upgrade.inc: build phpredis from its develop
    branch on PHP 8.4 and 8.6 (6.3.0 does not build on 8.6); PHP 8.5 now
    builds the 6.3.0 release instead of develop; add 8.6 to the redis version
    lists; pick the redis igbinary configure option by php-config --vernum,
    so a standalone redis reinstall on PHP 8.4+ no longer enables igbinary
    - inc/memcached_install.inc: skip the memcache PHP extension at/above
    PHPMEMCACHE_MAXVERNUM (80600) and remove its orphaned memcache.ini;
    the memcached PHP extension is unaffected
    - inc/php_upgrade.inc: skip the mcrypt PECL extension at/above
    PHPMCRYPT_MAXVERNUM (80600), which removes its mcrypt.ini
    - inc/mongodb.inc: map IS_INTERNED to ZSTR_IS_INTERNED on PHP 8.5+, return
    on cd, phpize, configure and make failures, and check mongodb.so exists
    - inc/libzip.inc: remove LIBZIP_EIGHT_FIVE_VER and the PHP 8.5 libzip
    override; libzip 1.22.7 does not exist
    - swoole: PHPSWOOLE_EIGHT_FOUR_VER and PHPSWOOLE_EIGHT_FIVE_VER 6.2.5 (6.0.0
    and 6.1.2 were always skipped as affected by the upload file deletion
    flaw); add PHP 8.5 to the swoole download gate
    - add 8.5/8.6 to the PHP version checks in igbinary, mailparse, memcached,
    imagick, gcc, downloads, php_upgrade, centmin.sh and centmin-cli.sh;
    imagick git builds report version 3.8.1
    - addons/ioncube.sh: install the ioncube loader on PHP 8.4 and report no
    loader for PHP 8.5 and 8.6
    - example/custom_config.inc: document PHPMEMCACHE_MAXVERNUM and
    PHPMCRYPT_MAXVERNUM

    Continue reading...

    140.00beta01 branch