Want more timely Centmin Mod News Updates?
Become a Member

PHP PHP 7.1.0RC1 Released

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Sep 3, 2016.

  1. eva2000

    eva2000 Administrator Staff Member

    55,417
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,837
    Local Time:
    7:31 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    PHP 7.1.0RC1 released.


    Updated support added to Centmin Mod 123.09beta01 only. So Centmin Mod 123.08stable need to update to 123.09beta01 ;)

    @RoldanLT
    PHP 7.1.0RC1 + php redis 3.0.0
    Code (Text):
    php -v
    PHP 7.1.0RC1 (cli) (built: Sep  3 2016 04:55:53) ( NTS )
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
        with Zend OPcache v7.1.0RC1, Copyright (c) 1999-2016, by Zend Technologies

    Code (Text):
    php --ri redis
    
    redis
    
    Redis Support => enabled
    Redis Version => 3.0.0

    Code (Text):
    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
    ldap
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    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
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache


    PHP 7.1.0RC Change Log



    Code (Text):
    01 Sep 2016, PHP 7.1.0RC1
    
    - Core:
      . Fixed bug #72944 (Null pointer deref in zval_delref_p). (Dmitry)
      . Fixed bug #72943 (assign_dim on string doesn't reset hval). (Laruence)
      . Fixed bug #72598 (Reference is lost after array_slice()) (Nikita)
      . Fixed bug #72703 (Out of bounds global memory read in BF_crypt triggered by
        password_verify). (Anatol)
      . Implement \ArgumentCountError when passing in too few arguments (Davey)
    
    - COM:
      . Fixed bug #72922 (COM called from PHP does not return out parameters).
        (Anatol)
    
    - Dba:
      . Fixed bug #70825 (Cannot fetch multiple values with group in ini file).
        (cmb)
    
    - GD:
      . Fixed bug #66005 (imagecopy does not support 1bit transparency on truecolor
        images). (cmb)
      . Fixed bug #72913 (imagecopy() loses single-color transparency on palette
        images). (cmb)
      . Fixed bug #68716 (possible resource leaks in _php_image_convert()). (cmb)
    
    - iconv:
      . Fixed bug #72320 (iconv_substr returns false for empty strings). (cmb)
    
    - Intl:
      . Fixed bug #65732 (grapheme_*() is not Unicode compliant on CR LF
        sequence). (cmb)
    
    - JSON:
      . Implemented earlier return when json_encode fails, fixes bugs #68992
        (Stacking exceptions thrown by JsonSerializable) and #70275 (On recursion
        error, json_encode can eat up all system memory). (Jakub Zelenka)
    
    - mbstring:
      . Fixed bug #66797 (mb_substr only takes 32-bit signed integer). (cmb)
    
    - Opcache:
      . Fixed bug #72949 (Typo in opcache error message). (cmb)
    
    - PDO_DBlib:
      . Implemented stringify 'uniqueidentifier' fields.
        (Alexander Zhuravlev, Adam Baratz)
    
    - Reflection:
      . Reverted prepending \ for class names. (Trowski)
    
    - Session:
      . Fixed bug #72940 (SID always return "name=ID", even if session
        cookie exist). (Yasuo)
      . Implemented session_gc() and session_create_id() functions. (Yasuo)
    
    - SimpleXML:
      . Fixed bug #72971 (SimpleXML isset/unset do not respect namespace). (Nikita)
      . Fixed bug #72957 (Null coalescing operator doesn't behave as expected with
        SimpleXMLElement). (Nikita)
    
    - SOAP:
      . Fixed bug #71711 (Soap Server Member variables reference bug). (Nikita)
      . Fixed bug #71996 (Using references in arrays doesn't work like expected).
        (Nikita)
    
    - Standard:
      . Fixed bug #72920 (Accessing a private constant using constant() creates
        an exception AND warning). (Laruence)
      . Fixed bug #65550 (get_browser() incorrectly parses entries with "+" sign).
        (cmb)
      . Fixed bug #71882 (Negative ftruncate() on php://memory exhausts memory).
        (cmb)
    
    - XML:
      . Fixed bug #72714 (_xml_startElementHandler() segmentation fault). (cmb)
     
  2. eva2000

    eva2000 Administrator Staff Member

    55,417
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,837
    Local Time:
    7:31 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Update via centmin.sh menu option 5 specifying version number = 7.1.0RC1
    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com    
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 5
    --------------------------------------------------------

    Code (Text):
    Do you want to run YUM install checks ?  [y/n]
    
    This will increase your upgrade duration time wise.
    Check the change log centminmod.com/changelog.html
    to see if any Nginx or PHP related new additions
    which require checking YUM prequisites are met.
    If no new additions made, you can skip the
    YUM install check to speed up upgrade time.
    
     [y/n]: n
         ____   _   _  ____       _   _                                _       
        |  _ \ | | | ||  _ \  _  | | | | _ __    __ _  _ __  __ _   __| |  ___
        | |_) || |_| || |_) |(_) | | | || '_ \  / _` || '__|/ _` | / _` | / _ \
        |  __/ |  _  ||  __/  _  | |_| || |_) || (_| || |  | (_| || (_| ||  __/
        |_|    |_| |_||_|    (_)  \___/ | .__/  \__, ||_|   \__,_| \__,_| \___|
                                        |_|     |___/                         
    

    Code (Text):
     
    PHP Upgrade - Would you like to continue? [y/n] y
    
    ----------------------------------------------------------------
    Install which version of PHP? (version i.e. 5.6.25, 7.0.10, NGDEBUG)
    PHP 7.0.10 is GA Stable but still may have broken PHP extensions.
    NGDEBUG is PHP 7.1.0 minus incompatible PHP extensions
    ----------------------------------------------------------------
    Enter PHP Version number you want to upgrade/downgrade to: 7.1.0RC1
    ----------------------------------------------------------------
    existing php.ini will be backed up at /usr/local/lib/php.ini-oldversion_030916-045214
    Want to update to latest php-fpm.conf ? (overwrites will auto backup existing php-fpm.conf)
    existing php-fpm.conf will be backed up at /usr/local/etc/php-fpm.conf-oldversion_030916-045214
    ----------------------------------------------------------------
    Update & overwrite your existing php-fpm.conf [y/n]: n
    ----------------------------------------------------------------
    Downloading PHP 7.1.0RC1 from https://downloads.php.net/~davey/
    Download php-7.1.0RC1.tar.gz ...
    wget -cnv https://downloads.php.net/~davey/php-7.1.0RC1.tar.gz --tries=3
    2016-09-03 04:53:00 URL:https://downloads.php.net/~davey/php-7.1.0RC1.tar.gz [20070949/20070949] -> "php-7.1.0RC1.tar.gz" [1]
    Download done.
    php-7.1.0RC1.tar.gz valid file.
     
  3. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    5:31 PM
    Mainline
    10.2
  4. eva2000

    eva2000 Administrator Staff Member

    55,417
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,837
    Local Time:
    7:31 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    LOL if they can make up their minds !

    just updated 123.09beta01 beta with new location for php 7.1.0RC4. centmin.sh menu option 23 to update 123.09beta01 before running centmin.sh menu option 5
     
  5. rdan

    rdan Well-Known Member

    5,451
    1,412
    113
    May 25, 2014
    Ratings:
    +2,206
    Local Time:
    5:31 PM
    Mainline
    10.2
    Thanks, updated :).
     
  6. Sunka

    Sunka Well-Known Member

    1,150
    325
    83
    Oct 31, 2015
    Pula, Croatia
    Ratings:
    +525
    Local Time:
    11:31 AM
    Nginx 1.17.9
    MariaDB 10.3.22
    Upgraded to 7.1.0 stable and no errors at all nor on server, nor on my xenforo forum.
    Only post-install work is to reinstall ssh2 and that is it.

    Code:
    [root@upcloud ~]# php -v
    PHP 7.1.0 (cli) (built: Dec  5 2016 03:57:37) ( NTS )
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v3.1.0-dev, Copyright (c) 1998-2016 Zend Technologies
        with Zend OPcache v7.1.0, Copyright (c) 1999-2016, by Zend Technologies
    Code:
    [root@upcloud ~]# 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
    ldap
    libxml
    mailparse
    mbstring
    mcrypt
    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
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    Code:
    [root@upcloud ~]# php --ri redis
    
    redis
    
    Redis Support => enabled
    Redis Version => 3.0.0

    P.S. We do not have dedicated php 7.1.0 thread, so I posted here
     
  7. eva2000

    eva2000 Administrator Staff Member

    55,417
    12,256
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,837
    Local Time:
    7:31 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    looking good .. you can always create a thread if needed ;)