Discover Centmin Mod today
Register Now

Beta Branch update Nginx & PHP-FPM LTO routines in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 2, 2024.

  1. eva2000

    eva2000 Administrator Staff Member

    58,905
    12,490
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,122
    Local Time:
    2:39 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update Nginx & PHP-FPM LTO routines in 130.00beta01

    - Nginx and PHP-FPM optionally support compiling with LTO. Nginx enables LTO by default when server resources are capable. PHP-FPM disables LTO by default PHP_LTO='n'.
    - This commit updates Nginx LTO routine to also auto enable -ffat-lto-objects via NGINX_FATLTO_OBJECTS='y' when detects >16 CPU cores and at least 30+ GB of memory or when NGINX_LTO_FORCE='y' set n the persistent config file /etc/centminmod/custom_config.inc prior to centmin.sh menu option 4 compiles
    - This commit updates LTO for PHP-FPM routine when PHP_LTO='y' is enabled and when detects <=16 CPU cores and <30+ GB of memory force disables PHP_LTO='n' even when you set PHP_LTO_FORCE='y' in the persistent config file /etc/centminmod/custom_config.inc prior to centmin.sh menu option 5 compiles

    Continue reading...


    140.00beta01 branch