Welcome to Centmin Mod Community
Become a Member

Beta Branch additional nginx & php-fpm Cloudflare zlib library prechecks

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 25, 2018.

  1. eva2000

    eva2000 Administrator Staff Member

    54,384
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    12:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    additional nginx & php-fpm Cloudflare zlib library prechecks

    Additional checks against GCC native cpu flags to make sure that GCC supports -mpclmul (enabled). Seems some server configurations with older cpus i.e. Intel Xeon Lynnfield 2009 and Xeon Westmere 2010 are returning GCC flags without -mpclmul enabled causing Nginx operation issues when compiled with Cloudflare zlib performance forked library instead of standard zlib libraries can't load main page after a clean install. This update adds an additional check for pclmul instructions from GCC native output + the existing check for SSE4.2 in /proc/cpuinfo before determining that Cloudflare zlib library can be used for Nginx zlib and PHP-FPM zlib usage. If these 2 checks fail, then Centmin Mod will auto fallback to standard zlib library.

    Continue reading...

    123.09beta01 branch


     
  2. eva2000

    eva2000 Administrator Staff Member

    54,384
    12,198
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,763
    Local Time:
    12:16 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Looks like the issue is due to the web host's server motherboard having AES-NI support disabled within motherboard bios settings so pclmul cpu flag support is not passed onto guest VPS OSes can't load main page after a clean install