Learn about Centmin Mod LEMP Stack today
Register Now

PHP PHP 7.4.5 Released!

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Apr 16, 2020.

  1. eva2000

    eva2000 Administrator Staff Member

    49,599
    11,388
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,694
    Local Time:
    8:38 PM
    Nginx 1.21.x
    MariaDB 10.x
  2. eva2000

    eva2000 Administrator Staff Member

    49,599
    11,388
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,694
    Local Time:
    8:38 PM
    Nginx 1.21.x
    MariaDB 10.x
  3. Sunka

    Sunka Well-Known Member

    1,150
    323
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +521
    Local Time:
    11:38 AM
    Nginx 1.17.9
    MariaDB 10.3.22
  4. eva2000

    eva2000 Administrator Staff Member

    49,599
    11,388
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,694
    Local Time:
    8:38 PM
    Nginx 1.21.x
    MariaDB 10.x
    did you run cmupdate first ?

    what is output for
    Code (Text):
    getphpver "$(php-config --version | awk -F '.' '{print $1$2}')"

    and
    Code (Text):
    php-config --version

    output would only show if both outputs do not match. If they match it means you already have latest PHP version, so no PHP version notice would be shown.

    the getphpver command tries to check what the latest php version available is
    Code (Text):
    getphpver
    7.4.5
    7.3.17
    7.2.30
    7.1.33
    7.0.33
    5.6.40
    5.5.38
    

    Code (Text):
    getphpver 74
    7.4.5
    

    Code (Text):
    getphpver 73
    7.3.17
    

    Code (Text):
    getphpver 72
    7.2.30

    Code (Text):
    getphpver 71
    7.1.33
    
     
  5. Sunka

    Sunka Well-Known Member

    1,150
    323
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +521
    Local Time:
    11:38 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    yep
    Code:
    # getphpver "$(php-config --version | awk -F '.' '{print $1$2}')"
    7.4.5
    Code:
    # php-config --version
    7.4.5

     
  6. eva2000

    eva2000 Administrator Staff Member

    49,599
    11,388
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +17,694
    Local Time:
    8:38 PM
    Nginx 1.21.x
    MariaDB 10.x
    as expected it's working as your output match which means you already have latest PHP version, so no PHP version notice would be shown.
     
  7. rdan

    rdan Well-Known Member

    5,371
    1,353
    113
    May 25, 2014
    Ratings:
    +2,112
    Local Time:
    6:38 PM
    Mainline
    10.2