Join the community today
Register Now

PHP PHP 7.0.0RC releases + Centmin Mod Updating PHP-FPM

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

  1. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:56 PM
    latest
    10
    Allot more work for me lol! I'm not getting any positive reviews on Lets Encrypt though from my clients stand point. They don't want it and would rather purchase a "normal" SSL. I guess it's going to take a little while to take effect and be a major player in the SSL world for the general public.
     
  2. RoldanLT

    RoldanLT Well-Known Member

    3,882
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    11:56 AM
    1.11
    10.2
    • Informative Informative x 1
  3. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:56 PM
    latest
    10
    Does the RC8 support redis?
     
  4. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:56 PM
    Nginx 1.13.x
    MariaDB 5.5
  5. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:56 PM
    latest
    10
    Which would you do - downgrade from php7 to 5.6.15 and use redis to use the php extension or keep php 7 and use memcached until the php extension is ready for php7?
     
  6. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    really up to you but PHP 7 isn't GA stable so I'd be using PHP 5.6.15 until I am sure PHP 7 is ready. There's still PHP 7 bugs to fix PHP :: Bugs :: Search
     
  7. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    11:56 PM
    latest
    10
    Your right - I should have considered this fact. So I should just drop down to php 5.6.15 until all these bugs get out. :cry: :banghead:
     
  8. RoldanLT

    RoldanLT Well-Known Member

    3,882
    947
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,291
    Local Time:
    11:56 AM
    1.11
    10.2
    My own WP Sites, I just use Memcached and PHP 7 RC8.
     
    • Like Like x 1
  9. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    PHP 7.0.0RC8 Change log
    Code:
     Nov 2015, PHP 7.0.0 RC 8
    
    - Core:
      . Fixed bug #70947 (INI parser segfault with INI_SCANNER_TYPED). (Laruence)
      . Fixed bug #70914 (zend_throw_or_error() format string vulnerability).
        (Taoguang Chen)
      . Fixed bug #70912 (Null ptr dereference instantiating class with invalid
        array property). (Laruence)
      . Fixed bug #70895, #70898 (null ptr deref and segfault with crafted calable).
        (Anatol, Laruence)
    
    - OCI8:
      . Fixed memory leak with LOBs. (Senthil)
    
    - SOAP:
      . Fixed bug #70940 (Segfault in soap / type_to_string). (Remi)
      . Fixed bug #70900 (SoapClient systematic out of memory error). (Dmitry)
    
    - SPL:
      . Fixed bug #70959 (ArrayObject unserialize does not restore protected
        fields). (Laruence)
    
    - Standard:
      . Fixed count on symbol tables. (Laruence)
      . Fixed bug #70963 (Unserialize shows UNKNOWN in result). (Laruence)
      . Fixed bug #70910 (extract() breaks variable references). (Laruence)
     
    • Informative Informative x 1
  10. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    Wordpress7 blog updated to PHP 7.0.0RC8 and Centmin Mod 123.09beta01 built Nginx 1.9.7 :)

    Code:
    php -v
    PHP 7.0.0RC8 (cli) (built: Nov 28 2015 16:59:22) ( 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
     
  11. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Informative Informative x 2
  12. Jimmy

    Jimmy Premium Member Premium Member

    1,081
    242
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +579
    Local Time:
    11:56 PM
    1.13.x
    MariaDB 10.1.x
    • Like Like x 1
  13. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    thanks for heads up, Centmin Mod code needs updating for official 7.0.0 tarball downloads too PHP: Get Download !
     
    • Like Like x 1
  14. Jimmy

    Jimmy Premium Member Premium Member

    1,081
    242
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +579
    Local Time:
    11:56 PM
    1.13.x
    MariaDB 10.1.x
    I was watching the main page of PHP.net which still lists RC8. I saw a tweet on twitter from someone I follow saying "Boom PHP 7". I wonder why they didn't update the main page of PHP.net. Oh, well, on to PHP 7.0.1 LOL!
     
  15. Jimmy

    Jimmy Premium Member Premium Member

    1,081
    242
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +579
    Local Time:
    11:56 PM
    1.13.x
    MariaDB 10.1.x
  16. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    doh and I already updated 123.09beta01 for PHP 7.0.0 final update inc/phpng_download.inc · centminmod/centminmod@5120709 · GitHub heh
     
  17. Jimmy

    Jimmy Premium Member Premium Member

    1,081
    242
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +579
    Local Time:
    11:56 PM
    1.13.x
    MariaDB 10.1.x
    Looks like just an openssl update. I hope they do 7.0.1 being that they already posted 7.0.0
     
  18. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    PHP folks probably will re-release PHP 7.0.0 with openssl updates I suppose ?

    Right now only 123.09beta01 branch of Centmin Mod is updated to use PHP 7.0.0 official stable source tarballs, so thought I'd give it a run through for centmin.sh menu option 5 run with PHP version specified as = 7.0.0 :)

    Code:
    php -v
    PHP 7.0.0 (cli) (built: Dec  3 2015 00:21: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
    usual unsupported php extensions for PHP 7 and instructions on unloading them by removing their respective *.ini files
    Code:
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/igbinary.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/igbinary.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/memcache.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/memcache.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/mongo.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/redis.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/redis.so: cannot open shared object file: No such file or directory in Unknown on line 0
    7.0
    0
    ***************************************************
    PHP 7.0 detected.. remove unsupported PHP extensions manually
    by removing their ini files:
    ***************************************************
    
    rm -rf /etc/centminmod/php.d/igbinary.ini
    #rm -rf /etc/centminmod/php.d/imagick.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    rm -rf /etc/centminmod/php.d/mongodb.ini
    rm -rf /etc/centminmod/php.d/redis.ini
    rm -rf /etc/centminmod/php.d/suhosin.ini
    
    then restart PHP-FPM again...
    php module/extensions loaded
    Code:
    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
    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
    custom *.ini files
    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/imagick.ini,
    /etc/centminmod/php.d/memcached.ini,
    /etc/centminmod/php.d/zendopcache.ini
     
    • Informative Informative x 2
  19. Jimmy

    Jimmy Premium Member Premium Member

    1,081
    242
    63
    Oct 24, 2015
    East Coast USA
    Ratings:
    +579
    Local Time:
    11:56 PM
    1.13.x
    MariaDB 10.1.x
    I wonder why they even released 7.0.0 if they knew they were going to release an update in a day? Makes no sense to me. Though, I'm glad to see PHP7 here. From what I've been reading, it should be a nice performance boost.
     
  20. eva2000

    eva2000 Administrator Staff Member

    29,732
    6,713
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,023
    Local Time:
    1:56 PM
    Nginx 1.13.x
    MariaDB 5.5
    probably non-public release was to give the downloads time to populate their mirror system :)