Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch smarter centmin.sh menu option 5 PHP upgrade routine in 130.00beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Dec 8, 2023 at 7:14 PM.

  1. eva2000

    eva2000 Administrator Staff Member

    50,922
    11,806
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,264
    Local Time:
    4:01 PM
    Nginx 1.25.x
    MariaDB 10.x
    smarter centmin.sh menu option 5 PHP upgrade routine in 130.00beta01

    - centmin.sh menu option 5 PHP upgrade/recompile routine expects end user to enter full PHP version they want - including the minor version i.e. 8.0.30, 8.1.26, 8.2.13, 8.3.0 instead of like 8.0, 8.1, 8.2, 8.3. This update makes the routine smarter leveraging existing getphpver script, if end user incorrectly enters PHP version without minor version i.e. 8.0 or 8.1, getphpver will get the latest full PHP version that includes the minor version automatically. Examples below

    Current PHP Version: 8.0.30
    Latest PHP Version Installable: 8.3.0, 8.2.13, 8.1.26, 8.0.30

    Enter PHP Version number you want to upgrade/downgrade to: 8.0

    Enter full PHP version next time i.e. 8.0.30
    Setting upgrade PHP version as 8.0.30

    or


    Current PHP Version: 8.0.30
    Latest PHP Version Installable: 8.3.0, 8.2.13, 8.1.26, 8.0.30

    Enter PHP Version number you want to upgrade/downgrade to: 8.1

    Enter full PHP version next time i.e. 8.1.26
    Setting upgrade PHP version as 8.1.26

    Continue reading...

    130.00beta01 branch

    Support Centmin Mod


    If you find Centmin Mod useful, please help support Centmin Mod