Learn about Centmin Mod LEMP Stack today
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

    497
    96
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +143
    Local Time:
    6:16 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

    47,461
    10,759
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,715
    Local Time:
    9:16 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    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.