Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch update centmin-cli.sh support php-update-all option in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Feb 13, 2021.

  1. eva2000

    eva2000 Administrator Staff Member

    50,489
    11,667
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,095
    Local Time:
    6:36 PM
    Nginx 1.25.x
    MariaDB 10.x
    update centmin-cli.sh support php-update-all option in 123.09beta01

    - add php-update-all option to centmin-cli.sh Beta Branch - add centmin-cli.sh command line in 123.09beta01 to allow auto enabling AUTODETECPHP_OVERRIDE='y' to recompiling all PHP extensions even for same PHP major version recompiles. The normal php-update option or centmin.sh menu option 5 usually will skip recompiling all PHP extensions if it detects a same PHP major version recompile and only recompiles all PHP extensions if it detects a PHP version different from existing installed PHP major version.

    Code (Text):
    ./centmin-cli.sh
    
    ./centmin-cli.sh nginx-update 1.19.7
    ./centmin-cli.sh php-update 7.4.15
    ./centmin-cli.sh php-update-all 7.4.15
    ./centmin-cli.sh compress-update


    when you run centmin-cli.sh php-update-all, then completion message would also not that auto reinstalled PHP extensions was triggered . Example with PHP 8.0.2 run


    Code (Text):
    * PHP upgraded and auto reinstalled PHP extensions
    ***************************************************
    Total PHP Upgrade Time: 161.480647006 seconds


    Continue reading...

    123.09beta01 branch