Join the community today
Become a Member

Wordpress Install persistent config for a wordpress site

Discussion in 'Blogs & CMS usage' started by Venucci, Nov 4, 2019.

  1. Venucci

    Venucci Member

    63
    8
    8
    Sep 25, 2018
    Ratings:
    +8
    Local Time:
    7:27 PM
    currentyl
    10
    Please fill in any relevant information that applies to you:
    • CentOS Version: i.e. CentOS 7 64bit ?
    • Centmin Mod Version Installed: i.e. or 123.09beta01
    • Nginx Version Installed: i.e. 1.17.5
    • PHP Version Installed: i.e. 7.3.11
    • MariaDB MySQL Version Installed: i.e. 10.3.18
    • When was last time updated Centmin Mod code base ? : a week ago
    • Persistent Config: lets encrypt y
    I am using a wordpress site with cloudflare as proxy via 22 keycdn. WHich is the recommended persistent config that would be useful for a wordpress site ? Which is your recommendation?

     
  2. eva2000

    eva2000 Administrator Staff Member

    42,078
    9,497
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,613
    Local Time:
    4:27 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    for persistent config file /etc/centminmod/custom_config.inc, only one you require would be
    Code (Text):
    # enable letsencrypt ssl certificate + dual RSA+ECDSA ssl certs https://centminmod.com/acmetool/
    LETSENCRYPT_DETECT='y'
    DUALCERTS='y'
    

    and optionally ones below to be set and then recompile nginx and php-fpm via centmin.sh menu option 4 and 5 respectively
    Code (Text):
    # boost PHP 7 performance by enabling Profile Guided Optimisation flag
    # https://centminmod.com/perf/
    # will dramatically increase PHP-FPM compile/install times but result in
    # 5-20% faster PHP 7+ performance. PHP_PGO='y' only works with servers with
    # 2+ or more cpu threads. However, you can force PHP PGO optimisations with
    # 1 cpu thread servers via PHP_PGO_ALWAYS='y'
    PHP_PGO='y'
    
    # enable brotli compression https://community.centminmod.com/threads/10688/
    NGINX_LIBBROTLI='y'
    NGXDYNAMIC_BROTLI='y'
    
    # php compression extensions https://community.centminmod.com/posts/70777/
    PHP_BROTLI='y'
    PHP_LZFOUR='y'
    PHP_LZF='y'
    PHP_ZSTD='y'
    
    # php file info
    PHPFINFO='y'
    
     
  3. Venucci

    Venucci Member

    63
    8
    8
    Sep 25, 2018
    Ratings:
    +8
    Local Time:
    7:27 PM
    currentyl
    10
    thanks eva i am going to give it a try ;) and hopefully post some speed performance tests
     
  4. Jay Chen

    Jay Chen Active Member

    106
    33
    28
    Sep 10, 2017
    Ratings:
    +57
    Local Time:
    1:27 PM
    We only need to have one of the above right? They all seem to be compression algorithms