Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch fix CentOS 6 nginx and PHP builds in 140.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Oct 22, 2026 at 2:44 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    60,036
    12,571
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,224
    Local Time:
    5:22 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix CentOS 6 nginx and PHP builds in 140.00beta01

    CentOS 6 nginx upgrades failed at several dependency build stages and
    yum was broken by an EOL MariaDB repo URL. Fixes are gated to CentOS 6
    except where the bug exists on all OSes for a specific config.

    Changes:
    - centmin.sh, centmin-cli.sh: on CentOS 6 disable devtoolset-10/11
    which do not exist for EL6, use the newest installed devtoolset
    (9, 8 or 7) and put its bin directory first in PATH so builds using
    plain gcc don't fall back to system GCC 4.4.7
    - inc/openssl_install.inc: crypto_gccunset resets CC/CXX to the newest
    installed devtoolset GCC on CentOS 6 instead of system GCC 4.4.7
    - inc/zlib.inc: skip -fuse-ld=gold for cloudflare zlib on CentOS 6
    - inc/cpcheck.inc: switch CentOS 6 MariaDB 10.1-10.4 yum repos to
    archive.mariadb.org as yum.mariadb.org centos6 paths return 404
    - inc/brotli.inc: on CentOS 6 use the older ngx_brotli build method
    with cmake3 as brotli 1.1.0+ requires CMake 3.15+
    - inc/brotli.inc: clear CMAKE_STATIC_LINKER_FLAGS for the older
    configure-cmake method as ar can't use the passed LDFLAGS
    - inc/nginx_configure.inc: drop -Wl,--as-needed when the dynamic stream
    module includes built-in stream_geoip, as the nginx binary otherwise
    loses its libGeoIP link and ngx_stream_module.so fails to load

    Continue reading...


    140.00beta01 branch