Welcome to Centmin Mod Community
Become a Member

PHP PHP 7.2.0 Released

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Nov 30, 2017.

  1. Sunka

    Sunka Well-Known Member

    1,138
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    12:23 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    If I want to upgrade from latest 7.1 branch, I have to just open centmin menu, select php upgrade and add 7.2.0 version.
    Nothing to fine tune after or something like that?
     
  2. pamamolf

    pamamolf Premium Member Premium Member

    3,772
    366
    83
    May 31, 2014
    Ratings:
    +706
    Local Time:
    1:23 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Yes just like that and all are automated :)
     
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    44,172
    10,067
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,560
    Local Time:
    8:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yes just make sure to update centmin mod 123.09beta01 code BEFORE doing that (centmin.sh menu option 23 submenu option 2 or running cmupdate command that was recently added)
     
    • Like Like x 1
  4. Sunka

    Sunka Well-Known Member

    1,138
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    12:23 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    hmmm
    Code (Text):
    service php-fpm restart
    Gracefully shutting down php-fpm . done
    Starting php-fpm [01-Dec-2017 21:23:47] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'ssh2.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ssh2.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/ssh2.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ssh2.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/ssh2.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0


    Code (Text):
    PHP Warning:  PHP Startup: Unable to load dynamic library 'ssh2.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ssh2.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/ssh2.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/ssh2.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/ssh2.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    7.2


    Code:
    ***************************************************
    * PHP upgraded and auto reinstalled PHP extensions
    * PHP_PGO='y' detected. PHP compiled with Profile Guided Optimizations
    * https://software.intel.com/en-us/blogs/2015/10/09/pgo-let-it-go-php
    ***************************************************
       ____   _   _  ____    _   _                                _            _
      |  _ \ | | | ||  _ \  | | | | _ __    __ _  _ __  __ _   __| |  ___   __| |
      | |_) || |_| || |_) | | | | || '_ \  / _` || '__|/ _` | / _` | / _ \ / _` |
      |  __/ |  _  ||  __/  | |_| || |_) || (_| || |  | (_| || (_| ||  __/| (_| |
      |_|    |_| |_||_|      \___/ | .__/  \__, ||_|   \__,_| \__,_| \___| \__,_|
                                   |_|     |___/                                 
    Total PHP Upgrade Time: 1061.484795066 seconds
    Any help for ssh2 extension for php 7.2?
     
  5. Sunka

    Sunka Well-Known Member

    1,138
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    12:23 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    Seems that I got it
    PHP-FPM - Install PHP extension ssh2

    Code (Text):
    [root@upcloud ssh2-php7]# php --ri ssh2
    
    ssh2
    
    SSH2 support => enabled
    extension version => 0.12+dev
    libssh2 version => 1.8.0
    banner => SSH-2.0-libssh2_1.8.0
    
    
    [root@upcloud ssh2-php7]# php -v
    PHP 7.2.0 (cli) (built: Dec  1 2017 21:20:34) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.2.0, Copyright (c) 1999-2017, by Zend Technologies
     
    • Agree Agree x 1
  6. eva2000

    eva2000 Administrator Staff Member

    44,172
    10,067
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,560
    Local Time:
    8:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    yes you need to manually reinstall ssh2 php extension with each php update as it is not part of centmin mod by default
     
  7. Sunka

    Sunka Well-Known Member

    1,138
    312
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +508
    Local Time:
    12:23 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    hm...
    I did not need it throughh 7.1.x
    Only did it when upgraded from 5 to 7.0 and 7.0 to 7.1 and now from 7.1 to 7.2
     
  8. eva2000

    eva2000 Administrator Staff Member

    44,172
    10,067
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +15,560
    Local Time:
    8:23 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Yeah mean major php updates not minor
     
    • Agree Agree x 1