Want to subscribe to topics you're interested in?
Become a Member

Beta Branch add CentOS 7 PHP 8.4+ OpenSSL check to menu 5 PHP upgrade in 140.00be…

Discussion in 'Centmin Mod Github Commits' started by eva2000, Dec 4, 2026 at 1:54 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,673
    12,636
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,303
    Local Time:
    12:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    add CentOS 7 PHP 8.4+ OpenSSL check to menu 5 PHP upgrade in 140.00beta01


    PHP 8.4+ configure needs OpenSSL 1.1.1+ but CentOS 7 ships OpenSSL 1.0.2k, so menu 5 upgrades to PHP 8.4/8.5 failed at PHP configure. Stop before the PHP download with a message unless PHP_CUSTOMSSL_FORCE='y' is set.

    Changes:
    - add php_centos7_openssl_guard() to inc/php_upgrade.inc: blocks PHP 8.4+, NGDEBUG and the legacy 5.7 php-src master alias on CentOS 7 when PHP_CUSTOMSSL_FORCE is not y
    - call it before gethtpasswdsh and phpng_download on every menu 5 path (interactive, CLI, UALL)
    - recompute PHPMUVER after the interactive re-prompt so a corrected version is the one checked
    - stop UALL PHP updates when php-config --version returns no version
    - download the OpenSSL source in check_openssl_shared_libraries when PHP_CUSTOMSSL_FORCE='y' rebuilds it and the tarball is missing

    Continue reading...

    140.00beta01 branch