Learn about Centmin Mod LEMP Stack today
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

    433
    66
    28
    Aug 6, 2014
    Ratings:
    +90
    Local Time:
    8:20 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

     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  4. eva2000

    eva2000 Administrator Staff Member

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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)
     
    • Informative Informative x 2
  5. rdan

    rdan Well-Known Member

    4,713
    1,137
    113
    May 25, 2014
    Ratings:
    +1,691
    Local Time:
    9:20 AM
    Mainline
    10.2
    PHP Redis on PHP7 works fine on your installation Eva?
     
  6. eva2000

    eva2000 Administrator Staff Member

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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
     
    • Informative Informative x 2
  8. rdan

    rdan Well-Known Member

    4,713
    1,137
    113
    May 25, 2014
    Ratings:
    +1,691
    Local Time:
    9:20 AM
    Mainline
    10.2
    RC5 is on the table now :D
     
    • Like Like x 1
  9. rdan

    rdan Well-Known Member

    4,713
    1,137
    113
    May 25, 2014
    Ratings:
    +1,691
    Local Time:
    9:20 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 :|.
     
    • Like Like x 1
  10. eva2000

    eva2000 Administrator Staff Member

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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
    • Agree Agree x 1
  13. eva2000

    eva2000 Administrator Staff Member

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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
    • Like Like x 1
  14. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    8:20 PM
    latest
    10
    I still get the "No PID Found" running Centmin 08 stable
     
  15. eva2000

    eva2000 Administrator Staff Member

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    might need to start a new thread specifically for your problem
     
  16. eva2000

    eva2000 Administrator Staff Member

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    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
     
    • Informative Informative x 1
  17. Matt

    Matt Moderator Staff Member

    848
    372
    63
    May 25, 2014
    Rotherham, UK
    Ratings:
    +579
    Local Time:
    1:20 AM
    1.5.15
    MariaDB 10.2
    • Like Like x 1
  18. Matt Williams

    Matt Williams WordPress Fanatic

    468
    90
    28
    Nov 22, 2014
    Virginia, USA
    Ratings:
    +135
    Local Time:
    8:20 PM
    latest
    10
    PHP 7 is a blessing! Those that I have changed to PHP 7 RC6 are ecstatic about the speed!
     
    • Like Like x 1
  19. eva2000

    eva2000 Administrator Staff Member

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  20. eva2000

    eva2000 Administrator Staff Member

    42,051
    9,488
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,599
    Local Time:
    11:20 AM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    confirmed https://twitter.com/official_php/status/664131137443225600

     
    • Informative Informative x 1