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

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    8:44 AM
    1.25.3
    10.6.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

    55,153
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    55,153
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    55,153
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. cloud9

    cloud9 Premium Member Premium Member

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    8:44 AM
    1.25.3
    10.6.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
     
  6. eva2000

    eva2000 Administrator Staff Member

    55,153
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    435
    118
    43
    Oct 6, 2015
    England
    Ratings:
    +218
    Local Time:
    8:44 AM
    1.25.3
    10.6.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

    55,153
    12,249
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,825
    Local Time:
    5:44 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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.