Want more timely Centmin Mod News Updates?
Become a Member

Beta Branch add optional PHP version check in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Mar 19, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    44,417
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,692
    Local Time:
    3:17 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    add optional PHP version check in 123.09beta01

    Like nginx latest version check on initial SSH login, add support for optional php latest version check for the detected PHP branch you installed via setting DMOTD_PHPCHECK='y' in persistent config file /etc/centminmod/custom_config.inc. Disabled by default, but when enabled with DMOTD_PHPCHECK='y', you will see something like below for PHP latest version check for the PHP version you have installed

    will need to run cmupdate first and set DMOTD_PHPCHECK='y' and then exit SSH session and relogin to see it in action if you current PHP version isn't latest within that installed PHP branch.

    Code (Text):
    ===============================================================================
    * Nginx Update May Be Available via centmin.sh menu option 4
    * see https://centminmod.com/nginx.html#nginxupgrade
    ===============================================================================
    * Current Nginx Version:           1.17.8
    * Latest Nginx Mainline Available: 1.17.9 (centminmod.com/nginxnews)
    ===============================================================================
    
    ===============================================================================
    * PHP Update May Be Available via centmin.sh menu option 5
    * see https://community.centminmod.com/forums/18/
    ===============================================================================
    * Current PHP Version:           7.2.28
    * Latest PHP Mainline Available: 7.2.29
    ===============================================================================
    
    ===============================================================================
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    ===============================================================================


    Continue reading...

    123.09beta01 branch
     
  2. eva2000

    eva2000 Administrator Staff Member

    44,417
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,692
    Local Time:
    3:17 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    example if you currently have PHP 7.3.15 installed
    Code (Text):
    ===============================================================================
    * Nginx Update May Be Available via centmin.sh menu option 4
    * see https://centminmod.com/nginx.html#nginxupgrade
    ===============================================================================
    * Current Nginx Version:           1.17.8
    * Latest Nginx Mainline Available: 1.17.9 (centminmod.com/nginxnews)
    ===============================================================================
    
    
    ===============================================================================
    * PHP Update May Be Available via centmin.sh menu option 5
    * see https://community.centminmod.com/forums/18/
    ===============================================================================
    * Current PHP Version:           7.3.15
    * Latest PHP Mainline Available: 7.3.16
    ===============================================================================
    
    ===============================================================================
     Centmin Mod local code is up to date at /usr/local/src/centminmod
     no available updates at this time...
    ===============================================================================
     
  3. eva2000

    eva2000 Administrator Staff Member

    44,417
    10,144
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,692
    Local Time:
    3:17 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    whoops typo should remove word Mainline from
    Code (Text):
    Latest PHP Mainline Available