Get the most out of your Centmin Mod LEMP stack
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

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    3:24 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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
     
    • Winner Winner x 1
  2. eva2000

    eva2000 Administrator Staff Member

    35,992
    7,896
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,174
    Local Time:
    3:24 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    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
     
..