Welcome to Centmin Mod Community
Register Now

Beta Branch update custom curl to 8.23.0 on system OpenSSL 3 for EL9 PHP 7.4/8.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+
    update custom curl to 8.23.0 on system OpenSSL 3 for EL9 PHP 7.4/8.0 in 140.00beta01


    EL9 PHP 7.4/8.0 builds that use the shared /opt/openssl 1.1.1 now build
    custom curl 8.23.0 against the system OpenSSL 3 instead of curl 8.17.0,
    while PHP keeps its own OpenSSL 1.1.1. curl 8.18 and newer require
    OpenSSL 3, and 8.17.0 is affected by 61 known CVEs.

    Changes:
    - compile_custom_curl: build curl 8.23.0 against the system OpenSSL 3
    when PHP uses the shared /opt/openssl 1.1.1 and the system OpenSSL is
    3.x, running curl's configure with PKG_CONFIG_PATH cleared
    - remove the EL9 compat-openssl11 runtime and headers path for custom curl
    - reuse an existing /opt/curl_php only when curl -V shows the same curl
    version and OpenSSL major version, with the CURL_* exports set first
    - a failed custom curl build now returns 1 and stops the PHP upgrade
    before PHP configure runs

    Continue reading...

    140.00beta01 branch