Join the community today
Register Now

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

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

     
  2. negative

    negative Active Member

    415
    50
    28
    Apr 11, 2015
    Ratings:
    +98
    Local Time:
    5:02 AM
    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

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    nginx-helper is part of nginx level redis caching instructions
     
  4. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  5. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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
  7. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  8. Xon

    Xon Active Member

    173
    61
    28
    Nov 16, 2015
    Ratings:
    +229
    Local Time:
    10:02 AM
    1.15.x
    MariaDB 10.3.x
  9. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    173
    61
    28
    Nov 16, 2015
    Ratings:
    +229
    Local Time:
    10:02 AM
    1.15.x
    MariaDB 10.3.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.
     
  11. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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
  12. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    10:02 AM
    Mainline
    10.2
  13. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    4:02 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    Waiting for @eva2000 make it possible in CentminMod
     
  14. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    10:02 AM
    Mainline
    10.2
    It is now possible if you would like to upgrade, just run menu #5 then input 7.0.2.
     
  15. Jimmy

    Jimmy Well-Known Member

    1,778
    388
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +987
    Local Time:
    10:02 PM
    Wondering why it's not listed on the downloads page or the main site?
    PHP: Downloads
     
  16. rdan

    rdan Well-Known Member

    5,439
    1,398
    113
    May 25, 2014
    Ratings:
    +2,187
    Local Time:
    10:02 AM
    Mainline
    10.2
    Maybe there are still listing the change-log, and about to post the announcement later today :).
     
  17. Jimmy

    Jimmy Well-Known Member

    1,778
    388
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +987
    Local Time:
    10:02 PM
    Makes sense. Good to see the updates coming out quickly. :)
     
  18. eva2000

    eva2000 Administrator Staff Member

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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

    53,461
    12,128
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,668
    Local Time:
    12:02 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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
     
  20. Matt

    Matt Well-Known Member

    925
    414
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +669
    Local Time:
    3:02 AM
    1.5.15
    MariaDB 10.2
    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