Join the community today
Become a Member

PHP PHP 5.6.0 Released

Discussion in 'Nginx and PHP-FPM news & discussions' started by pamamolf, Aug 28, 2014.

  1. pamamolf

    pamamolf Well-Known Member

    2,469
    223
    63
    May 31, 2014
    Ratings:
    +382
    Local Time:
    11:38 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    The PHP Development Team announces the immediate availability of PHP 5.6.0. This new version release comes with new features, some backward incompatible changes and many improvements.

    The main features of PHP 5.6.0 include:

    For a full list of new features, you may readour migration guide new featureschapter.

    PHP 5.6.0 also introduces changes that affect compatibility:

    • Array keys won't be overwritten when defining an array as a property of a class via an array literal.
    • json_decode()is more strict in JSON syntax parsing.
    • Stream wrappers now verify peer certificates and host names by default when using SSL/TLS.
    • GMPresources are now objects.
    • Mcryptfunctions now require valid keys and IVs.

    Changelog here:
    Code:
    http://php.net/ChangeLog-5.php#5.6.0
    I hope to be much faster tan old versions about 20% :)
     
    • Like Like x 1
  2. RoldanLT

    RoldanLT Well-Known Member

    3,801
    932
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    4:38 PM
    1.11
    10.2
    Yeah! :D
    Should we use .08 beta to be able to upgrade to PHP 5.6.0 @eva2000 ?
     
  3. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,535
    Local Time:
    6:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    should be able to use either .07 stable or .08 betas for menu option 5 PHP upgrade specifying 5.6.0 version :)

    running a test now with .07 stable and PHP 5.4.32 to 5.6.0 upgrade :)

    And link for others PHP: 5.6.0
     
    • Like Like x 2
  4. pamamolf

    pamamolf Well-Known Member

    2,469
    223
    63
    May 31, 2014
    Ratings:
    +382
    Local Time:
    11:38 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Great let us know how it goes :)
     
  5. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,535
    Local Time:
    6:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    PHP info for Centmin Mod .07 stable centmin.sh menu option 5 selected PHP upgrade to specified version 5.6.0

    centmin.sh menu option 5

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.07 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                  
    --------------------------------------------------------
    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 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ] 5
    --------------------------------------------------------
    Configure options used

    PHP module list

    Code:
    php -m
    
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcache
    memcached
    mhash
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    Reflection
    session
    shmop
    SimpleXML
    soap
    sockets
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    xml
    xmlreader
    xmlrpc
    xmlwriter
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    php560_ga_release_00.png php560_ga_release_01.png php560_ga_release_02.png php560_ga_release_03.png php560_ga_release_04.png php560_ga_release_05.png
     
    Last edited: Aug 28, 2014
    • Like Like x 2
  6. RoldanLT

    RoldanLT Well-Known Member

    3,801
    932
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    4:38 PM
    1.11
    10.2
    Please upgrade this forum :)
     
  7. pamamolf

    pamamolf Well-Known Member

    2,469
    223
    63
    May 31, 2014
    Ratings:
    +382
    Local Time:
    11:38 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Please benchmark it :)
     
  8. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,535
    Local Time:
    6:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    will do that soon :D

    will leave that up to you folks, I might later when I have more free time
     
    • Like Like x 2
  9. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,535
    Local Time:
    6:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    Just heads up

    1). if you PHP app like Xenforo uses memcached backend, you want to comment it out in your config before the upgrade otherwise you will get temp memcached errors in your PHP app during PHP upgrade. Will need to re-work this upgrade feature so it doesn't restart PHP-FPM until after all required PHP extensions are recompiled too.

    i.e. for Xenforo library/config.php

    comment out with // temporarily and uncomment after upgrade
    PHP:
    //$config['cache']['backend'] = 'Libmemcached';
    2). for .07 stable at least if you have an older version of it (many commits and fixes since original release), after PHP 5.6.0 upgrade you maybe missing Zend Opcache and need to run menu option 12 to select submenu option 1 to just install 7.03 Zend Opcache (don't worry you end up with 7.0.4-dev) just the install function triggers zendopcache.ini creation which is what is missing.

    centmin.sh menu option 12 / submenu option 1

    Code:
    --------------------------------------------------------
    Centmin Mod 1.2.3-eva2000.07 - http://centminmod.com
    --------------------------------------------------------
                       Centmin Mod Menu                  
    --------------------------------------------------------
    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 Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    14). SELinux disable
    15). Install/Re-install ImageMagick PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Re-install
    21). Update - Nginx + PHP-FPM + Siege
    22). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ] 12
    --------------------------------------------------------
    
    --------------------------------------------------------
            Zend OpCache Sub-Menu             
    --------------------------------------------------------
    1). Install Zend OpCache for PHP <5.5 or <5.6
    2). Reinstall Zend OpCache for PHP <5.5 or <5.6
    3). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 3 ] 1
    --------------------------------------------------------
    This forum has upgraded already Community Forum upgraded to PHP 5.6.0 GA Stable release | Centmin Mod Community :)
     
    Last edited: Aug 28, 2014
    • Like Like x 1
  10. RoldanLT

    RoldanLT Well-Known Member

    3,801
    932
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    4:38 PM
    1.11
    10.2
    Thanks for the heads up.
    I will incorporate again all my custom modifications to the latest zip (cloudflare openssl patch, intel optimization, etc) I hope you include this on the latest release like having a settings set to default disable.
     
  11. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,535
    Local Time:
    6:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    not sure I understand ? what do you want to include ??

    eventually the fixes are going in .08 betas first
     
  12. RoldanLT

    RoldanLT Well-Known Member

    3,801
    932
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    4:38 PM
    1.11
    10.2
    1. Cloudflare Openssl Patch (I think this is easy to embed my self)
    2. Intel Optimizations (But this one is I don't know how except I download this branch: centminmod/centminmod at 123.07stable_intel · GitHub But is it also updated the same as the .07 stable branch?
     
  13. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,535
    Local Time:
    6:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    yeah Cloudflare OpenSSL RC4 Kill patch only available from .08 beta and higher

    The intel optimisations also either in .08 beta and higher or as you linked to use the 123.07stable_intel branch which has same updates as 123.07stable. Just with added Intel optimised compiler flags for Intel detected processors. You can compare 123.07stable_intel versus 123.07stable branches on Github at Comparing 123.07stable vs 123.07stable_intel

    If you're adventurous, you can also test the Centmin Mod .08 beta CentOS 7 version on CentOS 6.5 too CentOS 7.x - How to help test .08 CentOS 7 Betas with Github code ? | Centmin Mod Community - that is what I do as well :)
     
    • Like Like x 1
  14. RoldanLT

    RoldanLT Well-Known Member

    3,801
    932
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    4:38 PM
    1.11
    10.2
  15. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,535
    Local Time:
    6:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  16. RoldanLT

    RoldanLT Well-Known Member

    3,801
    932
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    4:38 PM
    1.11
    10.2
    So my work lessens :D
    I only need to embed Cloudflare patch, unless I also forgot something specific to my Forum needs :D
    Thanks Eva!
     
  17. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,535
    Local Time:
    6:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    Yeah for Centmin Mod .07 stable or .07 stable intel branch just need to manually re-add the Cloudflare RC4 Kill patch for OpenSSL. It's default option in .08 betas so it can undergo more testing :)
     
    • Like Like x 1
  18. RoldanLT

    RoldanLT Well-Known Member

    3,801
    932
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    4:38 PM
    1.11
    10.2
    And Intel optimization is default included also on .08 Beta?
    Then I will just use it on my Live Forum.
     
  19. eva2000

    eva2000 Administrator Staff Member

    28,348
    6,438
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,535
    Local Time:
    6:38 PM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 1
  20. RoldanLT

    RoldanLT Well-Known Member

    3,801
    932
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,257
    Local Time:
    4:38 PM
    1.11
    10.2
    OK, Downloading .08 beta and upgrading my forum :)
    Hopefully nothing will break :D
    I have 700+ user's online now :whistle:

    Edit: Total: 824 (members: 188, guests: 502, robots: 134)

    Most likely someone will encounter this downtime :/