Discover Centmin Mod today
Register Now

Beta Branch update inc/nginx_upgrade.inc & inc/php_upgrade.inc

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jan 11, 2016.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    30,966
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    6:45 AM
    Nginx 1.13.x
    MariaDB 5.5
    update inc/nginx_upgrade.inc & inc/php_upgrade.inc

    allow nginx and php upgrade/recompile centmin.sh menu options 4 & 5 to clean up after themselves only keeping the existing version downloads and removing older versions from /svr-setup downloads directory https://community.centminmod.com/posts/23901/

    Continue reading...

    123.09beta01 branch

     
  2. JarylW

    JarylW Active Member

    216
    40
    28
    Jun 19, 2014
    Singapore
    Ratings:
    +102
    Local Time:
    4:45 AM
    Just did php upgrade (not really, same version 7.0.2 -> 7.0.2 via centmin php upgrade option) to test and it seems it only clears up php5?

    Code:
    +find $DIR_TMP -maxdepth 1 ! -name "php-${phpver}*" -name 'php-5*' -print
    +find $DIR_TMP -maxdepth 1 ! -name "php-${phpver}*" -name 'php-5*' -exec rm -rf {} \;
    /svr-setup/php-5.6.16
    /svr-setup/php-5.4.45.tar.gz
    /svr-setup/php-5.6.16.tar.gz
    /svr-setup/php-5.4.45
    /svr-setup/php-5.5.29.tar.gz
    /svr-setup/php-5.6.13.tar.gz
    /svr-setup/php-5.6.13
     
    • Informative Informative x 1
  3. eva2000

    eva2000 Administrator Staff Member

    30,966
    6,919
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,422
    Local Time:
    6:45 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Winner Winner x 1