Welcome to Centmin Mod Community
Become a Member

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. Andy

    Andy Active Member

    542
    89
    28
    Aug 6, 2014
    Ratings:
    +132
    Local Time:
    7:47 PM
    Just upgraded now
    Code:
    php -v
    PHP 7.1.0-dev (cli) (built: Sep 18 2015 15:36:33)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies


     
  2. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    oh you went for 7.0.0 specified version to get latest dev build PHP 7.1.0-dev !
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  4. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    PHP 7.0.0RC4 is available now - officially from tomorrow Index of /~ab

    Code:
    01 Oct 2015, PHP 7.0.0 RC 4
    
    - Core:
      . Added zend_internal_function.reserved[] fields. (Dmitry)
      . Fixed bug #70557 (Memleak on return type verifying failed). (Laruence)
      . Fixed bug #70555 (fun_get_arg() on unsetted vars return UNKNOW). (Laruence)
      . Fixed bug #70548 (Redundant information printed in case of uncaught engine
        exception). (Laruence)
      . Fixed bug #70547 (unsetting function variables corrupts backtrace).
        (Laruence)
      . Fixed bug #70528 (assert() with instanceof adds apostrophes around class
        name). (Laruence)
      . Fixed bug #70481 (Memory leak in auto_global_copy_ctor() in ZTS build).
        (Laruence)
    
    - DOM:
      . Fixed bug #70558 ("Couldn't fetch" error in
        DOMDocument::registerNodeClass()). (Laruence)
    
    - FPM:
      . Fixed bug #70538 ("php-fpm -i" crashes). (rainer dot jung at
        kippdata dot de)
      . Fixed bug #70279 (HTTP Authorization Header is sometimes passed to newer
        reqeusts). (Laruence)
    
    - Opcache
      . Attmpt to fix "Unable to reattach to base address" problem. (Matt Ficken)
    
    - OpenSSL
      . Require at least OpenSSL version 0.9.8. (Jakub Zelenka)
      . Fixed bug #68312 (Lookup for openssl.cnf causes a message box). (Anatol)
    
    - Phpdbg:
      . Fixed bug #70532 (phpdbg must respect set_exception_handler). (Bob)
      . Fixed bug #70531 (Run and quit mode (-qrr) should not fallback to
        interactive mode). (Bob)
      . Fixed bug #70533 (Help overview (-h) does not rpint anything under Windows).
        (Anatol)
    
    - Session:
      . Fixed bug #70529 (Session read causes "String is not zero-terminated" error).
        (Yasuo)
    
    - SQLite3:
      . Fixed bug #70571 (Memory leak in sqlite3_do_callback). (Adam)
    
    -SPL:
      . Fixed bug #70573 (Cloning SplPriorityQueue leads to memory leaks). (Dmitry)
    
    - XMLRPC
      . Fixed bug #70526 (xmlrpc_set_type returns false on success). (Laruence)
    
    - XSL:
      . Fixed bug #70535 (XSLT: free(): invalid pointer). (Laruence)
     
  5. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    9:47 AM
    Mainline
    10.2
    PHP Redis on PHP7 works fine on your installation Eva?
     
  6. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    that's why i left unsupported PHP 7 extensions in install routine by default, so you can update PHP 7 and see if the latest PHP 7 supports those extensions ;)
     
  7. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    PHP 7.0.0RC4 compiled for wordpress7.centminmod.com but igbinary and php redis extensions not ready still

    Code:
    PHP 7.0.0RC4 (cli) (built: Sep 30 2015 15:16:26)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
     
  8. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    9:47 AM
    Mainline
    10.2
    RC5 is on the table now :D
     
  9. rdan

    rdan Well-Known Member

    5,443
    1,402
    113
    May 25, 2014
    Ratings:
    +2,194
    Local Time:
    9:47 AM
    Mainline
    10.2
    But I have to re-install Memcached via menu 10 as it doesn't get installed automatically.
    Don't know why :|.
     
  10. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    you can check your php upgrade log in /root/centminlogs

    list logs in date ascending
    Code:
    ls -lahrt /root/centminlogs
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    PHP: News Archive - 2015

    Code:
    15 Oct 2015, PHP 7.0.0 RC 5
    
    - Core:
      . Fixed bug #70630 (Closure::call/bind() crash with ReflectionFunction->
        getClosure()). (Dmitry, Bob)
      . Fixed bug #70662 (Duplicate array key via undefined index error handler).
        (Nikita)
      . Fixed bug #70681 (Segfault when binding $this of internal instance method
        to null). (Nikita)
      . Fixed bug #70685 (Segfault for getClosure() internal method rebind with
        invalid $this). (Nikita)
    
    - Mcrypt:
      . Fixed bug #70625 (mcrypt_encrypt() won't return data when no IV was
        specified under RC4). (Nikita)
    
    - Opcache:
      . Fixed compatibility with Windows 10 (see also bug #70652). (Anatol)
    
    - Phpdbg:
      . Fixed bug #70614 (incorrect exit code in -rr mode with Exceptions). (Bob)
    
    - Reflection:
      . Fixed bug #70650 (Wrong docblock assignment). (Marcio)
      . Fixed bug #70674 (ReflectionFunction::getClosure() leaks memory when used
        for internal functions). (Dmitry, Bob)
    
    - Standard:
      . Fixed bug #70667 (strtr() causes invalid writes and a crashes). (Dmitry)
      . Fixed bug #70668 (array_keys() doesn't respect references when $strict is
        true). (Bob, Dmitry)
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    updated wordpress7.centminmod.com - Centmin Mod LEMP stack Wordpress Auto Installer on CentOS 7.0 from PHP 7.0.0RC4 to PHP 7.0.0RC5

    remove the unsupported php extensions and restart php-fpm
    Code:
    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
    nprestart
    geoip php extension not supported either
    Code:
    php -v
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20151012/geoip.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20151012/geoip.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: memcached: Unable to initialize module
    Module compiled with module API=20141001
    PHP    compiled with module API=20151012
    These options need to match
    in Unknown on line 0
    PHP 7.0.0RC5 (cli) (built: Oct 17 2015 00:41:07) ( NTS )
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    find geoip.ini settings file and remove it and restart php-fpm
    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/memcached.ini,
    /etc/centminmod/php.d/newrelic.ini,
    /etc/centminmod/php.d/zendopcache.ini
    Code:
    rm -rf /etc/centminmod/php.d/geoip.ini
    nprestart
    indeed memcache needs recompiling via centmin.sh menu option 10
    Code:
    Gracefully shutting down php-fpm .^[[A done
    Starting php-fpm [17-Oct-2015 00:46:57] NOTICE: PHP message: PHP Warning:  PHP Startup: memcached: Unable to initialize module
    Module compiled with module API=20141001
    PHP    compiled with module API=20151012
    These options need to match
    in Unknown on line 0
    done
    after centmin.sh menu option 10 recompile need to remove igbinary.ini and memcache.ini again (leaving memcached.ini in place)

    Code:
    rm -rf /etc/centminmod/php.d/igbinary.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    nprestart
    Code:
    php -v
    PHP 7.0.0RC5 (cli) (built: Oct 17 2015 00:41:07) ( NTS )
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    Code:
    php -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    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
     
    Last edited: Oct 17, 2015
  13. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    PHP 7.0.0RC6 out PHP: News Archive - 2015 - GA final on November 12, 2015 so in 13 days time !

    FYI, when 7.0.0 final is released, I will need to update 123.08stable and 123.09beta01 builds so that 7.0.0 downloads the public GA release and not github master branch of 7.0.0 dev release.

    Changelog

    Code:
    29 Oct 2015, PHP 7.0.0 RC 6
    
    - Core:
      . Fixed bug #70748 (Segfault in ini_lex () at Zend/zend_ini_scanner.l).
       (Laruence)
      . Fixed bug #70689 (Exception handler does not work as expected). (Laruence)
      . Fixed bug #70430 (Stack buffer overflow in zend_language_parser()). (Nikita)
      . Fixed bug #70782 (null ptr deref and segfault (zend_get_class_fetch_type)).
        (Nikita)
      . Fixed bug #70785 (Infinite loop due to exception during identical
        comparison). (Laruence)
    
    - Opcache:
      . Fixed bug #70724 (Undefined Symbols from opcache.so on Mac OS X 10.10).
        (Laruence)
    
    - PDO_DBlib:
      . Fixed bug #69757 (Segmentation fault on nextRowset).
        (miracle at rpz dot name)
    
    - SOAP:
      . Fixed bug #70715 (Segmentation fault inside soap client). (Laruence)
      . Fixed bug #70709 (SOAP Client generates Segfault). (Laruence)
    
    - SPL:
      . Fixed bug #70730 (Incorrect ArrayObject serialization if unset is called
        in serialize()). (Laruence)
     
    Last edited: Oct 30, 2015
  14. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    8:47 PM
    latest
    10
    I still get the "No PID Found" running Centmin 08 stable
     
  15. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    might need to start a new thread specifically for your problem
     
  16. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    looks like timetable changed and got pushed back PHP: todo:php70 ?

    Code:
    Nov 12 2015    RC 7
    Nov 26 2015    
    Code:
    todo/php70.txt · Last modified: 2015/11/09 10:32 by ab
     
  17. Matt

    Matt Well-Known Member

    929
    415
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +671
    Local Time:
    1:47 AM
    1.5.15
    MariaDB 10.2
  18. Matt Williams

    Matt Williams WordPress Fanatic

    537
    104
    43
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +157
    Local Time:
    8:47 PM
    latest
    10
    PHP 7 is a blessing! Those that I have changed to PHP 7 RC6 are ecstatic about the speed!
     
  19. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
  20. eva2000

    eva2000 Administrator Staff Member

    54,098
    12,177
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,735
    Local Time:
    11:47 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    confirmed https://twitter.com/official_php/status/664131137443225600