Join the community today
Become a Member

Master Branch add additional php compression extensions by default in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 12, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    2:55 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    add additional php compression extensions by default in 123.09beta01

    - add brotli, lz4, lzf and zstd php extension support via 4 variables. Disabled by default.
    - for new centmin mod installations, you can setup below 4 variables in persistent config file /etc/centminmod/ prior to initial centmin mod install
    - for existing centmin mod installations, can be enabled prior to menu option 5 runs by setting in persistent config file /etc/centminmod/ the following variables:

    PHP_BROTLI='y' # brotli php extension
    PHP_LZFOUR='y' # lz4 php extension
    PHP_LZF='y' # lzf php extension php-ext-lzf
    PHP_ZSTD='y' # zstd php extension

    - by default centmin mod 123.09beta01 only recompiles php extensions on menu option 5 runs if php majoir version updates are detected i.e. PHP 7.1 to 7.2 or 7.2 to 7.3 and skip recompiles for minor versions i.e. PHP 7.2.15 to 7.2.16 or 7.3.2 to 7.3.3. This means if you want the above 4 extensions enabled for existing PHP version you intend to recompile, you need to do a one off set up of variable AUTODETECPHP_OVERRIDE='y' in persistent config file /etc/centminmod/ for the menu option 5 run. This tells PHP to recompile php extensions even for minor PHP versions. After you have the above 4 extensions enabled, you can remove AUTODETECPHP_OVERRIDE='y' from persistent config file /etc/centminmod/

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.

    • Like Like x 1