Learn about Centmin Mod LEMP Stack today
Become a Member

Beta Branch update centmin.sh menu option 5 php update in 123.09beta01

Discussion in 'Centmin Mod Github Commits' started by eva2000, Jul 27, 2019.

  1. eva2000

    eva2000 Administrator Staff Member

    59,396
    12,517
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,153
    Local Time:
    10:41 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    update centmin.sh menu option 5 php update in 123.09beta01

    - add a php version valid format check so that version number entered is exact php version number i.e. 7.3.7 and not 7.3 which would cause php updates to fail as there is no such download as 7.3 only 7.3.7

    Continue reading...

    123.09beta01 branch


     
  2. eva2000

    eva2000 Administrator Staff Member

    59,396
    12,517
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,153
    Local Time:
    10:41 PM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    example
    Code (Text):
    PHP Upgrade/Downgrade - Would you like to continue? [y/n] y
    
    ----------------------------------------------------------------
    Install which version of PHP? (version i.e. 5.6.40, 7.0.33, NGDEBUG)
    PHP 7.x/7.1.x/7.2.x/7.3.x is GA Stable but still may have broken PHP extensions.
    NGDEBUG is PHP 7.4.0 dev builds minus incompatible PHP extensions
    ----------------------------------------------------------------
    
    Current PHP Version: 7.3.6
    
    Enter PHP Version number you want to upgrade/downgrade to: 7.3
    
    
    error: invalid php version format entered you entered: 7.3
    
    correct exact format example is 7.3.7 not 7.3
    latest php versions are listed at https://php.net/
    
    Enter PHP Version number you want to upgrade/downgrade to: 7.3.7