Learn about Centmin Mod LEMP Stack today
Register Now

Wordpress Wordpress 123.09beta01 Load Testing on Vultr Sydney KVM VPS

Discussion in 'Blogs & CMS usage' started by eva2000, Apr 14, 2017.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    30,850
    6,904
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,394
    Local Time:
    9:35 PM
    Nginx 1.13.x
    MariaDB 5.5
    Setup a 2GB, 1 CPU Sydney Vultr KVM VPS server to test Centmin Mod 123.09beta01 with betainstaller7.sh installer to default to PHP 7.0.18+ for Loader.io testing as one Centmin Mod user was having issues with Loader.io testing of a Vultr 2GB Sydney KVM VPS which seems to be related to differences in out of box tuning for Centmin Mod 123.08stable vs more improved 123.09beta01.

    Server Configuration
    • 2GB Vultr
    • 40GB disk
    • CentOS 7.3 64bit
    • Sydney
    Install command
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller7.sh && chmod 0700 betainstaller7.sh && bash betainstaller7.sh
    


    Install Times
    Code (Text):
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 177.7737 seconds
    Total YUM Time: 16.311650408 seconds
    Total YUM or DNF + Source Download Time: 53.8042
    Total Nginx First Time Install Time: 346.0528
    Total PHP First Time Install Time: 666.1417
    Download Zip From Github Time: 4.3122
    Total Time Other eg. source compiles: 429.0838
    Total Centmin Mod Install Time: 1495.0825
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1677.1684 seconds
    ---------------------------------------------------------------------------
    

    Post-Install Check List
    Code (Text):
    *************************************************
    * Post-Install Check List....
    *************************************************
    
    --------------------------------------------------------
    Check ccache Version:
    --------------------------------------------------------
    ccache version 3.3.4
    
    Copyright (C) 2002-2007 Andrew Tridgell
    Copyright (C) 2009-2017 Joel Rosdahl
    
    This program is free software; you can redistribute it and/or modify it under
    the terms of the GNU General Public License as published by the Free Software
    Foundation; either version 3 of the License, or (at your option) any later
    version.
    
    --------------------------------------------------------
    Check Nginx Version:
    --------------------------------------------------------
    nginx version: nginx/1.11.13
    built by clang 3.4.2 (tags/RELEASE_34/dot2-final)
    built with LibreSSL 2.5.3
    TLS SNI support enabled
    configure arguments: --with-ld-opt='-lrt -ljemalloc -Wl,-z,relro -Wl,-rpath,/usr/local/lib' --with-cc-opt='-m64 -mtune=native -mfpmath=sse -DTCP_FASTOPEN=23 -g -O3 -fstack-protector -fuse-ld=gold --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wno-sign-compare -Wno-string-plus-int -Wno-deprecated-declarations -Wno-unused-parameter -Wno-unused-const-variable -Wno-conditional-uninitialized -Wno-mismatched-tags -Wno-sometimes-uninitialized -Wno-parentheses-equality -Wno-tautological-compare -Wno-self-assign -Wno-deprecated-register -Wno-deprecated -Wno-invalid-source-encoding -Wno-pointer-sign -Wno-parentheses -Wno-enum-conversion -Wno-c++11-compat-deprecated-writable-strings -Wno-write-strings -gsplit-dwarf' --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-compat --with-http_stub_status_module --with-http_secure_link_module --with-libatomic --with-http_gzip_static_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module=dynamic --with-http_geoip_module --with-stream_geoip_module --with-stream_realip_module --with-stream_ssl_preread_module --with-threads --with-stream=dynamic --with-stream_ssl_module --with-http_realip_module --add-dynamic-module=../ngx-fancyindex-0.4.0 --add-module=../ngx_cache_purge-2.3 --add-module=../ngx_devel_kit-0.3.0 --add-module=../set-misc-nginx-module-0.31 --add-module=../echo-nginx-module-0.60 --add-module=../redis2-nginx-module-0.14 --add-module=../ngx_http_redis-0.3.7 --add-module=../memc-nginx-module-0.18 --add-module=../srcache-nginx-module-0.31 --add-module=../headers-more-nginx-module-0.32 --with-pcre=../pcre-8.40 --with-pcre-jit --with-zlib=../zlib-1.2.11 --with-http_ssl_module --with-http_v2_module --with-openssl=../libressl-2.5.3
    
    --------------------------------------------------------
    Check PHP-FPM Version:
    --------------------------------------------------------
    PHP 7.0.18 (cli) (built: Apr 14 2017 13:40:32) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.18, Copyright (c) 1999-2017, by Zend Technologies
    
    --------------------------------------------------------
    Check MariaDB installed RPM Versions:
    --------------------------------------------------------
    MariaDB-common-10.1.22-1.el7.centos.x86_64
    MariaDB-compat-10.1.22-1.el7.centos.x86_64
    MariaDB-server-10.1.22-1.el7.centos.x86_64
    MariaDB-devel-10.1.22-1.el7.centos.x86_64
    MariaDB-client-10.1.22-1.el7.centos.x86_64
    MariaDB-shared-10.1.22-1.el7.centos.x86_64
    
    --------------------------------------------------------
    Check Memcached Server Version:
    --------------------------------------------------------
    memcached 1.4.36
    
    --------------------------------------------------------
    Check CSF Firewall Version:
    --------------------------------------------------------
    csf: v10.05 (generic)
    
    --------------------------------------------------------
    Check Siege Benchmark Version:
    --------------------------------------------------------
    SIEGE 4.0.2
    
    Copyright (C) 2016 by Jeffrey Fulmer, et al.
    This is free software; see the source for copying conditions.
    There is NO warranty; not even for MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.
    
    
    --------------------------------------------------------
    Check mysqlreport version:
    --------------------------------------------------------
    mysqlreport v3.5-maria11 Jul 4 2013
    
    --------------------------------------------------------
    Check pure-ftpd Version:
    --------------------------------------------------------
    pure-ftpd v1.0.42
    
    --------------------------------------------------------
    Check YUM Repo List
    --------------------------------------------------------
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
     * base: centos.uberglobalmirror.com
     * epel: mirror.nsw.coloau.com.au
     * extras: centos.uberglobalmirror.com
     * rpmforge: mirror.ventraip.net.au
     * updates: mirror.ventraip.net.au
    359 packages excluded due to repository priority protections
    repo id             repo name                                       status
    base/7/x86_64       CentOS-7 - Base                                  7,261+2,102
    epel/x86_64         Extra Packages for Enterprise Linux 7 - x86_64  10,446+1,047
    extras/7/x86_64     CentOS-7 - Extras                                      309+2
    mariadb             MariaDB                                                 13+2
    rpmforge            RHEL 7 - RPMforge.net - dag                           152+93
    updates/7/x86_64    CentOS-7 - Updates                                 1,250+241
    varnish-4.1/x86_64  Varnish Cache 4.1 for Enterprise Linux                    33
    repolist: 19,464
    
    --------------------------------------------------------
    mytimes check:
    /usr/bin/mytimes
    --------------------------------------------------------
    Fri Apr 14 13:46:14 UTC 2017    [UTC]
    Fri Apr 14 23:46:14 AEST 2017   [Australia/Brisbane]
    Fri Apr 14 06:46:14 PDT 2017    [America/Los_Angeles]
    Fri Apr 14 08:46:14 CDT 2017    [America/Chicago]
    Fri Apr 14 09:46:14 EDT 2017    [America/New_York]
    Fri Apr 14 09:46:14 EDT 2017    [America/Montreal]
    Fri Apr 14 14:46:14 BST 2017    [Europe/London]
    Fri Apr 14 15:46:14 CEST 2017   [Europe/Berlin]
    Fri Apr 14 20:46:14 +07 2017    [Asia/Bangkok]
    Fri Apr 14 20:46:14 +07 2017    [Asia/Ho_Chi_Minh]
    Fri Apr 14 20:46:14 WIB 2017    [Asia/Jakarta]
    Fri Apr 14 21:46:14 +08 2017    [Asia/Kuala_Lumpur]
    Fri Apr 14 21:46:14 +08 2017    [Asia/Singapore]
    --------------------------------------------------------
    
     
    Last edited: Apr 15, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    30,850
    6,904
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,394
    Local Time:
    9:35 PM
    Nginx 1.13.x
    MariaDB 5.5

    Wordpress + Loader.io Load Testing



    Using Centmin Mod 123.09beta01 installed wordpress instance via centmin.sh menu option 22 for KeyCDN Cacher Enabler to load test with Loader.io free plan.

    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB MySQL Upgrade & Management
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 22
    --------------------------------------------------------
    


    Code (Text):
    -------------------------------------------------------------
    Setup full Nginx vhost + Wordpress + WP Plugins
    -------------------------------------------------------------
    
    ---------------------------------------------------------------
    Important Information
    ---------------------------------------------------------------
    
    You are about to create an Wordpress based Nginx vhost site with
    or without HTTPS/SSL support.
    Also read the continually updated Getting Started Guide
    at centminmod.com/getstarted.html if you haven't already
    ---------------------------------------------------------------
    403 Permission denied message handling
    if after vhost site setup you encounter 403 permission denied errors,
    check https://community.centminmod.com/threads/11215/ to see if your
    site needs tools/autoprotect.sh tweaking & whitelisting
    ---------------------------------------------------------------
    
    Do you want to continue with Nginx vhost site creation ? [y/n] y
    
    Enter vhost domain name you want to add (without www. prefix): test.domain.com
    


    Code (Text):
    Default is to install KeyCDN WP Cache Enabler Plugin
    as it's more stable and reliable than WP Super Cache.
    Redis cache may have issues with caching due to long 6hr cache TTL
    You can select which caching method to use below:
    
    --------------------------------------------------------
            Wordpress Caching            
    --------------------------------------------------------
    1). KeyCDN Cache Enabler (default & recommended)
    2). Redis Nginx Level Caching (may have issues with some wp plugins)
    3). Wordpress Super Cache
    --------------------------------------------------------
    Enter option [ 1 - 3 ] 1


    General Notes



    Loader.io and any benchmark testing is subject to relative distance between test server and target server (Centmin Mod). Geographically longer distances means ping times and thus round trip response times for tests are much larger which affect the benchmark test results. So New York, USA test server testing New York based Centmin Mod server may have less than 10 milliseconds ping and response times. While New York test server with Sydney, Australia based Centmin Mod server may have 250-280 milliseconds response times.

    KeyCDN Cacher Enabler



    KeyCDN Cacher Enabler is the selected default Wordpress caching setup which is an improved version of WP Super Cache for full page static WP caching. Need to enable some settings in Cache Enabler Settings area.

    Ideally set a Cache Expiry time in hours instead of 0

    keycdn-cache-enabler-settings-01.png

    Loader.io Test Paramenters



    Testing using Loader.io free plan for 'Maintained Client Load' testing between 200 to 1000 users for 1 minute.

    Testing 2 configurations:
    1. 1st config - where default is no gzip compressed http request headers so server serves non-compressed files.
    2. 2nd config - is with Accept-Encoding: gzip, deflate, sdch, br http request headers so server serves gzip or brotli compressed static files (usual default web browser behaviour).
     
    Last edited: Apr 15, 2017
  3. eva2000

    eva2000 Administrator Staff Member

    30,850
    6,904
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,394
    Local Time:
    9:35 PM
    Nginx 1.13.x
    MariaDB 5.5

    Loader.io No compress



    loader-nocompress-config-01.png
    loaderio-vultr-2gb-sydney-nocompress-00.png
    loaderio-vultr-2gb-sydney-nocompress-01.png
    loaderio-vultr-2gb-sydney-nocompress-02.png
    loaderio-vultr-2gb-sydney-nocompress-03.png
     
    • Like Like x 1
  4. eva2000

    eva2000 Administrator Staff Member

    30,850
    6,904
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,394
    Local Time:
    9:35 PM
    Nginx 1.13.x
    MariaDB 5.5

    Loader.io Compress



    loader-compress-config-01.png

    loaderio-vultr-2gb-sydney-compress-00.png
    loaderio-vultr-2gb-sydney-compress-01.png
    loaderio-vultr-2gb-sydney-compress-02.png
    loaderio-vultr-2gb-sydney-compress-03.png
     
  5. eva2000

    eva2000 Administrator Staff Member

    30,850
    6,904
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,394
    Local Time:
    9:35 PM
    Nginx 1.13.x
    MariaDB 5.5

    Centmin Mod Nginx Access Log Stats



    Digging into Centmin Mod Nginx access log stats for test.domain.com site at /home/nginx/domains/test.domain.com/log/access.log filtered on loader.io user agent

    Code (Text):
    awk '{print $1, $6, $7, $9, $12}' /home/nginx/domains/test.domain.com/log/access.log | grep -w 'loader.io' | sort | uniq -c | sort -n
      11716 52.87.255.0 "GET / 200 "loader.io;49c41f4bef278734db99de15a3df47b7"
      11734 52.91.128.14 "GET / 200 "loader.io;49c41f4bef278734db99de15a3df47b7"
      11771 52.87.219.148 "GET / 200 "loader.io;49c41f4bef278734db99de15a3df47b7"
      11775 54.208.68.192 "GET / 200 "loader.io;49c41f4bef278734db99de15a3df47b7"
      11785 54.197.122.196 "GET / 200 "loader.io;49c41f4bef278734db99de15a3df47b7"
      11799 52.86.198.91 "GET / 200 "loader.io;49c41f4bef278734db99de15a3df47b7"
      11813 52.55.246.193 "GET / 200 "loader.io;49c41f4bef278734db99de15a3df47b7"
      11833 54.85.214.144 "GET / 200 "loader.io;49c41f4bef278734db99de15a3df47b7"
      11867 52.87.220.244 "GET / 200 "loader.io;49c41f4bef278734db99de15a3df47b7"
      11887 54.85.128.114 "GET / 200 "loader.io;49c41f4bef278734db99de15a3df47b7"
      15695 52.87.219.148 "GET / 200 "loader.io;e67356e03e2f321941e18e78cb565105"
      15718 52.91.128.14 "GET / 200 "loader.io;e67356e03e2f321941e18e78cb565105"
      15770 54.85.128.114 "GET / 200 "loader.io;e67356e03e2f321941e18e78cb565105"
      15773 54.85.214.144 "GET / 200 "loader.io;e67356e03e2f321941e18e78cb565105"
      15814 52.55.246.193 "GET / 200 "loader.io;e67356e03e2f321941e18e78cb565105"
      15835 54.208.68.192 "GET / 200 "loader.io;e67356e03e2f321941e18e78cb565105"
      15842 52.86.198.91 "GET / 200 "loader.io;e67356e03e2f321941e18e78cb565105"
      15865 52.87.220.244 "GET / 200 "loader.io;e67356e03e2f321941e18e78cb565105"
      15874 52.87.255.0 "GET / 200 "loader.io;e67356e03e2f321941e18e78cb565105"
      15891 54.197.122.196 "GET / 200 "loader.io;e67356e03e2f321941e18e78cb565105"
    


    Loader.io uses AWS infrastructure, so let's see where these test IPs come from geographically speaking

    Code (Text):
    awk '{print $1, $6, $7, $9, $12}' /home/nginx/domains/test.domain.com/log/access.log | grep -w 'loader.io' | sort | uniq -c | sort -n | awk '{print $2}' | while read i; do echo  -n "$i geolocation city: "; curl ipinfo.io/$i/city; done
    52.87.255.0 geolocation city: Ashburn
    52.91.128.14 geolocation city: Ashburn
    52.87.219.148 geolocation city: Ashburn
    54.208.68.192 geolocation city: Ashburn
    54.197.122.196 geolocation city: Ashburn
    52.86.198.91 geolocation city: Ashburn
    52.55.246.193 geolocation city: Ashburn
    54.85.214.144 geolocation city: Ashburn
    52.87.220.244 geolocation city: Ashburn
    54.85.128.114 geolocation city: Ashburn
    52.87.219.148 geolocation city: Ashburn
    52.91.128.14 geolocation city: Ashburn
    54.85.128.114 geolocation city: Ashburn
    54.85.214.144 geolocation city: Ashburn
    52.55.246.193 geolocation city: Ashburn
    54.208.68.192 geolocation city: Ashburn
    52.86.198.91 geolocation city: Ashburn
    52.87.220.244 geolocation city: Ashburn
    52.87.255.0 geolocation city: Ashburn
    54.197.122.196 geolocation city: Ashburn
    

    Code (Text):
    curl ipinfo.io/52.87.255.0
    {
      "ip": "52.87.255.0",
      "hostname": "No Hostname",
      "city": "Ashburn",
      "region": "Virginia",
      "country": "US",
      "loc": "39.0481,-77.4728",
      "org": "AS14618 Amazon.com, Inc.",
      "postal": "20149"
    }
    


    From Amazon AWS Ashburn datacenter which is US East coast so one of the furthest away locations for testing a Sydney, Austrlia VPS so hence the 200-300 ms response times from Loader.io testing.
     
  6. eva2000

    eva2000 Administrator Staff Member

    30,850
    6,904
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,394
    Local Time:
    9:35 PM
    Nginx 1.13.x
    MariaDB 5.5

    Enable Performance Options



    Centmin Mod 123.09beta01 has additional performance options you can enable for both Nginx and PHP-FPM.

    You set them in persistent config file you create or append to at /etc/centminmod/custom_config.inc
    Code (Text):
    CLANG='n'
    PHP_PGO='y'
    GCCINTEL_PHP='y'
    DEVTOOLSETSIX='n'
    NGINX_DEVTOOLSETGCC='y'
    NGXDYNAMIC_BROTLI='y'
    NGINX_LIBBROTLI='y'
    

    • CLANG='n' - disable clang compiler for Nginx and use GCC
    • PHP_PGO='y' - enable PHP 7 Profile Guide Optimisations for +3-17% extra boost over PHP 7 standard installs
    • GCCINTEL_PHP='y' - enable Intel cpu optimised compilation for PHP-FPM
    • DEVTOOLSETSIX='n' - don't use devtoolset-6 GCC 6.21 only use devtoolset-4 GCC 5.31 when paired with next setting
    • NGINX_DEVTOOLSETGCC='y' - enable devtoolset-4 GCC 5.3.1 Intel cpu optimised Nginx compilation
    • NGXDYNAMIC_BROTLI='y' - enable brotli dynamic nginx module support
    • NGINX_LIBBROTLI='y' - enable brotli nginx module support
    Then recompile nginx and php-fpm via centmin.sh menu options 4 and 5 specifying the nginx and php-fpm versions you want to compile i.e. 1.11.13 and 7.0.18 respectively.

    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB MySQL Upgrade & Management
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ]
    


    For Nginx
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB MySQL Upgrade & Management
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 4
    --------------------------------------------------------
    

    Code (Text):
    Do you want to run YUM install checks ?  [y/n]
    
    This will increase your upgrade duration time wise.
    Check the change log centminmod.com/changelog.html
    to see if any Nginx or PHP related new additions
    which require checking YUM prequisites are met.
    If no new additions made, you can skip the
    YUM install check to speed up upgrade time.
    
     [y/n]: n
    
    Nginx Upgrade - Would you like to continue? [y/n] y
    
    Install which version of Nginx? (version i.e. type 1.11.13): 1.11.13
    


    For PHP-FPM
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB MySQL Upgrade & Management
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 5
    --------------------------------------------------------
    

    Code (Text):
    Do you want to run YUM install checks ?  [y/n]
    
    This will increase your upgrade duration time wise.
    Check the change log centminmod.com/changelog.html
    to see if any Nginx or PHP related new additions
    which require checking YUM prequisites are met.
    If no new additions made, you can skip the
    YUM install check to speed up upgrade time.
    
     [y/n]: n
    
    PHP Upgrade - Would you like to continue? [y/n] y
    
    ----------------------------------------------------------------
    Install which version of PHP? (version i.e. 7.0.18, 7.0.10, NGDEBUG)
    PHP 7.0.10 is GA Stable but still may have broken PHP extensions.
    NGDEBUG is PHP 7.1.0 minus incompatible PHP extensions
    ----------------------------------------------------------------
    Enter PHP Version number you want to upgrade/downgrade to: 7.0.18
    ----------------------------------------------------------------
    existing php.ini will be backed up at /usr/local/lib/php.ini-oldversion_140417-155414
    ----------------------------------------------------------------
    Detected PHP 7.0 branch.
    You can compile Zend OPcache (Zend Optimizer Plus+) support
    as an alternative to using APC Cache or Xcache cache.
    But Zend OPcache only provides PHP opcode cache and
    DOESN'T do data caching, so if you web apps such as Wordpress,
    Drupal or vBulletin require data caching to APC or Xcache,
    it won't work with Zend OPcache.
    
    -----------------------------------------------------------------------------------------
    Do you want to use Zend OPcache [y/n] ? y
    


    Resulting Nginx config
    PHP-FPM
    Code (Text):
    php -v
    PHP 7.0.18 (cli) (built: Apr 14 2017 16:20:21) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.18, Copyright (c) 1999-2017, by Zend Technologies
    


    Or if you want GCC 6.21 instead of GCC 5.3.1 set DEVTOOLSETSIX='y' in persistent config file you create or append to at /etc/centminmod/custom_config.inc and recompile nginx via centmin.sh menu option 4
    Code (Text):
    CLANG='n'
    PHP_PGO='y'
    GCCINTEL_PHP='y'
    DEVTOOLSETSIX='y'
    NGINX_DEVTOOLSETGCC='y'
    NGXDYNAMIC_BROTLI='y'
    NGINX_LIBBROTLI='y'
    

    end result
     
    Last edited: Apr 15, 2017
    • Like Like x 1
Thread Status:
Not open for further replies.