Join the community today
Become a Member

.09beta Nginx Upgrade

Discussion in 'Install & Upgrades or Pre-Install Questions' started by cloud9, Sep 14, 2016.

  1. cloud9

    cloud9 Premium Member Premium Member

    140
    54
    28
    Oct 6, 2015
    England
    Ratings:
    +75
    Local Time:
    12:36 PM
    1.11.x
    10.x
    Im on Nginx 1.11.3 and php 7.0.10

    So i run option 21 after first updating centminmod

    After the run Im still on NGinx 1.11.2 but its downgraded php to 5.6.25

    Have i missed a config file for php version and why doesnt nginx upgrade ?
     
  2. eva2000

    eva2000 Administrator Staff Member

    30,180
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    9:36 PM
    Nginx 1.13.x
    MariaDB 5.5
    see Nginx upgrade section at Nginx - CentminMod.com LEMP Nginx web stack for CentOS to upgrade run centmin.sh menu option 4 and specify the nginx version you want to upgrade,downgrade or recompile to :)

    For PHP upgrades, see section at PHP-FPM - CentminMod.com LEMP Nginx web stack for CentOS to upgrade run centmin.sh menu option 5 and specify php version you want if

    Centmin Mod was made so that nginx, php versions can be updated by end user any time without waiting on me to update Centmin Mod. So if you catch a new released version while I am sleeping, you can upgrade ASAP before my updating of the Centmin Mod default versions.
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,180
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    9:36 PM
    Nginx 1.13.x
    MariaDB 5.5
    centmin.sh menu option 21 won't downgrade or touch existing nginx and php versions you can check with commands
    Code (Text):
    nginx -V
    php -v

    the versions specified in centmin.sh script itself are just version numbers for default initial installation only and have no bearing on what you are actually running
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,180
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    9:36 PM
    Nginx 1.13.x
    MariaDB 5.5
  5. cloud9

    cloud9 Premium Member Premium Member

    140
    54
    28
    Oct 6, 2015
    England
    Ratings:
    +75
    Local Time:
    12:36 PM
    1.11.x
    10.x
    Thats what i did do

    php -v

    Tried it twice and option 21 downgraded my php from 7.0.10 to 5.6.25 - for sure
     
    • Informative Informative x 1
  6. eva2000

    eva2000 Administrator Staff Member

    30,180
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    9:36 PM
    Nginx 1.13.x
    MariaDB 5.5
    oh you mean centmin.sh option 21 not 23, yes option 21 does install whatever PHP version is assigned in centmin.sh unless you override it via persistent config file /etc/centminmod/custom_config.inc but that is not recommended way to update PHP and nginx usually reserved for centmin.sh menu option 5 and 4 respectively.
     
  7. cloud9

    cloud9 Premium Member Premium Member

    140
    54
    28
    Oct 6, 2015
    England
    Ratings:
    +75
    Local Time:
    12:36 PM
    1.11.x
    10.x
    Yes thanks, so long as its not a problem

    I should have had my glasses on - misread the menus....... :(
     
  8. eva2000

    eva2000 Administrator Staff Member

    30,180
    6,786
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,139
    Local Time:
    9:36 PM
    Nginx 1.13.x
    MariaDB 5.5
    yeah usually centmin.sh menu option 21 was intended for when you're using same php branch as centmin.sh defined PHP_VERSION one which for 123.09beta01 would be 5.6.x and 5.6.25 latest so when you update centmin.sh menu option 23 to update centmin mod branch code, you get latest versions defined in centmin.sh and then can run centmin.sh menu option 21 to update nginx + php + siege all at once.