Get the most out of your Centmin Mod LEMP stack
Become a Member

Master Branch prep for pcre2 Nginx support in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 1, 2022.

  1. eva2000

    eva2000 Administrator Staff Member

    59,380
    12,513
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,149
    Local Time:
    8:50 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    prep for pcre2 Nginx support in 123.09beta01

    - Nginx 1.21.5 adds optional pcre2 v10.x support if pcre2 installs are detected otherwise it will default to normal pcre install https://community.centminmod.com/threads/nginx-1-21-5-released.22317/
    - this update is prep work to ensure Centmin Mod Nginx 1.21.5 supports pcre2 v10.x optionally as opposed to current Nginx pcre v8.45 support by installing pcre2 v10.x optionally when pcre2 Nginx support is enabled. By default pcre2 v10.x support in Centmin Mod Nginx will be disabled until further testing is done as Nginx pcre/pcre2 is used by other 3rd party modules like ngx_brotli for Brotli Nginx compression and nginx lua module.
    - future updates will have to change where ngx_brotli, modsecurity and nginx lua and other Nginx modules' dependencies are installed i.e. changing install prefix from /usr/local for from current location at /usr/local/lib and /usr/local/include to a different location so as to group all Nginx dependencies under the same install prefix i.e. /usr/local/nginx-dep/lib and /usr/local/nginx-dep/include as currently that is the same location for system custom wget installed pcre dependency prefix, /usr/local. This is needed so as to be able to switch between Nginx's own pcre v8.45 and pcre2 v10.x versions without breaking system custom wget's pcre dependency
    - Current pcre2 v10.x when optionally enabled will be installed with prefix, /usr/local/nginx-dep so Nginx looks for dependencies at /usr/local/nginx-dep/lib and /usr/local/nginx-dep/include
    - For now, Centmin Mod Nginx still works fine with pcre v8.45 for all Nginx versions


    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.