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

    38,023
    8,350
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,863
    Local Time:
    12:58 AM
    Nginx 1.15.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/custom_config.inc prior to initial centmin mod install
    - for existing centmin mod installations, can be enabled prior to centmin.sh menu option 5 runs by setting in persistent config file /etc/centminmod/custom_config.inc the following variables:

    PHP_BROTLI='y' # brotli php extension https://github.com/kjdev/php-ext-brotli
    PHP_LZFOUR='y' # lz4 php extension https://github.com/kjdev/php-ext-lz4
    PHP_LZF='y' # lzf php extension https://github.com/php/pecl-file_formats-lzf php-ext-lzf
    PHP_ZSTD='y' # zstd php extension https://github.com/kjdev/php-ext-zstd

    - by default centmin mod 123.09beta01 only recompiles php extensions on centmin.sh 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/custom_config.inc for the centmin.sh 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/custom_config.inc

    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
..