Learn about Centmin Mod LEMP Stack today
Register Now

Stable Branch fix CentOS 6 nginx and PHP builds in 132.00stable

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:26 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    fix CentOS 6 nginx and PHP builds in 132.00stable

    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 noted.

    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/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

    Continue reading...


    132.00stable branch