Learn about Centmin Mod LEMP Stack today
Become a Member

PHP PHP 7.0.1 is available

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

  1. ivanc82

    ivanc82 New Member

    23
    2
    3
    Dec 1, 2015
    Ratings:
    +4
    Local Time:
    3:59 AM
    1.11.4
    MariaDB 10
    Thank you! All good now.
     
  2. negative

    negative Member

    216
    22
    18
    Apr 11, 2015
    Ratings:
    +50
    Local Time:
    9:59 PM
    1.9.10
    10.1.11
    Do you advice nginx helper plugin instead of redis object cache plugin ? I just installed this plugin and it caching the options, sessions etc. don't cache the pages. If we want to store wordpress blog pages on redis too, we need follow this modifications and ways. Isn't it ?
     
  3. eva2000

    eva2000 Administrator Staff Member

    30,630
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,307
    Local Time:
    5:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    nginx-helper is part of nginx level redis caching instructions
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,630
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,307
    Local Time:
    5:59 AM
    Nginx 1.13.x
    MariaDB 5.5
  5. eva2000

    eva2000 Administrator Staff Member

    30,630
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,307
    Local Time:
    5:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    123.09beta01 will soon be switching to the new mongodb pecl driver that supports PHP 7 at mongodb/mongo-php-driver · GitHub :)

    PHongo: The MongoDB Driver for PHP

    Code:
    php --ri mongodb
    
    mongodb
    
    mongodb support => enabled
    mongodb version => 1.1.1
    mongodb stability => stable
    libmongoc version => 1.3.1-dev
    libbson version => 1.3.0
    
    Directive => Local Value => Master Value
    mongodb.debug => no value => no value
    Code:
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcached
    mongodb
    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
     
    Last edited: Dec 28, 2015
  6. eva2000

    eva2000 Administrator Staff Member

    30,630
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,307
    Local Time:
    5:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    Also there's a dev branch for memcache PHP extension for PHP 7 support at websupport-sk/pecl-memcache · GitHub which looks good so far so all complete almost !

    Code:
    php --ri memcache
    
    memcache
    
    memcache support => enabled
    Version => 3.0.9-dev
    Revision => $Revision$
    
    Directive => Local Value => Master Value
    memcache.allow_failover => 1 => 1
    memcache.max_failover_attempts => 20 => 20
    memcache.default_port => 11211 => 11211
    memcache.chunk_size => 32768 => 32768
    memcache.protocol => ascii => ascii
    memcache.hash_strategy => consistent => consistent
    memcache.hash_function => crc32 => crc32
    memcache.redundancy => 1 => 1
    memcache.session_redundancy => 2 => 2
    memcache.compress_threshold => 20000 => 20000
    memcache.lock_timeout => 15 => 15
    Code:
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcache
    memcached
    mongodb
    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
    Code:
    php --ini
    Configuration File (php.ini) Path: /usr/local/lib
    Loaded Configuration File:         /usr/local/lib/php.ini
    Scan for additional .ini files in: /etc/centminmod/php.d
    Additional .ini files parsed:      /etc/centminmod/php.d/a_customphp.ini,
    /etc/centminmod/php.d/curlcainfo.ini,
    /etc/centminmod/php.d/geoip.ini,
    /etc/centminmod/php.d/igbinary.ini,
    /etc/centminmod/php.d/imagick.ini,
    /etc/centminmod/php.d/memcache.ini,
    /etc/centminmod/php.d/memcached.ini,
    /etc/centminmod/php.d/mongodb.ini,
    /etc/centminmod/php.d/redis.ini,
    /etc/centminmod/php.d/zendopcache.ini
     
    Last edited: Dec 28, 2015
    • Like Like x 1
  7. eva2000

    eva2000 Administrator Staff Member

    30,630
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,307
    Local Time:
    5:59 AM
    Nginx 1.13.x
    MariaDB 5.5
  8. Xon

    Xon Active Member

    134
    57
    28
    Nov 16, 2015
    Ratings:
    +177
    Local Time:
    3:59 AM
    1.13.x
    MariaDB 10.1.x
  9. eva2000

    eva2000 Administrator Staff Member

    30,630
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,307
    Local Time:
    5:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah someone needs to do some if they have free time :D :) :happy:

    Though pretty much can guarantee PHP 7 would be best for Xenforo combined with some nice Xenforo Redis Cache Addon love from your wonderful work :D Would love to see your spin on BD Cache and Xencache XF Addons with Redis support :)
     
  10. Xon

    Xon Active Member

    134
    57
    28
    Nov 16, 2015
    Ratings:
    +177
    Local Time:
    3:59 AM
    1.13.x
    MariaDB 10.1.x
    Repo Authoritative mode doesn't look like it'll mix very well with XenForo.

    I actually do a chunk of the useful Xencache functionality (for standard XenForo) in my Optimized List Queries add-on which has some Redis specific optimizations.

    Forum thread count caching, and forum thread list optimizations are much better than outright caching of thread content and give much better optimization.

    As for [bd] Cache I've thought about it, but instead focused on optimizations which benefit members actively using a XenForo site.
     
    • Like Like x 1
  11. eva2000

    eva2000 Administrator Staff Member

    30,630
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,307
    Local Time:
    5:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah definitely not with XF Addon ecosystem and have frequent folks install/uninstall XF Addons !

    nice :) but it seems with Xencache for guests at least, Xenforo page generation time is bloody awesome

    i.e. XF index page on this forum with just PHP 5.6.16 :)
    Code:
    Page Time: 0.0164s
    Memory: 5.0864 MB (Peak: 5.2107 MB)
    Queries (0, time: 0.0000s, 0.0%)
    Included Files (102, XenForo Classes: 27)
    Yeah the main problem I have with bd cache is for ngx_pagespeed optimisation of concatenated css files. ngx_pagespeed has prioritize css and defer js filters and right now bd cache is needed to break XF css out of css.php into *.css files but there's no control over individual css files as to which get concatenated and which can be excluded. So when ngx_pagespeed prioritize css filter is applied, any css code that is needed to render just above fold for a page, get's inlined into html for faster initial page visual render time. Unfortunately, for requests like alerts etc what happens is the required css isn't in the lined css so breaks sometimes. Well that's what I think it is heh.
     
    Last edited: Dec 31, 2015
    • Informative Informative x 1
  12. RoldanLT

    RoldanLT Well-Known Member

    3,940
    962
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,315
    Local Time:
    3:59 AM
    1.11
    10.2
    • Like Like x 2
  13. Sunka

    Sunka Active Member

    926
    240
    43
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +389
    Local Time:
    8:59 PM
    Nginx 1.13.3
    MariaDB 10.1.24
    Waiting for @eva2000 make it possible in CentminMod
     
  14. RoldanLT

    RoldanLT Well-Known Member

    3,940
    962
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,315
    Local Time:
    3:59 AM
    1.11
    10.2
    It is now possible if you would like to upgrade, just run menu #5 then input 7.0.2.
     
    • Agree Agree x 1
  15. Jimmy

    Jimmy Premium Member Premium Member

    1,147
    253
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +616
    Local Time:
    2:59 PM
    1.13.x
    MariaDB 10.1.x
    Wondering why it's not listed on the downloads page or the main site?
    PHP: Downloads
     
  16. RoldanLT

    RoldanLT Well-Known Member

    3,940
    962
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,315
    Local Time:
    3:59 AM
    1.11
    10.2
    Maybe there are still listing the change-log, and about to post the announcement later today :).
     
    • Like Like x 1
  17. Jimmy

    Jimmy Premium Member Premium Member

    1,147
    253
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +616
    Local Time:
    2:59 PM
    1.13.x
    MariaDB 10.1.x
    Makes sense. Good to see the updates coming out quickly. :)
     
  18. eva2000

    eva2000 Administrator Staff Member

    30,630
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,307
    Local Time:
    5:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah change log seems to be missing from github source too for 7.0.2 php/php-src at PHP-7.0.2 · GitHub
     
  19. eva2000

    eva2000 Administrator Staff Member

    30,630
    6,862
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,307
    Local Time:
    5:59 AM
    Nginx 1.13.x
    MariaDB 5.5
    yay !

    Code:
    php -v
    PHP 7.0.2 (cli) (built: Jan  7 2016 05:38:35) ( 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
     
    • Like Like x 1
  20. Matt

    Matt Moderator Staff Member

    694
    320
    63
    May 25, 2014
    Sheffield, UK
    Ratings:
    +447
    Local Time:
    7:59 PM
    1.7.1
    MariaDB 10
    I'm updated now as well
    Code:
    [root@host centminmod]# php -v
    PHP 7.0.2 (cli) (built: Jan  7 2016 08:29:06) ( 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
     
    • Like Like x 2