Learn about Centmin Mod LEMP Stack today
Become a Member

PHP Php 7.0 Final

Discussion in 'Nginx and PHP-FPM news & discussions' started by pamamolf, Dec 4, 2015.

  1. pamamolf

    pamamolf Well-Known Member

    2,675
    240
    63
    May 31, 2014
    Ratings:
    +425
    Local Time:
    6:57 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Nodequery is super :)
     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    i'm using a few Newrelic, Nodequery, Nixstats, Ngnx Amplify hehe.. love my stats :D
     
  3. RoldanLT

    RoldanLT Well-Known Member

    3,883
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    11:57 PM
    1.11
    10.2
    And you add some server loads with that :D.
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    not much actually :)
     
  5. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    @eva2000 to upgrade my server (xenforo forum on it) to php 7.0.0 wich work ok with imagick and redis, I have to update to centmin 1.2.3-eva2000.09 beta and then upgrade php to 7 and do something/OrNothing with redis and imagick?
     
  6. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    yup :) for now at least, once 123.09beta01 testing of redis php7 branch is ok, will backport to 123.08stable
     
    • Like Like x 1
  7. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    OK, hope that you will be online next few hours, I will open dedicated thread for upgrading centmin, php etc.. on my server
     
  8. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Informative Informative x 1
  9. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    Ok, upgraded to beta 9 centmin.
    Now for php 7...
    choose option 5, and when ask me to run YUM install checks I choose NO, and after I type 7.0.0 or NGDEBUG (I need only xenforo extensions to be valid).
    After that, what I need to do next? My custom php.ini will survive, Imagick and redis will be automatically installed with php.
     
  10. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Useful Useful x 1
  11. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    Code:
    [root@tvor-ocean centminmod]# fpmrestart
    Gracefully shutting down php-fpm . done
    Starting php-fpm [04-Dec-2015 21:26:00] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/ssh2.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0
    done

    Code:
    [root@tvor-ocean centminmod]# php -v
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/ssh2.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP 7.0.0 (cli) (built: Dec  4 2015 21:02:31) ( NTS )
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    [root@tvor-ocean centminmod]# 
    Code:
    [root@tvor-ocean centminmod]# php --ri redis
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/ssh2.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0
    
    redis
    
    Redis Support => enabled
    Redis Version => 2.2.5
    Code:
    [root@tvor-ocean centminmod]# php -m
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/ssh2.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/ssh2.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    imagick
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcached
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    redis
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    
     
  12. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Dec 5, 2015
    • Useful Useful x 1
  13. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    So leave it as is or to do something?
    I look up my forum, and everything is working OK, except one add on
     
  14. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    i believe ssh2 php extension is needed for solidmean xenforo backup addon
     
    • Agree Agree x 1
  15. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    Yep.
    I will disable that addon too.

    So what to do about ssh2?
     
  16. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    like other unsupported extensions remove it's ini file ssh2.ini should be able to find location using

    Code:
    php --ini
    then restart php-fpm
     
    • Informative Informative x 1
  17. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Dec 5, 2015
    • Winner Winner x 1
  18. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    That pass OK.
    So I have to install again ssh2 when it will be compatible with php 7.0.0
    I will have to wait for newer SSH2 or newer PHP?
     
  19. eva2000

    eva2000 Administrator Staff Member

    29,747
    6,720
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,033
    Local Time:
    1:57 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Dec 5, 2015
    • Winner Winner x 1
  20. Sunka

    Sunka Active Member

    910
    238
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +385
    Local Time:
    5:57 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    Thank you very much @eva2000 ;)

    Code:
    [root@tvor-ocean ~]# php -v
    PHP 7.0.0 (cli) (built: Dec  4 2015 21:02:31) ( NTS )
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    
    
    [root@tvor-ocean ~]# php --ri redis
    
    redis
    
    Redis Support => enabled
    Redis Version => 2.2.5
    
    
    [root@tvor-ocean ~]# php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    imagick
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcached
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    redis
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    ssh2
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache