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

Config file

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Matt Williams, Jun 2, 2021.

  1. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    7:38 PM
    latest
    10
    • Code (Text):
      cat /etc/centminmod/custom_config.inc
      
    Code:
    NGINX_HPACK='y'
    NGINX_SSLCACHE_ALLOWOVERRIDE='y'
    NGINX_STAPLE_CACHE_OVERRIDE='y'
    NGINX_STAPLE_CACHE_TTL='86400'
    NGINX_DYNAMICTLS='y'
    MEMCACHED_TLS='y'
    SET_DEFAULT_MYSQLCHARSET='utf8mb4'
    AUTOHARDTUNE_NGINXBACKLOG='y'
    ZSTD_LOGROTATE_NGINX='y'
    ZSTD_LOGROTATE_PHPFPM='y'
    LETSENCRYPT_DETECT='y'
    DUALCERTS='y'
    SELFSIGNEDSSL_ECDSA='y'
    CLOUDFLARE_ZLIB='y'
    NGINX_LIBBROTLI='y'
    NGXDYNAMIC_BROTLI='y'
    PHP_PGO_ALWAYS='y'
    PHP_PGO='y'
    PHP_BROTLI='y'
    PHP_LZFOUR='y'
    PHP_LZF='y'
    PHP_ZSTD='y'
    PHPFINFO='y'
    WPCLI_CE_QUERYSTRING_INCLUDED='y'
    NGINX_IOURING_PATCH_BETA='y'
    DISABLE_IPVSIX='n'
    PHPPGO_INDEXPATH='/home/nginx/domains/mydomain.com/public/index.php'
    PHP_TUNING='y'
    FPM_WAKEUP_PATCH='y'
    ENABLEMOTD_CSFMSG='n'        
    ENABLEMOTD_LINKSMSG='n'
    VHOSTCTRL_CLOUDFLAREINC='y'
    Question regarding the config file, using php 8 are there any modules that are absolutely not needed? Am I missing any that would benefit speed/performance of WordPress?

     
  2. eva2000

    eva2000 Administrator Staff Member

    53,229
    12,116
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,654
    Local Time:
    9:38 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you mean for
    Code (Text):
    PHP_BROTLI='y'
    PHP_LZFOUR='y'
    PHP_LZF='y'
    PHP_ZSTD='y'
    PHPFINFO='y'
    

    what you need PHP module/extension wise is up to you and your web app requirements so I wouldn't know - hence, why default includes most common ones I need at least for forum software like Xenforo, Invision, vBulletin and for Wordpress.