Join the community today
Become a Member

PHP PHP 7.2.0RC6 Released

Discussion in 'Nginx and PHP-FPM news & discussions' started by eva2000, Nov 14, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    35,107
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    8:52 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    PHP 7.2.0 RC6 is released. Centmin Mod 123.09beta01 has preliminary support for PHP 7.2.0 Alphas & Betas when you run centmin.sh menu option 5 and specify PHP version = 7.2.0RC6. PHP 7.2.0 final GA stable release is due November 30, 2017 so in next 2 weeks :)

    FYI, you should update 123.09beta01 via centmin.sh menu option 23 submenu option 2 before running re-running centmin.sh menu option 5
    Code (Text):
    09 Nov 2017, PHP 7.2.0RC6
    - Core:
    . Fixed bug #75420 (Crash when modifing property name in __isset for
    BP_VAR_IS). (Laruence)
    - GD:
    . Fixed bug #75437 (Wrong reflection on imagewebp). (Fabien Villepinte)
    - interbase:
    . Fixed bug #75453 (Incorrect reflection for ibase_[p]connect). (villfa)
    - Mysqli:
    . Fixed bug #75434 (Wrong reflection for mysqli_fetch_all function). (Fabien
    Villepinte)
    - SOAP:
    . Fixed bug #75464 (Wrong reflection on SoapClient::__setSoapHeaders). (villfa)
    
     
  2. eva2000

    eva2000 Administrator Staff Member

    35,107
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    8:52 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Centmin Mod 123.09beta01 is being tested with multiple PHP-FPM versions via Remi SCL Yum Repository.

    Centmin Mod 123.09beta01 native PHP-FPM 7.2.0 RC6.
    Code (Text):
    php -v
    PHP 7.2.0RC6 (cli) (built: Nov 14 2017 05:11:31) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.2.0-dev, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.2.0RC6, Copyright (c) 1999-2017, by Zend Technologies
    

    Code (Text):
    php-config
    Usage: /usr/local/bin/php-config [OPTION]
    Options:
      --prefix            [/usr/local]
      --includes          [-I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib]
      --ldflags           []
      --libs              [-lcrypt  -lc-client  -lz -lexslt -ltidy -lresolv -lcrypt -ledit -lncurses -laspell -lpspell -lrt -lldap -llber -lstdc++ -lcrypt -lpam -lgmp -lX11 -lXpm -lpng -lz -ljpeg -lwebp -lenchant -lbz2 -lz -lrt -lm -ldl -lnsl  -lxml2 -lz -llzma -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcurl -lxml2 -lz -llzma -lm -ldl -lssl -lcrypto -lfreetype -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -ldl -lm -licui18n -licuuc -licudata -ldl -lm -licuio -lxml2 -lz -llzma -lm -ldl -lnetsnmp -lssl -lssl -lcrypto -lm -lxml2 -lz -llzma -lm -ldl -lcrypt -lxml2 -lz -llzma -lm -ldl -lxml2 -lz -llzma -lm -ldl -lxml2 -lz -llzma -lm -ldl -lxml2 -lz -llzma -lm -ldl -lxslt -lxml2 -lm -lssl -lcrypto -lcrypt ]
      --extension-dir     [/usr/local/lib/php/extensions/no-debug-non-zts-20170718]
      --include-dir       [/usr/local/include/php]
      --man-dir           [/usr/local/php/man]
      --php-binary        [/usr/local/bin/php]
      --php-sapis         [ cli embed fpm phpdbg cgi]
      --configure-options [--enable-fpm --enable-opcache --enable-intl --enable-pcntl --with-mcrypt --with-snmp --enable-embed=shared --with-mhash --with-zlib --with-gettext --enable-exif --enable-zip --with-bz2 --enable-soap --enable-sockets --enable-sysvmsg --enable-sysvsem --enable-sysvshm --enable-shmop --with-pear --enable-mbstring --with-openssl --with-mysql=mysqlnd --with-libdir=lib64 --with-mysqli=mysqlnd --with-mysql-sock=/var/lib/mysql/mysql.sock --with-curl --with-gd --with-xmlrpc --enable-bcmath --enable-calendar --enable-ftp --enable-gd-native-ttf --with-freetype-dir=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --with-webp-dir=/usr --with-t1lib=/usr --enable-pdo --with-pdo-sqlite --with-pdo-mysql=mysqlnd --enable-inline-optimization --with-imap --with-imap-ssl --with-kerberos --with-readline --with-libedit --with-gmp --with-pspell --with-tidy --with-enchant --with-fpm-user=nginx --with-fpm-group=nginx --disable-fileinfo --with-ldap --with-ldap-sasl --enable-huge-code-pages --with-config-file-scan-dir=/etc/centminmod/php.d --with-xsl]
      --version           [7.2.0RC6]
      --vernum            [70200]
    
     
  3. eva2000

    eva2000 Administrator Staff Member

    35,107
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    8:52 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    Remi SCL Yum PHP-FPM 7.2.0 RC6

    Code (Text):
    php72 -v
    PHP 7.2.0RC6 (cli) (built: Nov  7 2017 14:49:52) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.2.0-dev, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.2.0RC6, Copyright (c) 1999-2017, by Zend Technologies
    

    Code (Text):
    ./php72.sh phpconfig
    Usage: /opt/remi/php72/root/usr/bin/php-config [OPTION]
    Options:
      --prefix            [/opt/remi/php72/root/usr]
      --includes          [-I/opt/remi/php72/root/usr/include/php -I/opt/remi/php72/root/usr/include/php/main -I/opt/remi/php72/root/usr/include/php/TSRM -I/opt/remi/php72/root/usr/include/php/Zend -I/opt/remi/php72/root/usr/include/php/ext -I/opt/remi/php72/root/usr/include/php/ext/date/lib]
      --ldflags           []
      --libs              [-lcrypt   -largon2 -lresolv -lcrypt -ledit -lncurses -lstdc++ -lz -lrt -lm -ldl -lnsl  -lxml2 -lz -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcrypt -largon2 -largon2 -lcrypt ]
      --extension-dir     [/opt/remi/php72/root/usr/lib64/php/modules]
      --include-dir       [/opt/remi/php72/root/usr/include/php]
      --man-dir           [/opt/remi/php72/root/usr/share/man]
      --php-binary        [/opt/remi/php72/root/usr/bin/php]
      --php-sapis         [apache2handler embed fpm  cli phpdbg cgi]
      --configure-options [--build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/opt/remi/php72/root/usr --exec-prefix=/opt/remi/php72/root/usr --bindir=/opt/remi/php72/root/usr/bin --sbindir=/opt/remi/php72/root/usr/sbin --sysconfdir=/etc/opt/remi/php72 --datadir=/opt/remi/php72/root/usr/share --includedir=/opt/remi/php72/root/usr/include --libdir=/opt/remi/php72/root/usr/lib64 --libexecdir=/opt/remi/php72/root/usr/libexec --localstatedir=/var/opt/remi/php72 --sharedstatedir=/var/opt/remi/php72/lib --mandir=/opt/remi/php72/root/usr/share/man --infodir=/opt/remi/php72/root/usr/share/info --cache-file=../config.cache --with-libdir=lib64 --with-config-file-path=/etc/opt/remi/php72 --with-config-file-scan-dir=/etc/opt/remi/php72/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-exec-dir=/opt/remi/php72/root/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --without-gdbm --with-jpeg-dir=/usr --with-openssl --with-system-ciphers --with-zlib --with-layout=GNU --with-kerberos --with-libxml-dir=/usr --with-system-tzdata --with-mhash --with-password-argon2 --enable-dtrace --libdir=/opt/remi/php72/root/usr/lib64/php --enable-pcntl --enable-opcache --enable-opcache-file --enable-phpdbg --with-imap=shared --with-imap-ssl --enable-mbstring=shared --enable-mbregex --with-gd=shared,/usr --with-gmp=shared --enable-calendar=shared --enable-bcmath=shared --with-bz2=shared --enable-ctype=shared --enable-dba=shared --with-db4=/usr --with-tcadb=/usr --with-lmdb=/usr --enable-exif=shared --enable-ftp=shared --with-gettext=shared --with-iconv=shared --enable-sockets=shared --enable-tokenizer=shared --with-xmlrpc=shared --with-ldap=shared --with-ldap-sasl --enable-mysqlnd=shared --with-mysqli=shared,mysqlnd --with-mysql-sock=/var/lib/mysql/mysql.sock --with-oci8=shared,instantclient,/usr/lib64/oracle/12.2/client64/lib,12.2 --with-pdo-oci=shared,instantclient,/usr/lib64/oracle/12.2/client64/lib,12.2 --with-interbase=shared --with-pdo-firebird=shared --enable-dom=shared --with-pgsql=shared --enable-simplexml=shared --enable-xml=shared --enable-wddx=shared --with-snmp=shared,/usr --enable-soap=shared --with-xsl=shared,/usr --enable-xmlreader=shared --enable-xmlwriter=shared --with-curl=shared,/usr --enable-pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-mysql=shared,mysqlnd --with-pdo-pgsql=shared,/usr --with-pdo-sqlite=shared,/usr --with-sqlite3=shared,/usr --enable-json=shared --without-readline --with-libedit --with-pspell=shared --enable-phar=shared --with-tidy=shared,/usr --with-pdo-dblib=shared,/usr --enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared --enable-shmop=shared --enable-posix=shared --with-unixODBC=shared,/usr --enable-intl=shared --with-icu-dir=/usr --with-enchant=shared,/usr --with-recode=shared,/usr --enable-fileinfo=shared --with-sodium=shared build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -fno-strict-aliasing -Wno-pointer-sign CXXFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic]
      --version           [7.2.0RC6]
      --vernum            [70200]
    
     
  4. eva2000

    eva2000 Administrator Staff Member

    35,107
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    8:52 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    PHP-FPM benchmarks for PHP-FPM 7.2.0 RC6 vs 7.2.0 RC5 vs 7.2.0 RC4 vs 7.2.0 RC3 vs 7.2.0 RC2 vs 7.2.0 RC1 vs PHP-FPM 7.2.0 Beta3 vs PHP-FPM 7.2.0 Beta2 vs 7.2.0 Beta 1 vs 7.2.0 Alpha1-3 vs 7.1.x vs 7.0.x vs 5.6.x.

    Once PHP 7.2.0 Final GA release arrives, will also add php benchmarks for PHP compiled against newer GCC 5.3, 6.3, 7.2 and Clang 4/5 compilers instead of CentOS 7.4's native GCC 4.8.5 compiler.

    System:
    • OVH MC-32 Intel Core i7 4790K
    • 32GB Memory
    • 2x240GB SSD
    • 250Mbit Network Bandwidth
    • CentOS 7.4 64bit
    • Centmin Mod 123.09beta01 LEMP stack - Nginx 1.13.6, MariaDB 10.1.28 MySQL, + CSF Firewall
    • BHS, Canada
    PGO = Profile Guided Optimisations

    Times are in seconds where lower is faster

    PHP Version bench.php micro_bench.php detailed_benchmark.php
    PHP 7.2.0RC6 centminmod php-fpm + PGO 0.4167 2.0783 1.7640
    PHP 7.2.0RC6 centminmod php-fpm + no PGO 0.3910 2.1657 1.7593
    PHP 7.2.0RC5 centminmod php-fpm + PGO 0.3973 2.0800 1.7627
    PHP 7.2.0RC5 centminmod php-fpm + no PGO 0.3887 2.3317 1.7473
    PHP 7.2.0RC4 centminmod php-fpm + PGO 0.3953 2.0823 1.7677
    PHP 7.2.0RC4 centminmod php-fpm + no PGO 0.3973 2.2330 1.7973
    PHP 7.2.0RC3 centminmod php-fpm + PGO 0.4000 2.0760 1.7580
    PHP 7.2.0RC3 centminmod php-fpm + no PGO 0.3983 2.3100 1.7853
    PHP 7.2.0RC2 centminmod php-fpm + PGO 0.3987 2.0753 1.7690
    PHP 7.2.0RC2 centminmod php-fpm + no PGO 0.3967 2.3223 1.7670
    PHP 7.2.0RC1 centminmod php-fpm + PGO 0.3983 2.1357 1.7633
    PHP 7.2.0RC1 centminmod php-fpm + no PGO 0.3980 2.2853 1.7673
    PHP 7.2.0beta3 centminmod php-fpm + PGO 0.3833 2.0583 1.7590
    PHP 7.2.0beta3 centminmod php-fpm + no PGO 0.3903 2.3120 1.7643
    PHP 7.2.0beta2 centminmod php-fpm + PGO 0.3837 2.0617 1.7530
    PHP 7.2.0beta2 centminmod php-fpm + no PGO 0.4003 2.2843 1.7693
    PHP 7.2.0beta1 centminmod php-fpm + PGO 0.3877 2.0783 1.7167
    PHP 7.2.0beta1 centminmod php-fpm + no PGO 0.3890 2.2053 1.7843
    PHP 7.2.0alpha3 centminmod php-fpm + PGO 0.3850 2.0483 1.7543
    PHP 7.2.0alpha3 centminmod php-fpm + no PGO 0.3877 2.2887 1.7613
    PHP 7.2.0alpha2 centminmod php-fpm + PGO 0.3947 2.0503 1.7457
    PHP 7.2.0alpha2 centminmod php-fpm + No PGO 0.3973 2.1437 1.7540
    PHP 7.2.0alpha1 centminmod php-fpm + PGO 0.3852 2.1047 1.7820
    PHP 7.2.0alpha1 centminmod php-fpm + No PGO 0.3888 2.2572 1.7793
    PHP 7.1.11 centminmod php-fpm + PGO 0.4177 2.3430 1.9313
    PHP 7.1.11 centminmod php-fpm + No PGO 0.4130 2.2530 1.9400
    PHP 7.1.10 centminmod php-fpm + PGO 0.4000 2.2017 1.9200
    PHP 7.1.10 centminmod php-fpm + No PGO 0.4110 2.2557 1.9667
    PHP 7.1.9 centminmod php-fpm + PGO 0.4013 2.1940 1.9543
    PHP 7.1.9 centminmod php-fpm + No PGO 0.4097 2.2133 1.9553
    PHP 7.1.8 centminmod php-fpm + PGO 0.4010 2.3073 1.9300
    PHP 7.1.8 centminmod php-fpm + No PGO 0.4110 2.2667 1.9477
    PHP 7.1.7 centminmod php-fpm + PGO 0.4093 2.3673 1.9413
    PHP 7.1.7 centminmod php-fpm + No PGO 0.4080 2.2580 1.9337
    PHP 7.1.6 centminmod php-fpm + No PGO 0.4069 2.2363 1.9149
    PHP 7.1.6 centminmod php-fpm + PGO 0.4135 2.2365 1.9436
    PHP 7.0.25 centminmod php-fpm + PGO 0.4273 2.2577 1.9770
    PHP 7.0.25 centminmod php-fpm + No PGO 0.4300 2.3300 2.0140
    PHP 7.0.24 centminmod php-fpm + PGO 0.4303 2.2797 2.0413
    PHP 7.0.24 centminmod php-fpm + No PGO 0.4293 2.3350 2.0487
    PHP 7.0.23 centminmod php-fpm + PGO 0.4293 2.2430 2.0123
    PHP 7.0.23 centminmod php-fpm + No PGO 0.4353 2.2980 2.0250
    PHP 7.0.22 centminmod php-fpm + PGO 0.4260 2.2100 1.9900
    PHP 7.0.22 centminmod php-fpm + No PGO 0.4253 2.2490 2.0273
    PHP 7.0.21 centminmod php-fpm + PGO 0.4150 2.2337 2.0093
    PHP 7.0.21 centminmod php-fpm + No PGO 0.4280 2.2863 1.9980
    PHP 5.6.32 centminmod php-fpm 1.1580 5.5193 3.9357
    PHP 5.6.31 centminmod php-fpm 1.1470 5.5567 3.9703
    PHP 5.6.30 centminmod php-fpm 1.1510 5.6733 3.9657
    PHP 7.2.0RC6 remi scl php-fpm 0.3837 2.2277 1.9400
    PHP 7.2.0RC5 remi scl php-fpm 0.3880 2.3090 1.9210
    PHP 7.2.0RC4 remi scl php-fpm 0.3823 2.2780 1.9077
    PHP 7.2.0RC3 remi scl php-fpm 0.3867 2.1560 1.9073
    PHP 7.2.0RC2 remi scl php-fpm 0.3817 2.2230 1.9050
    PHP 7.2.0RC1 remi scl php-fpm 0.3863 2.1770 1.9057
    PHP 7.2.0beta3 remi scl php-fpm 0.3817 2.2200 1.9300
    PHP 7.2.0beta2 remi scl php-fpm 0.3887 2.1637 1.9317
    PHP 7.2.0beta1 remi scl php-fpm 0.3957 2.1917 1.9207
    PHP 7.2.0alpha3 remi scl php-fpm 0.3853 2.1760 1.9057
    PHP 7.2.0alpha2 remi scl php-fpm 0.3920 2.1953 1.9090
    PHP 7.2.0alpha1 remi scl php-fpm 0.3942 2.2707 1.9384
    PHP 7.1.11 remi scl php-fpm 0.4117 2.3860 2.0823
    PHP 7.1.10 remi scl php-fpm 0.4050 2.4053 2.0727
    PHP 7.1.9 remi scl php-fpm 0.4067 2.3673 2.1000
    PHP 7.1.8 remi scl php-fpm 0.4110 2.3637 2.1057
    PHP 7.1.7 remi scl php-fpm 0.4113 2.3783 2.1077
    PHP 7.1.6 remi scl php-fpm 0.4113 2.3370 2.0943
    PHP 7.0.25 remi scl php-fpm 0.4310 2.3513 2.0957
    PHP 7.0.24 remi scl php-fpm 0.4330 2.2923 2.0943
    PHP 7.0.23 remi scl php-fpm 0.4343 2.3023 2.0933
    PHP 7.0.22 remi scl php-fpm 0.4303 2.2987 2.1110
    PHP 7.0.21 remi scl php-fpm 0.4327 2.2907 2.1277
    PHP 7.0.20 remi scl php-fpm 0.4323 2.2987 2.1167
    PHP 5.6.32 remi scl php-fpm 1.1537 5.7430 4.0240
    PHP 5.6.31 remi scl php-fpm 1.1567 5.6847 4.0327
    PHP 5.6.30 remi scl php-fpm 1.2130 5.8380 4.1733
     
  5. eva2000

    eva2000 Administrator Staff Member

    35,107
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    8:52 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
  6. rdan

    rdan Premium Member Premium Member

    4,229
    1,029
    113
    May 25, 2014
    Ratings:
    +1,470
    Local Time:
    6:52 AM
    Mainline
    10.2
    • Informative Informative x 1
  7. pamamolf

    pamamolf Well-Known Member

    3,108
    294
    83
    May 31, 2014
    Ratings:
    +529
    Local Time:
    1:52 AM
    Nginx-1.13.x
    MariaDB 10.1.x
    Centminmod was born to be ready :)
     
  8. eva2000

    eva2000 Administrator Staff Member

    35,107
    7,751
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +11,953
    Local Time:
    8:52 AM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    official release is in 1-2 days so maybe not all mirrors would be populated yet but you can try as the routines are setup for php 7.2 i.e. = 7.2.0 version numbr to specified.
     
  9. bassie

    bassie Active Member

    869
    203
    43
    Apr 29, 2016
    Ratings:
    +610
    Local Time:
    12:52 AM
    You can use the PHP 7.2. package from Github without worry.
    It is the final code.

    Remi Collet, PHP developer has used exactly the same package in his RPM packages and it is listed in the changelog as follows: Update to 7.2.0 GA.
    GA = General Availability.
     
    • Informative Informative x 1
..