Welcome to Centmin Mod Community
Become a Member

Beta Branch extend MARCH_TARGETNATIVE='n' VPS host checks in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 21, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    8:18 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    extend MARCH_TARGETNATIVE='n' VPS host checks in 123.09beta01

    - add hetzner, frantech (buyvm.net), hostus, ramnode, amazon aws, google cloud and microsoft azure to existing checks for upcloud, linode, digitalocean, vultr which when centmin mode detects these VPS hosts, will auto force set MARCH_TARGETNATIVE='n' so as to compile Nginx, PHP-FPM and PHP extensions with more generic options that specific cpu optimisations due to these VPS host nodes having varying cpu models which would break more specific cpu model optimisations. You can override this via MARCH_TARGETNATIVE_ALWAYS='y' set in persistent config file /etc/centminmod/custom_config.inc prior to initial Centmin Mod install so to force optimisations for specific cpu models but it will break the software if you switch VPS host nodes with a different cpu model that one initially optimised for. In such cases, you need to recompile all Centmin Mod source compiled software when cpu model changes via re-compile nginx, php, memcached via centmin.sh menu option 4, 5 and 10 if you set MARCH_TARGETNATIVE_ALWAYS='y'. Example of issues at PHP-FPM - Can not upgrade to php 7.4.3

    Continue reading...

    123.09beta01 branch