Want to subscribe to topics you're interested in?
Become a Member

Recompile

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Sunka, Dec 28, 2015.

  1. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    4:01 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    Many times on this forum it is said do that and that and recompile then.
    Example is recompile php with option 5 in centmin menu, after update some php extension. So, when I choose option 5 (Upgrade/downgrade PHP), what exactly to choose in menu after that if I'm allready on newest version of PHP

     
  2. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    12:01 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    See step 2 of below guide, most of the time to recompile, you just enter the same version number of your existing Nginx or PHP version.

    Upgrading Centmin Mod Code to Latest Version



    Upgrading Centmin Mod involves 2 parts.
    1. Upgrading the actual Centmin Mod code outlined at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS This is heart of Centmin Mod where the code is the engine that runs centmin.sh shell based menu and all the automation you're accustomed to.
    2. Upgrade software that Centmin Mod installed or manages. For this part following outline at Upgrade - How to upgrade Centmin Mod | Centmin Mod Community
    So essentially, you can upgrade from .07 to .08 in place, but not everything is upgraded as some things like server initial environment setup isn't changed i.e. how swap, tmp setup and allocation are created etc. The main parts from part 2 above are what in place upgrades do i.e. Nginx and PHP-FPM compilation and config/settings parameters and MariaDB version from 5.5 to 10.0.x. If you want the full environment changed including tmp and swap setup to .08's configuration, then you would need a fresh OS install and fresh .08 initial install. You can think of it like upgrading Windows 7 to Windows 8. An in place upgrade will upgrade code but won't change your computer environment from when you installed Windows 7 i.e. disk configuration and partition sizes won't change from when you initially installed Windows 7. Only way to change that would be fresh Windows 8 install.
     
  3. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    4:01 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    So basically update to same version I have installed?
    So when advice is recompile php/nginx I should choose upgrade php or nginx and set same version when asked me to which version I should to upgrade?
     
  4. eva2000

    eva2000 Administrator Staff Member

    55,811
    12,273
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,859
    Local Time:
    12:01 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    yup same version entered