Join the community today
Become a Member

PHP-FPM addons/php71.sh - Multiple PHP-FPM Versions Work Preview

Discussion in 'Beta release code' started by eva2000, Jun 7, 2017.

Thread Status:
Not open for further replies.
  1. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Multiple PHP-FPM versions is on the to do list for future Centmin Mod development and has been requested by Centmin Mod users for a while now. This is just a preview of just one avenue that I may look at for adding additional PHP-FPM versions to work concurrently with Centmin Mod's default source compiled version of PHP-FPM. Note, running concurrent multiple PHP-FPM versions will increase your server's memory usage theoretically by least 2x to 3x fold if you run 2 to 3 concurrent PHP-FPM versions !

    The below method utilises Remi Yum Repository's SCL php71 version to work side by side concurrently with Centmin Mod's default PHP-FPM version. So it will be installed via YUM. This Remi SCL based PHP 7.1 branch version will not be able to support advanced optimisations like Centmin Mod 123.09beta01's source compiled PHP 7.x versions which support optionally, Profile Guide Optimisations to boost PHP 7 performance by another 3-17% [benchmarks] or Intel cpu specific optimised PHP compilations but installation will be much faster than Centmin Mod's source compiled version.

    This PHP-FPM 7.1 branch version:
    • CentOS 7 only for now
    • CentOS 7 transparent hugepages support is enabled for Zend Opcache if system detected to support it
    • listens on port 9900 instead of 9000 with php-fpm pool named php71-www
    • custom php.ini settings calculated by centmin mod are placed in /etc/opt/remi/php71/php.d/zzz_customphp.ini
    • php config scan directory is at /etc/opt/remi/php71/php.d
    • php-fpm config file at /etc/opt/remi/php71/php-fpm.d/www.conf
    • error log at /var/opt/remi/php71/log/php-fpm/www-error.log
    • centmin mod nginx's php include file is at /usr/local/nginx/conf/php71-remi.conf instead of default at /usr/local/nginx/conf/php.conf which you replace references to in your centmin mod nginx vhost config file
    • fpmconfphp71 is centmin mod command shortcut to invoke nano linux text editor to edit /etc/opt/remi/php71/php-fpm.d/www.conf
    • phpincphp71 is centmin mod command shortcut to invoke nano linux text editor to edit /usr/local/nginx/conf/php71-remi.conf
    • systemctl start php71-php-fpm command to start php71-php-fpm service with command shortcut = fpm71start
    • systemctl restart php71-php-fpm command to restart php71-php-fpm service with command shortcut = fpm71restart
    • systemctl stop php71-php-fpm command to stop php71-php-fpm service with command shortcut = fpm71stop
    • systemctl status php71-php-fpm command to get status for php71-php-fpm service with command shortcut = fpm71status
    Example


    PHP version
    Code (Text):
    php71 -v
    PHP 7.1.5 (cli) (built: May  9 2017 17:04:23) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
       with Zend OPcache v7.1.5, Copyright (c) 1999-2017, by Zend Technologies
    

    Example for configuring Centmin Mod Nginx vhost to use this custom php71 version at /php71 location
    Code (Text):
    location /php71 {
     include /usr/local/nginx/conf/php71-remi.conf;
    }
    

    process listing
    Code (Text):
    ./php71.sh process
    root      6835  0.0  1.4 109280 26972 ?        Ss   14:18   0:00 nginx: master process /usr/local/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
    nginx     6836  0.1  2.7 137952 52420 ?        S<   14:18   0:04  \_ nginx: worker process
    nginx     6837  0.1  2.7 137952 52428 ?        S<   14:18   0:04  \_ nginx: worker process
    nginx     6839  0.1  2.7 137952 52424 ?        S<   14:18   0:04  \_ nginx: worker process
    root      6847  0.0  0.5 642156  9420 ?        Ss   14:18   0:00 php-fpm: master process (/usr/local/etc/php-fpm.conf)
    root      7754  0.0  2.1 768576 40584 ?        Ss   15:15   0:00 php-fpm: master process (/etc/opt/remi/php71/php-fpm.conf)
    nginx     7755  0.0  1.3 1145812 25220 ?       S    15:15   0:00  \_ php-fpm: pool php71-www
    nginx     7756  0.0  0.5 768576 10952 ?        S    15:15   0:00  \_ php-fpm: pool php71-www
    nginx     7757  0.0  0.5 768576 10952 ?        S    15:15   0:00  \_ php-fpm: pool php71-www
    nginx     7758  0.0  0.5 768576 10952 ?        S    15:15   0:00  \_ php-fpm: pool php71-www
    nginx     7759  0.0  0.5 768576 10956 ?        S    15:15   0:00  \_ php-fpm: pool php71-www
    nginx     7760  0.0  0.5 768576 10956 ?        S    15:15   0:00  \_ php-fpm: pool php71-www
    

    Usage
    Code (Text):
    ./php71.sh 
    ./php71.sh {install|update|list|phpconfig|phperrors|phpcustom|phpslowlog|phpini|phpext|start|restart|stop|status|process}
    

    Code (Text):
    ./php71.sh status
    ● php71-php-fpm.service - The PHP FastCGI Process Manager
       Loaded: loaded (/usr/lib/systemd/system/php71-php-fpm.service; enabled; vendor preset: disabled)
       Active: active (running) since Tue 2017-06-06 14:40:03 UTC; 19min ago
     Main PID: 7028 (php-fpm)
       Status: "Processes active: 0, idle: 5, Requests: 1, slow: 0, Traffic: 0req/sec"
       CGroup: /system.slice/php71-php-fpm.service
              ├─7028 php-fpm: master process (/etc/opt/remi/php71/php-fpm.conf)
              ├─7029 php-fpm: pool php71-www
              ├─7030 php-fpm: pool php71-www
              ├─7031 php-fpm: pool php71-www
              ├─7032 php-fpm: pool php71-www
              └─7033 php-fpm: pool php71-www
    
    Jun 06 14:40:02 centos7.localdomain systemd[1]: Starting The PHP FastCGI Process Manager...
    Jun 06 14:40:03 centos7.localdomain systemd[1]: Started The PHP FastCGI Process Manager.
    

    Code (Text):
    ./php71.sh phpconfig
    Usage: /opt/remi/php71/root/usr/bin/php-config [OPTION]
    Options:
      --prefix            [/opt/remi/php71/root/usr]
      --includes          [-I/opt/remi/php71/root/usr/include/php -I/opt/remi/php71/root/usr/include/php/main -I/opt/remi/php71/root/usr/include/php/TSRM -I/opt/remi/php71/root/usr/include/php/Zend -I/opt/remi/php71/root/usr/include/php/ext -I/opt/remi/php71/root/usr/include/php/ext/date/lib]
      --ldflags           []
      --libs              [-lcrypt   -lresolv -lcrypt -ledit -lncurses -lstdc++ -lz -lrt -lm -ldl -lnsl  -lxml2 -lz -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcrypt -lcrypt ]
      --extension-dir     [/opt/remi/php71/root/usr/lib64/php/modules]
      --include-dir       [/opt/remi/php71/root/usr/include/php]
      --man-dir           [/opt/remi/php71/root/usr/share/man]
      --php-binary        [/opt/remi/php71/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/php71/root/usr --exec-prefix=/opt/remi/php71/root/usr --bindir=/opt/remi/php71/root/usr/bin --sbindir=/opt/remi/php71/root/usr/sbin --sysconfdir=/etc/opt/remi/php71 --datadir=/opt/remi/php71/root/usr/share --includedir=/opt/remi/php71/root/usr/include --libdir=/opt/remi/php71/root/usr/lib64 --libexecdir=/opt/remi/php71/root/usr/libexec --localstatedir=/var/opt/remi/php71 --sharedstatedir=/var/opt/remi/php71/lib --mandir=/opt/remi/php71/root/usr/share/man --infodir=/opt/remi/php71/root/usr/share/info --cache-file=../config.cache --with-libdir=lib64 --with-config-file-path=/etc/opt/remi/php71 --with-config-file-scan-dir=/etc/opt/remi/php71/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-exec-dir=/opt/remi/php71/root/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --enable-gd-native-ttf --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 --enable-dtrace --libdir=/opt/remi/php71/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 --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.1/client64/lib,12.1 --with-pdo-oci=shared,instantclient,/usr,12.1 --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-mcrypt=shared,/usr --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 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.1.5]
      --vernum            [70105]
    

    Code (Text):
    ./php71.sh phpext
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    fileinfo
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    json_post
    ldap
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    memcached
    msgpack
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_dblib
    pdo_mysql
    pdo_sqlite
    Phar
    pspell
    readline
    redis
    Reflection
    session
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    tidy
    tokenizer
    wddx
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    

    Code (Text):
    ./php71.sh phpini
    Configuration File (php.ini) Path: /etc/opt/remi/php71
    Loaded Configuration File:         /etc/opt/remi/php71/php.ini
    Scan for additional .ini files in: /etc/opt/remi/php71/php.d
    Additional .ini files parsed:      /etc/opt/remi/php71/php.d/10-opcache.ini,
    /etc/opt/remi/php71/php.d/20-bcmath.ini,
    /etc/opt/remi/php71/php.d/20-bz2.ini,
    /etc/opt/remi/php71/php.d/20-calendar.ini,
    /etc/opt/remi/php71/php.d/20-ctype.ini,
    /etc/opt/remi/php71/php.d/20-curl.ini,
    /etc/opt/remi/php71/php.d/20-dom.ini,
    /etc/opt/remi/php71/php.d/20-enchant.ini,
    /etc/opt/remi/php71/php.d/20-exif.ini,
    /etc/opt/remi/php71/php.d/20-fileinfo.ini,
    /etc/opt/remi/php71/php.d/20-ftp.ini,
    /etc/opt/remi/php71/php.d/20-gd.ini,
    /etc/opt/remi/php71/php.d/20-gettext.ini,
    /etc/opt/remi/php71/php.d/20-gmp.ini,
    /etc/opt/remi/php71/php.d/20-iconv.ini,
    /etc/opt/remi/php71/php.d/20-imap.ini,
    /etc/opt/remi/php71/php.d/20-intl.ini,
    /etc/opt/remi/php71/php.d/20-json.ini,
    /etc/opt/remi/php71/php.d/20-ldap.ini,
    /etc/opt/remi/php71/php.d/20-mbstring.ini,
    /etc/opt/remi/php71/php.d/20-mcrypt.ini,
    /etc/opt/remi/php71/php.d/20-mysqlnd.ini,
    /etc/opt/remi/php71/php.d/20-pdo.ini,
    /etc/opt/remi/php71/php.d/20-phar.ini,
    /etc/opt/remi/php71/php.d/20-pspell.ini,
    /etc/opt/remi/php71/php.d/20-simplexml.ini,
    /etc/opt/remi/php71/php.d/20-snmp.ini,
    /etc/opt/remi/php71/php.d/20-soap.ini,
    /etc/opt/remi/php71/php.d/20-sockets.ini,
    /etc/opt/remi/php71/php.d/20-sqlite3.ini,
    /etc/opt/remi/php71/php.d/20-tidy.ini,
    /etc/opt/remi/php71/php.d/20-tokenizer.ini,
    /etc/opt/remi/php71/php.d/20-xml.ini,
    /etc/opt/remi/php71/php.d/20-xmlwriter.ini,
    /etc/opt/remi/php71/php.d/20-xsl.ini,
    /etc/opt/remi/php71/php.d/30-mysqli.ini,
    /etc/opt/remi/php71/php.d/30-pdo_dblib.ini,
    /etc/opt/remi/php71/php.d/30-pdo_mysql.ini,
    /etc/opt/remi/php71/php.d/30-pdo_sqlite.ini,
    /etc/opt/remi/php71/php.d/30-wddx.ini,
    /etc/opt/remi/php71/php.d/30-xmlreader.ini,
    /etc/opt/remi/php71/php.d/30-xmlrpc.ini,
    /etc/opt/remi/php71/php.d/40-geoip.ini,
    /etc/opt/remi/php71/php.d/40-igbinary.ini,
    /etc/opt/remi/php71/php.d/40-imagick.ini,
    /etc/opt/remi/php71/php.d/40-mailparse.ini,
    /etc/opt/remi/php71/php.d/40-memcache.ini,
    /etc/opt/remi/php71/php.d/40-msgpack.ini,
    /etc/opt/remi/php71/php.d/40-zip.ini,
    /etc/opt/remi/php71/php.d/50-json_post.ini,
    /etc/opt/remi/php71/php.d/50-memcached.ini,
    /etc/opt/remi/php71/php.d/50-mysql.ini,
    /etc/opt/remi/php71/php.d/50-redis.ini,
    /etc/opt/remi/php71/php.d/zzz_customphp.ini
    

    Code (Text):
    ./php71.sh list
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.aarnet.edu.au
     * epel: fedora.uberglobalmirror.com
     * extras: mirror.aarnet.edu.au
     * remi: mirror.innosol.asia
     * rpmforge: mirror.as24220.net
     * updates: centos.mirror.serversaustralia.com.au
    Installed Packages
    php71.x86_64                                                                                                             1.0-1.el7.remi                                                                                                              @remi
    php71-php-bcmath.x86_64                                                                                                  7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-devel.x86_64                                                                                                   7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-enchant.x86_64                                                                                                 7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-fpm.x86_64                                                                                                     7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-gd.x86_64                                                                                                      7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-gmp.x86_64                                                                                                     7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-imap.x86_64                                                                                                    7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-intl.x86_64                                                                                                    7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-ldap.x86_64                                                                                                    7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-mbstring.x86_64                                                                                                7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-mcrypt.x86_64                                                                                                  7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-mysqlnd.x86_64                                                                                                 7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-opcache.x86_64                                                                                                 7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-pdo-dblib.x86_64                                                                                               7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-pecl-geoip.x86_64                                                                                              1.1.1-3.el7.remi                                                                                                            @remi
    php71-php-pecl-igbinary.x86_64                                                                                           2.0.4-1.el7.remi                                                                                                            @remi
    php71-php-pecl-igbinary-devel.x86_64                                                                                     2.0.4-1.el7.remi                                                                                                            @remi
    php71-php-pecl-imagick.x86_64                                                                                            3.4.3-1.el7.remi                                                                                                            @remi
    php71-php-pecl-imagick-devel.x86_64                                                                                      3.4.3-1.el7.remi                                                                                                            @remi
    php71-php-pecl-json-post.x86_64                                                                                          1.0.1-6.el7.remi                                                                                                            @remi
    php71-php-pecl-mailparse.x86_64                                                                                          3.0.2-1.el7.remi                                                                                                            @remi
    php71-php-pecl-memcache.x86_64                                                                                           3.0.9-0.7.20161124gitdf7735e.el7.remi                                                                                       @remi
    php71-php-pecl-memcached.x86_64                                                                                          3.0.3-1.el7.remi                                                                                                            @remi
    php71-php-pecl-mysql.x86_64                                                                                              1.0.0-0.15.20160812git230a828.el7.remi                                                                                      @remi
    php71-php-pecl-redis.x86_64                                                                                              3.1.2-1.el7.remi                                                                                                            @remi
    php71-php-pecl-zip.x86_64                                                                                                1.14.0-1.el7.remi                                                                                                           @remi
    php71-php-pspell.x86_64                                                                                                  7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-snmp.x86_64                                                                                                    7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-soap.x86_64                                                                                                    7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-tidy.x86_64                                                                                                    7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-xml.x86_64                                                                                                     7.1.5-1.el7.remi                                                                                                            @remi
    php71-php-xmlrpc.x86_64                                                                                                  7.1.5-1.el7.remi                                                                                                            @remi
    
     
    Last edited: Jun 8, 2017
  2. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    phpinfo-7.1.5-01.png
     
  3. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    All default installed PHP extensions info via command

    Code (Text):
    php71 -m 2>&1 | grep -v '\[' | sort | uniq | while read m; do echo "php71 --ri "$m"";php71 --ri "$m"; done
    

    Code (Text):
    php71 --ri bcmath
    
    bcmath
    
    BCMath support => enabled
    
    Directive => Local Value => Master Value
    bcmath.scale => 0 => 0
    

    Code (Text):
    php71 --ri bz2
    
    bz2
    
    BZip2 Support => Enabled
    Stream Wrapper support => compress.bzip2://
    Stream Filter support => bzip2.decompress, bzip2.compress
    BZip2 Version => 1.0.6, 6-Sept-2010
    

    Code (Text):
    php71 --ri calendar
    
    calendar
    
    Calendar support => enabled
    

    Code (Text):
    php71 --ri Core
    
    Core
    
    PHP Version => 7.1.5
    
    Directive => Local Value => Master Value
    highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
    highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
    highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
    highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
    highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
    display_errors => Off => Off
    display_startup_errors => Off => Off
    enable_dl => Off => Off
    expose_php => Off => Off
    docref_root => no value => no value
    docref_ext => no value => no value
    html_errors => Off => Off
    xmlrpc_errors => Off => Off
    xmlrpc_error_number => 0 => 0
    max_input_time => -1 => -1
    ignore_user_abort => Off => Off
    implicit_flush => On => On
    log_errors => On => On
    log_errors_max_len => 1024 => 1024
    ignore_repeated_errors => Off => Off
    ignore_repeated_source => Off => Off
    report_memleaks => On => On
    report_zend_debug => Off => Off
    output_buffering => 0 => 0
    output_handler => no value => no value
    register_argc_argv => On => On
    auto_globals_jit => On => On
    short_open_tag => On => On
    sql.safe_mode => Off => Off
    track_errors => Off => Off
    unserialize_callback_func => no value => no value
    serialize_precision => -1 => -1
    arg_separator.output => & => &
    arg_separator.input => & => &
    auto_append_file => no value => no value
    auto_prepend_file => no value => no value
    doc_root => no value => no value
    default_charset => UTF-8 => UTF-8
    default_mimetype => text/html => text/html
    internal_encoding => no value => no value
    input_encoding => no value => no value
    output_encoding => no value => no value
    error_log => no value => no value
    extension_dir => /opt/remi/php71/root/usr/lib64/php/modules => /opt/remi/php71/root/usr/lib64/php/modules
    sys_temp_dir => no value => no value
    include_path => .:/opt/remi/php71/root/usr/share/pear:/opt/remi/php71/root/usr/share/php:/usr/share/pear:/usr/share/php => .:/opt/remi/php71/root/usr/share/pear:/opt/remi/php71/root/usr/share/php:/usr/share/pear:/usr/share/php
    max_execution_time => 0 => 0
    open_basedir => no value => no value
    file_uploads => On => On
    upload_max_filesize => 800M => 800M
    post_max_size => 800M => 800M
    upload_tmp_dir => no value => no value
    max_input_nesting_level => 128 => 128
    max_input_vars => 10000 => 10000
    user_dir => no value => no value
    variables_order => GPCS => GPCS
    request_order => GP => GP
    error_append_string => no value => no value
    error_prepend_string => no value => no value
    SMTP => localhost => localhost
    smtp_port => 25 => 25
    mail.add_x_header => Off => Off
    mail.log => no value => no value
    browscap => no value => no value
    memory_limit => 800M => 800M
    precision => 14 => 14
    sendmail_from => no value => no value
    sendmail_path => /usr/sbin/sendmail -t -i => /usr/sbin/sendmail -t -i
    mail.force_extra_parameters => no value => no value
    disable_functions => no value => no value
    disable_classes => no value => no value
    max_file_uploads => 20 => 20
    allow_url_fopen => On => On
    allow_url_include => Off => Off
    enable_post_data_reading => On => On
    realpath_cache_size => 640k => 640k
    realpath_cache_ttl => 86400 => 86400
    user_ini.filename => .user.ini => .user.ini
    user_ini.cache_ttl => 300 => 300
    hard_timeout => 2 => 2
    error_reporting => 22527 => 22527
    zend.assertions => -1 => -1
    zend.enable_gc => On => On
    zend.multibyte => Off => Off
    zend.script_encoding => no value => no value
    zend.detect_unicode => On => On
    zend.signal_check => Off => Off
    

    Code (Text):
    php71 --ri ctype
    
    ctype
    
    ctype functions => enabled
    

    Code (Text):
    php71 --ri curl
    
    curl
    
    cURL support => enabled
    cURL Information => 7.54.0
    Age => 3
    Features
    AsynchDNS => Yes
    CharConv => No
    Debug => No
    GSS-Negotiate => No
    IDN => No
    IPv6 => Yes
    krb4 => No
    Largefile => Yes
    libz => Yes
    NTLM => Yes
    NTLMWB => Yes
    SPNEGO => Yes
    SSL => Yes
    SSPI => No
    TLS-SRP => No
    Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smb, smbs, smtp, smtps, telnet, tftp
    Host => x86_64-redhat-linux-gnu
    SSL Version => NSS/3.28.4
    ZLib Version => 1.2.7
    libSSH Version => libssh2/1.8.0
    

    Code (Text):
    php71 --ri date
    
    date
    
    date/time support => enabled
    "Olson" Timezone Database Version => 0.system
    Timezone Database => internal
    Default timezone => UTC
    
    Directive => Local Value => Master Value
    date.timezone => UTC => UTC
    date.default_latitude => 31.7667 => 31.7667
    date.default_longitude => 35.2333 => 35.2333
    date.sunset_zenith => 90.583333 => 90.583333
    date.sunrise_zenith => 90.583333 => 90.583333
    

    Code (Text):
    php71 --ri dom
    
    dom
    
    DOM/XML => enabled
    DOM/XML API Version => 20031129
    libxml Version => 2.9.1
    HTML Support => enabled
    XPath Support => enabled
    XPointer Support => enabled
    Schema Support => enabled
    RelaxNG Support => enabled
    

    Code (Text):
    php71 --ri enchant
    
    enchant
    
    enchant support => enabled
    Version => 1.1.0
    Libenchant Version => 1.5.x
    Revision => $Id: 77f6840161c5b8604f9815ffce7708199b620f50 $
    
    myspell => Myspell Provider => /usr/lib64/enchant/libenchant_myspell.so
    

    Code (Text):
    php71 --ri exif
    
    exif
    
    EXIF Support => enabled
    EXIF Version => 1.4 $Id: 8bdc0c8f27c2c9dd1f7551f1f9fe3ab57a06a4b1 $
    Supported EXIF Version => 0220
    Supported filetypes => JPEG,TIFF
    
    Directive => Local Value => Master Value
    exif.encode_unicode => ISO-8859-15 => ISO-8859-15
    exif.decode_unicode_motorola => UCS-2BE => UCS-2BE
    exif.decode_unicode_intel => UCS-2LE => UCS-2LE
    exif.encode_jis => no value => no value
    exif.decode_jis_motorola => JIS => JIS
    exif.decode_jis_intel => JIS => JIS
    

    Code (Text):
    php71 --ri fileinfo
    
    fileinfo
    
    fileinfo support => enabled
    version => 1.0.5
    libmagic => 522
    

    Code (Text):
    php71 --ri filter
    
    filter
    
    Input Validation and Filtering => enabled
    Revision => $Id: cdc5e15bb616f10210b94ecd8789e66c927a375f $
    
    Directive => Local Value => Master Value
    filter.default => unsafe_raw => unsafe_raw
    filter.default_flags => no value => no value
    

    Code (Text):
    php71 --ri ftp
    
    ftp
    
    FTP support => enabled
    FTPS support => enabled
    

    Code (Text):
    php71 --ri gd
    
    gd
    
    GD Support => enabled
    GD headers Version => 2.2.4
    GD library Version => 2.2.4
    FreeType Support => enabled
    FreeType Linkage => with freetype
    FreeType Version => 2.4.11
    GIF Read Support => enabled
    GIF Create Support => enabled
    JPEG Support => enabled
    libJPEG Version => 6b
    PNG Support => enabled
    libPNG Version => 1.5.13
    WBMP Support => enabled
    XPM Support => enabled
    libXpm Version => 30411
    XBM Support => enabled
    WebP Support => enabled
    
    Directive => Local Value => Master Value
    gd.jpeg_ignore_warning => 1 => 1
    

    Code (Text):
    php71 --ri geoip
    
    geoip
    
    geoip support => enabled
    geoip extension version => 1.1.1
    geoip library version => 1005000
    
    Directive => Local Value => Master Value
    geoip.custom_directory => no value => no value
    

    Code (Text):
    php71 --ri gettext
    
    gettext
    
    GetText Support => enabled
    

    Code (Text):
    php71 --ri gmp
    
    gmp
    
    gmp support => enabled
    GMP version => 6.0.0
    

    Code (Text):
    php71 --ri hash
    
    hash
    
    hash support => enabled
    Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5
    
    MHASH support => Enabled
    MHASH API Version => Emulated Support
    

    Code (Text):
    php71 --ri iconv
    
    iconv
    
    iconv support => enabled
    iconv implementation => glibc
    iconv library version => 2.17
    
    Directive => Local Value => Master Value
    iconv.input_encoding => no value => no value
    iconv.output_encoding => no value => no value
    iconv.internal_encoding => no value => no value
    

    Code (Text):
    php71 --ri igbinary
    
    igbinary
    
    igbinary support => enabled
    igbinary version => 2.0.4
    igbinary APCU serializer ABI => 0
    igbinary session support => yes
    
    Directive => Local Value => Master Value
    igbinary.compact_strings => On => On
    

    Code (Text):
    php71 --ri imagick
    
    imagick
    
    imagick module => enabled
    imagick module version => 3.4.3
    imagick classes => Imagick, ImagickDraw, ImagickPixel, ImagickPixelIterator, ImagickKernel
    Imagick compiled with ImageMagick version => ImageMagick 6.9.7-6 Q16 x86_64 2017-01-29 http://www.imagemagick.org
    Imagick using ImageMagick library version => ImageMagick 6.9.8-8 Q16 x86_64 2017-05-29 http://www.imagemagick.org
    ImageMagick copyright => © 1999-2017 ImageMagick Studio LLC
    ImageMagick release date => 2017-05-29
    ImageMagick number of supported formats:  => 238
    ImageMagick supported formats => 3FR, 3G2, 3GP, AAI, AI, ART, ARW, AVI, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GROUP4, GV, H, HALD, HDR, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIFF, VIPS, VST, WBMP, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
    
    Directive => Local Value => Master Value
    imagick.locale_fix => 0 => 0
    imagick.skip_version_check => 1 => 1
    imagick.progress_monitor => 0 => 0
    

    Code (Text):
    php71 --ri imap
    
    imap
    
    IMAP c-Client Version => 2007f
    SSL Support => enabled
    Kerberos Support => enabled
    

    Code (Text):
    php71 --ri intl
    
    intl
    
    Internationalization support => enabled
    version => 1.1.0
    ICU version => 50.1.2
    ICU Data version => 50.1
    
    Directive => Local Value => Master Value
    intl.default_locale => no value => no value
    intl.error_level => 0 => 0
    intl.use_exceptions => 0 => 0
    

    Code (Text):
    php71 --ri json
    
    json
    
    json support => enabled
    json version => 1.5.0
    

    Code (Text):
    php71 --ri json_post
    
    json_post
    
    json_post support => enabled
    
    Directive => Local Value => Master Value
    json_post.flags => 1 => 1
    

    Code (Text):
    php71 --ri ldap
    
    ldap
    
    LDAP Support => enabled
    RCS Version => $Id: 1a2168f979730c42ec291285f5183076688f4509 $
    Total Links => 0/unlimited
    API Version => 3001
    Vendor Name => OpenLDAP
    Vendor Version => 20440
    SASL Support => Enabled
    
    Directive => Local Value => Master Value
    ldap.max_links => Unlimited => Unlimited
    

    Code (Text):
    php71 --ri libxml
    
    libxml
    
    libXML support => active
    libXML Compiled Version => 2.9.1
    libXML Loaded Version => 20904
    libXML streams => enabled
    

    Code (Text):
    php71 --ri mailparse
    
    mailparse
    
    mailparse support => enabled
    Extension Version => 3.0.2
    Revision => $Revision$
    
    Directive => Local Value => Master Value
    mailparse.def_charset => us-ascii => us-ascii
    

    Code (Text):
    php71 --ri mbstring
    
    mbstring
    
    Multibyte Support => enabled
    Multibyte string engine => libmbfl
    HTTP input encoding translation => disabled
    libmbfl version => 1.3.2
    oniguruma version => 5.9.6
    
    mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.
    
    Multibyte (japanese) regex support => enabled
    Multibyte regex (oniguruma) backtrack check => On
    Multibyte regex (oniguruma) version => 5.9.6
    
    Directive => Local Value => Master Value
    mbstring.language => neutral => neutral
    mbstring.detect_order => no value => no value
    mbstring.http_input => no value => no value
    mbstring.http_output => no value => no value
    mbstring.internal_encoding => no value => no value
    mbstring.substitute_character => no value => no value
    mbstring.func_overload => 0 => 0
    mbstring.encoding_translation => Off => Off
    mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)
    mbstring.strict_detection => Off => Off
    

    Code (Text):
    php71 --ri mcrypt
    
    mcrypt
    
    mcrypt support => enabled
    mcrypt_filter support => enabled
    Version => 2.5.8
    Api No => 20021217
    Supported ciphers => cast-128 gost rijndael-128 twofish arcfour cast-256 loki97 rijndael-192 saferplus wake blowfish-compat des rijndael-256 serpent xtea blowfish enigma rc2 tripledes
    Supported modes => cbc cfb ctr ecb ncfb nofb ofb stream
    
    Directive => Local Value => Master Value
    mcrypt.algorithms_dir => no value => no value
    mcrypt.modes_dir => no value => no value
    

    Code (Text):
    php71 --ri memcache
    
    memcache
    
    memcache support => enabled
    Version => 3.0.9-dev
    Revision => $Revision$
    
    Directive => Local Value => Master Value
    memcache.allow_failover => 1 => 1
    memcache.max_failover_attempts => 20 => 20
    memcache.default_port => 11211 => 11211
    memcache.chunk_size => 32768 => 32768
    memcache.protocol => ascii => ascii
    memcache.hash_strategy => consistent => consistent
    memcache.hash_function => crc32 => crc32
    memcache.redundancy => 1 => 1
    memcache.session_redundancy => 2 => 2
    memcache.compress_threshold => 20000 => 20000
    memcache.lock_timeout => 15 => 15
    

    Code (Text):
    php71 --ri memcached
    
    memcached
    
    memcached support => enabled
    Version => 3.0.3
    libmemcached version => 1.0.16
    SASL support => yes
    Session support => yes
    igbinary support => yes
    json support => yes
    msgpack support => yes
    
    Directive => Local Value => Master Value
    memcached.sess_locking => 1 => 1
    memcached.sess_lock_wait_min => 1000 => 1000
    memcached.sess_lock_wait_max => 2000 => 2000
    memcached.sess_lock_retries => 5 => 5
    memcached.sess_lock_expire => 0 => 0
    memcached.sess_binary_protocol => 1 => 1
    memcached.sess_consistent_hash => 1 => 1
    memcached.sess_number_of_replicas => 0 => 0
    memcached.sess_randomize_replica_read => no value => no value
    memcached.sess_remove_failed_servers => no value => no value
    memcached.sess_server_failure_limit => 0 => 0
    memcached.sess_connect_timeout => 1000 => 1000
    memcached.sess_sasl_username => no value => no value
    memcached.sess_sasl_password => no value => no value
    memcached.sess_prefix => memc.sess.key. => memc.sess.key.
    memcached.sess_persistent => no value => no value
    memcached.sess_lock_wait => not set => not set
    memcached.sess_lock_max_wait => not set => not set
    memcached.compression_type => fastlz => fastlz
    memcached.compression_factor => 1.3 => 1.3
    memcached.compression_threshold => 2000 => 2000
    memcached.serializer => igbinary => igbinary
    memcached.store_retry_count => 2 => 2
    memcached.default_consistent_hash => no value => no value
    memcached.default_binary_protocol => no value => no value
    memcached.default_connect_timeout => 0 => 0
    

    Code (Text):
    php71 --ri msgpack
    
    msgpack
    
    MessagePack Support => enabled
    Session Support => enabled
    extension Version => 2.0.2
    header Version => 0.5.4
    
    Directive => Local Value => Master Value
    msgpack.error_display => On => On
    msgpack.php_only => On => On
    msgpack.illegal_key_insert => Off => Off
    msgpack.use_str8_serialization => On => On
    

    Code (Text):
    php71 --ri mysql
    
    mysql
    
    MySQL Support => enabled
    Active Persistent Links => 0
    Active Links => 0
    Client API version => mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $
    
    Directive => Local Value => Master Value
    mysql.allow_persistent => On => On
    mysql.max_persistent => Unlimited => Unlimited
    mysql.max_links => Unlimited => Unlimited
    mysql.default_host => no value => no value
    mysql.default_user => no value => no value
    mysql.default_password => no value => no value
    mysql.default_port => no value => no value
    mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
    mysql.connect_timeout => 60 => 60
    mysql.trace_mode => Off => Off
    mysql.allow_local_infile => On => On
    

    Code (Text):
    php71 --ri mysqli
    
    mysqli
    
    MysqlI Support => enabled
    Client API library version => mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $
    Active Persistent Links => 0
    Inactive Persistent Links => 0
    Active Links => 0
    
    Directive => Local Value => Master Value
    mysqli.max_links => Unlimited => Unlimited
    mysqli.max_persistent => Unlimited => Unlimited
    mysqli.allow_persistent => On => On
    mysqli.rollback_on_cached_plink => Off => Off
    mysqli.default_host => no value => no value
    mysqli.default_user => no value => no value
    mysqli.default_pw => no value => no value
    mysqli.default_port => 3306 => 3306
    mysqli.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
    mysqli.reconnect => Off => Off
    mysqli.allow_local_infile => On => On
    

    Code (Text):
    php71 --ri mysqlnd
    
    mysqlnd
    
    mysqlnd => enabled
    Version => mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $
    Compression => supported
    core SSL => supported
    extended SSL => supported
    Command buffer size => 16384
    Read buffer size => 32768
    Read timeout => 31536000
    Collecting statistics => Yes
    Collecting memory statistics => No
    Tracing => n/a
    Loaded plugins => mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password,auth_plugin_sha256_password
    API Extensions => mysqli,pdo_mysql,mysql
    
    mysqlnd statistics =>
    bytes_sent => 0
    bytes_received => 0
    packets_sent => 0
    packets_received => 0
    protocol_overhead_in => 0
    protocol_overhead_out => 0
    bytes_received_ok_packet => 0
    bytes_received_eof_packet => 0
    bytes_received_rset_header_packet => 0
    bytes_received_rset_field_meta_packet => 0
    bytes_received_rset_row_packet => 0
    bytes_received_prepare_response_packet => 0
    bytes_received_change_user_packet => 0
    packets_sent_command => 0
    packets_received_ok => 0
    packets_received_eof => 0
    packets_received_rset_header => 0
    packets_received_rset_field_meta => 0
    packets_received_rset_row => 0
    packets_received_prepare_response => 0
    packets_received_change_user => 0
    result_set_queries => 0
    non_result_set_queries => 0
    no_index_used => 0
    bad_index_used => 0
    slow_queries => 0
    buffered_sets => 0
    unbuffered_sets => 0
    ps_buffered_sets => 0
    ps_unbuffered_sets => 0
    flushed_normal_sets => 0
    flushed_ps_sets => 0
    ps_prepared_never_executed => 0
    ps_prepared_once_executed => 0
    rows_fetched_from_server_normal => 0
    rows_fetched_from_server_ps => 0
    rows_buffered_from_client_normal => 0
    rows_buffered_from_client_ps => 0
    rows_fetched_from_client_normal_buffered => 0
    rows_fetched_from_client_normal_unbuffered => 0
    rows_fetched_from_client_ps_buffered => 0
    rows_fetched_from_client_ps_unbuffered => 0
    rows_fetched_from_client_ps_cursor => 0
    rows_affected_normal => 0
    rows_affected_ps => 0
    rows_skipped_normal => 0
    rows_skipped_ps => 0
    copy_on_write_saved => 0
    copy_on_write_performed => 0
    command_buffer_too_small => 0
    connect_success => 0
    connect_failure => 0
    connection_reused => 0
    reconnect => 0
    pconnect_success => 0
    active_connections => 0
    active_persistent_connections => 0
    explicit_close => 0
    implicit_close => 0
    disconnect_close => 0
    in_middle_of_command_close => 0
    explicit_free_result => 0
    implicit_free_result => 0
    explicit_stmt_close => 0
    implicit_stmt_close => 0
    mem_emalloc_count => 0
    mem_emalloc_amount => 0
    mem_ecalloc_count => 0
    mem_ecalloc_amount => 0
    mem_erealloc_count => 0
    mem_erealloc_amount => 0
    mem_efree_count => 0
    mem_efree_amount => 0
    mem_malloc_count => 0
    mem_malloc_amount => 0
    mem_calloc_count => 0
    mem_calloc_amount => 0
    mem_realloc_count => 0
    mem_realloc_amount => 0
    mem_free_count => 0
    mem_free_amount => 0
    mem_estrndup_count => 0
    mem_strndup_count => 0
    mem_estrdup_count => 0
    mem_strdup_count => 0
    mem_edupl_count => 0
    mem_dupl_count => 0
    proto_text_fetched_null => 0
    proto_text_fetched_bit => 0
    proto_text_fetched_tinyint => 0
    proto_text_fetched_short => 0
    proto_text_fetched_int24 => 0
    proto_text_fetched_int => 0
    proto_text_fetched_bigint => 0
    proto_text_fetched_decimal => 0
    proto_text_fetched_float => 0
    proto_text_fetched_double => 0
    proto_text_fetched_date => 0
    proto_text_fetched_year => 0
    proto_text_fetched_time => 0
    proto_text_fetched_datetime => 0
    proto_text_fetched_timestamp => 0
    proto_text_fetched_string => 0
    proto_text_fetched_blob => 0
    proto_text_fetched_enum => 0
    proto_text_fetched_set => 0
    proto_text_fetched_geometry => 0
    proto_text_fetched_other => 0
    proto_binary_fetched_null => 0
    proto_binary_fetched_bit => 0
    proto_binary_fetched_tinyint => 0
    proto_binary_fetched_short => 0
    proto_binary_fetched_int24 => 0
    proto_binary_fetched_int => 0
    proto_binary_fetched_bigint => 0
    proto_binary_fetched_decimal => 0
    proto_binary_fetched_float => 0
    proto_binary_fetched_double => 0
    proto_binary_fetched_date => 0
    proto_binary_fetched_year => 0
    proto_binary_fetched_time => 0
    proto_binary_fetched_datetime => 0
    proto_binary_fetched_timestamp => 0
    proto_binary_fetched_string => 0
    proto_binary_fetched_json => 0
    proto_binary_fetched_blob => 0
    proto_binary_fetched_enum => 0
    proto_binary_fetched_set => 0
    proto_binary_fetched_geometry => 0
    proto_binary_fetched_other => 0
    init_command_executed_count => 0
    init_command_failed_count => 0
    com_quit => 0
    com_init_db => 0
    com_query => 0
    com_field_list => 0
    com_create_db => 0
    com_drop_db => 0
    com_refresh => 0
    com_shutdown => 0
    com_statistics => 0
    com_process_info => 0
    com_connect => 0
    com_process_kill => 0
    com_debug => 0
    com_ping => 0
    com_time => 0
    com_delayed_insert => 0
    com_change_user => 0
    com_binlog_dump => 0
    com_table_dump => 0
    com_connect_out => 0
    com_register_slave => 0
    com_stmt_prepare => 0
    com_stmt_execute => 0
    com_stmt_send_long_data => 0
    com_stmt_close => 0
    com_stmt_reset => 0
    com_stmt_set_option => 0
    com_stmt_fetch => 0
    com_deamon => 0
    bytes_received_real_data_normal => 0
    bytes_received_real_data_ps => 0
    

    Code (Text):
    php71 --ri openssl
    
    openssl
    
    OpenSSL support => enabled
    OpenSSL Library Version => OpenSSL 1.0.1e-fips 11 Feb 2013
    OpenSSL Header Version => OpenSSL 1.0.1e-fips 11 Feb 2013
    Openssl default config => /etc/pki/tls/openssl.cnf
    
    Directive => Local Value => Master Value
    openssl.cafile => no value => no value
    openssl.capath => no value => no value
    

    Code (Text):
    php71 --ri pcntl
    
    pcntl
    
    pcntl support => enabled
    

    Code (Text):
    php71 --ri pcre
    
    pcre
    
    PCRE (Perl Compatible Regular Expressions) Support => enabled
    PCRE Library Version => 8.38 2015-11-23
    PCRE JIT Support => enabled
    
    Directive => Local Value => Master Value
    pcre.backtrack_limit => 1000000 => 1000000
    pcre.recursion_limit => 100000 => 100000
    pcre.jit => 0 => 0
    

    Code (Text):
    php71 --ri PDO
    
    PDO
    
    PDO support => enabled
    PDO drivers => dblib, mysql, sqlite
    

    Code (Text):
    php71 --ri pdo_dblib
    
    pdo_dblib
    
    PDO Driver for FreeTDS/Sybase DB-lib => enabled
    Flavour => freetds
    

    Code (Text):
    php71 --ri pdo_mysql
    
    pdo_mysql
    
    PDO Driver for MySQL => enabled
    Client API version => mysqlnd 5.0.12-dev - 20150407 - $Id: b396954eeb2d1d9ed7902b8bae237b287f21ad9e $
    
    Directive => Local Value => Master Value
    pdo_mysql.default_socket => /var/lib/mysql/mysql.sock => /var/lib/mysql/mysql.sock
    

    Code (Text):
    php71 --ri pdo_sqlite
    
    pdo_sqlite
    
    PDO Driver for SQLite 3.x => enabled
    SQLite Library => 3.7.17
    

    Code (Text):
    php71 --ri Phar
    
    Phar
    
    Phar: PHP Archive support => enabled
    Phar EXT version => 2.0.2
    Phar API version => 1.1.1
    SVN revision => $Id: 59c11f4e29768bfbbf6f41cb469abd81d8655850 $
    Phar-based phar archives => enabled
    Tar-based phar archives => enabled
    ZIP-based phar archives => enabled
    gzip compression => enabled
    bzip2 compression => enabled
    Native OpenSSL support => enabled
    
    
    Phar based on pear/PHP_Archive, original concept by Davey Shafik.
    Phar fully realized by Gregory Beaver and Marcus Boerger.
    Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
    Directive => Local Value => Master Value
    phar.readonly => On => On
    phar.require_hash => On => On
    phar.cache_list => no value => no value
    

    Code (Text):
    php71 --ri pspell
    
    pspell
    
    PSpell Support => enabled
    

    Code (Text):
    php71 --ri readline
    
    readline
    
    Readline Support => enabled
    Readline library => EditLine wrapper
    
    Directive => Local Value => Master Value
    cli.pager => no value => no value
    cli.prompt => \b \>  => \b \>
    

    Code (Text):
    php71 --ri redis
    
    redis
    
    Redis Support => enabled
    Redis Version => 3.1.2
    Available serializers => php, igbinary
    

    Code (Text):
    php71 --ri Reflection
    
    Reflection
    
    Reflection => enabled
    Version => $Id: a06522d025b0af3e6ba10a0f6964086b7e6f5458 $
    

    Code (Text):
    php71 --ri session
    
    session
    
    Session Support => enabled
    Registered save handlers => files user memcache memcached redis rediscluster
    Registered serializer handlers => php_serialize php php_binary wddx igbinary msgpack
    
    Directive => Local Value => Master Value
    session.save_path => no value => no value
    session.name => PHPSESSID => PHPSESSID
    session.save_handler => files => files
    session.auto_start => Off => Off
    session.gc_probability => 1 => 1
    session.gc_divisor => 1000 => 1000
    session.gc_maxlifetime => 1440 => 1440
    session.serialize_handler => php => php
    session.cookie_lifetime => 0 => 0
    session.cookie_path => / => /
    session.cookie_domain => no value => no value
    session.cookie_secure => Off => Off
    session.cookie_httponly => Off => Off
    session.use_cookies => On => On
    session.use_only_cookies => On => On
    session.use_strict_mode => Off => Off
    session.referer_check => no value => no value
    session.cache_limiter => nocache => nocache
    session.cache_expire => 180 => 180
    session.use_trans_sid => 0 => 0
    session.sid_length => 26 => 26
    session.sid_bits_per_character => 5 => 5
    session.lazy_write => On => On
    session.upload_progress.enabled => On => On
    session.upload_progress.cleanup => On => On
    session.upload_progress.prefix => upload_progress_ => upload_progress_
    session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS
    session.upload_progress.freq => 1% => 1%
    session.upload_progress.min_freq => 1 => 1
    

    Code (Text):
    php71 --ri SimpleXML
    
    SimpleXML
    
    Simplexml support => enabled
    Revision => $Id: 7e5516dcdf2fe6ded7970eaeb6abd8d07df39a2a $
    Schema support => enabled
    

    Code (Text):
    php71 --ri snmp
    
    snmp
    
    NET-SNMP Support => enabled
    NET-SNMP Version => 5.7.2
    PHP SNMP Version => 0.1
    

    Code (Text):
    php71 --ri soap
    
    soap
    
    Soap Client => enabled
    Soap Server => enabled
    
    Directive => Local Value => Master Value
    soap.wsdl_cache_enabled => 1 => 1
    soap.wsdl_cache_dir => /tmp => /tmp
    soap.wsdl_cache_ttl => 86400 => 86400
    soap.wsdl_cache => 1 => 1
    soap.wsdl_cache_limit => 5 => 5
    

    Code (Text):
    php71 --ri sockets
    
    sockets
    
    Sockets Support => enabled
    

    Code (Text):
    php71 --ri SPL
    
    SPL
    
    SPL support => enabled
    Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
    Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
    

    Code (Text):
    php71 --ri sqlite3
    
    sqlite3
    
    SQLite3 support => enabled
    SQLite3 module version => 0.7-dev
    SQLite Library => 3.7.17
    
    Directive => Local Value => Master Value
    sqlite3.extension_dir => no value => no value
    

    Code (Text):
    php71 --ri standard
    
    standard
    
    Dynamic Library Support => enabled
    Path to sendmail => /usr/sbin/sendmail -t -i
    
    Directive => Local Value => Master Value
    user_agent => no value => no value
    from => no value => no value
    default_socket_timeout => 60 => 60
    auto_detect_line_endings => 0 => 0
    assert.active => 1 => 1
    assert.bail => 0 => 0
    assert.warning => 1 => 1
    assert.callback => no value => no value
    assert.quiet_eval => 0 => 0
    assert.exception => 0 => 0
    session.trans_sid_tags => a=href,area=href,frame=src,form= => a=href,area=href,frame=src,form=
    session.trans_sid_hosts => no value => no value
    url_rewriter.tags => form= => form=
    url_rewriter.hosts => no value => no value
    

    Code (Text):
    php71 --ri tidy
    
    tidy
    
    Tidy support => enabled
    libTidy Release => 25 March 2009
    Extension Version => 7.1.5 ($Id: f764b98c87afe8ab43162db66290eced256fb9f1 $)
    
    Directive => Local Value => Master Value
    tidy.default_config => no value => no value
    tidy.clean_output => no value => no value
    

    Code (Text):
    php71 --ri tokenizer
    
    tokenizer
    
    Tokenizer Support => enabled
    

    Code (Text):
    php71 --ri wddx
    
    wddx
    
    WDDX Support => enabled
    WDDX Session Serializer => enabled
    

    Code (Text):
    php71 --ri xml
    
    xml
    
    XML Support => active
    XML Namespace Support => active
    libxml2 Version => 2.9.1
    

    Code (Text):
    php71 --ri xmlreader
    
    xmlreader
    
    XMLReader => enabled
    

    Code (Text):
    php71 --ri xmlrpc
    
    xmlrpc
    
    core library version => xmlrpc-epi v. 0.51
    php extension version => 7.1.5
    author => Dan Libby
    homepage => http://xmlrpc-epi.sourceforge.net
    open sourced by => Epinions.com
    

    Code (Text):
    php71 --ri xmlwriter
    
    xmlwriter
    
    XMLWriter => enabled
    

    Code (Text):
    php71 --ri xsl
    
    xsl
    
    XSL => enabled
    libxslt Version => 1.1.29
    libxslt compiled against libxml Version => 2.9.4
    EXSLT => enabled
    libexslt Version => 1.1.28
    

    Code (Text):
    php71 --ri Zend OPcache
    
    Zend OPcache
    
    Opcode Caching => Up and Running
    Optimization => Enabled
    SHM Cache => Enabled
    File Cache => Disabled
    Startup => OK
    Shared memory model => mmap
    Cache hits => 0
    Cache misses => 0
    Used memory => 18272032
    Free memory => 803811552
    Wasted memory => 0
    Interned Strings Used memory => 416112
    Interned Strings Free memory => 7972496
    Cached scripts => 0
    Cached keys => 0
    Max keys => 7963
    OOM restarts => 0
    Hash keys restarts => 0
    Manual restarts => 0
    
    Directive => Local Value => Master Value
    opcache.enable => On => On
    opcache.use_cwd => On => On
    opcache.validate_timestamps => On => On
    opcache.validate_permission => Off => Off
    opcache.validate_root => Off => Off
    opcache.inherited_hack => On => On
    opcache.dups_fix => Off => Off
    opcache.revalidate_path => Off => Off
    opcache.log_verbosity_level => 1 => 1
    opcache.memory_consumption => 784 => 784
    opcache.interned_strings_buffer => 8 => 8
    opcache.max_accelerated_files => 4000 => 4000
    opcache.max_wasted_percentage => 5 => 5
    opcache.consistency_checks => 0 => 0
    opcache.force_restart_timeout => 180 => 180
    opcache.revalidate_freq => 2 => 2
    opcache.file_update_protection => 2 => 2
    opcache.preferred_memory_model => no value => no value
    opcache.blacklist_filename => /etc/opt/remi/php71/php.d/opcache*.blacklist => /etc/opt/remi/php71/php.d/opcache*.blacklist
    opcache.max_file_size => 0 => 0
    opcache.protect_memory => 0 => 0
    opcache.save_comments => 1 => 1
    opcache.fast_shutdown => 0 => 0
    opcache.optimization_level => 0x7FFFBFFF => 0x7FFFBFFF
    opcache.opt_debug_level => 0 => 0
    opcache.enable_file_override => Off => Off
    opcache.enable_cli => On => On
    opcache.error_log => no value => no value
    opcache.restrict_api => no value => no value
    opcache.lockfile_path => /tmp => /tmp
    opcache.file_cache => no value => no value
    opcache.file_cache_only => 0 => 0
    opcache.file_cache_consistency_checks => 1 => 1
    opcache.huge_code_pages => On => On
    

    Code (Text):
    php71 --ri zip
    
    zip
    
    Zip => enabled
    Zip version => 1.14.0
    Libzip version => 1.2.0
    

    Code (Text):
    php71 --ri zlib
    
    zlib
    
    ZLib Support => enabled
    Stream Wrapper => compress.zlib://
    Stream Filter => zlib.inflate, zlib.deflate
    Compiled Version => 1.2.7
    Linked Version => 1.2.7
    
    Directive => Local Value => Master Value
    zlib.output_compression => Off => Off
    zlib.output_compression_level => -1 => -1
    zlib.output_handler => no value => no value
    
     
    Last edited: Jun 7, 2017
  4. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod 123.09beta01's PHP-FPM 7.1.5 with PGO enabled is around ~1.72% faster for bench.php tests and ~4.19% faster for micro_bench.php. The difference for PGO enabled optimisations would be larger for intended PHP work loads and execution patterns related to Wordpress, MediaWiki and Drupal and can be between 3-17% faster. Though looks like PGO enabled might have used more memory for the speed.

    Test Configuration



    Centmin Mod 123.09beta01 PHP-FPM 7.1.5 + PGO



    Centmin Mod 123.09beta01 PHP-FPM 7.1.5 with Profile Guided Optimisations enabled and default Intel cpu optimisations enabled so relevant settings would be
    Code (Text):
    PHP_PGO='y'
    GCCINTEL_PHP='y'
    

    bench.php
    Code (Text):
    /usr/local/bin/php
    bench.php results from 5 runs
    0.406
    0.399
    0.400
    0.398
    0.402
    
    bench.php avg: 0.4010
    Avg: real: 0.43s user: 0.42s sys: 0.01s cpu: 99.80% maxmem: 36827.20KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_070617-111225.log
    


    micro_bench.php
    Code (Text):
    /usr/local/bin/php
    micro_bench.php results from 5 runs
    2.233
    2.193
    2.198
    2.213
    2.191
    
    micro_bench.php avg: 2.2056
    Avg: real: 2.23s user: 2.22s sys: 0.00s cpu: 99.20% maxmem: 36828.00KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_micro_070617-111225.log
    


    Remi SCL PHP-FPM 7.1.5



    Remi SCL php71 YUM repo installed PHP-FPM 7.1.5

    bench.php
    Code (Text):
    /usr/bin/php71
    bench.php results from 5 runs
    0.403
    0.404
    0.424
    0.403
    0.406
    
    bench.php avg: 0.4080
    Avg: real: 0.44s user: 0.43s sys: 0.00s cpu: 99.40% maxmem: 29348.80KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_070617-111238.log
    


    micro_bench.php
    Code (Text):
    /usr/bin/php71
    micro_bench.php results from 5 runs
    2.317
    2.296
    2.264
    2.357
    2.276
    
    micro_bench.php avg: 2.3020
    Avg: real: 2.33s user: 2.32s sys: 0.00s cpu: 99.20% maxmem: 23124.00KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_micro_070617-111238.log
    
     
    Last edited: Jun 7, 2017
  5. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Easy to extend concurent PHP-FPM usage using above method to PHP 7.0.19 as well :)

    The PHP-FPM 7.0 branch version php70.sh:
    • CentOS 7 transparent hugepages support is enabled for Zend Opcache if system detected to support it
    • listens on port 9800 instead of 9000 with php-fpm pool named php70-www
    • custom php.ini settings calculated by centmin mod are placed in /etc/opt/remi/php70/php.d/zzz_customphp.ini
    • php config scan directory is at /etc/opt/remi/php70/php.d
    • php-fpm config file at /etc/opt/remi/php70/php-fpm.d/www.conf
    • error log at /var/opt/remi/php70/log/php-fpm/www-error.log
    • centmin mod nginx's php include file is at /usr/local/nginx/conf/php70-remi.conf instead of default at /usr/local/nginx/conf/php.conf which you replace references to in your centmin mod nginx vhost config file
    • fpmconfphp70 is centmin mod command shortcut to invoke nano linux text editor to edit /etc/opt/remi/php70/php-fpm.d/www.conf
    • phpincphp70 is centmin mod command shortcut to invoke nano linux text editor to edit /usr/local/nginx/conf/php70-remi.conf
    • systemctl start php70-php-fpm command to start php70-php-fpm service with command shortcut = fpm70start
    • systemctl restart php70-php-fpm command to restart php70-php-fpm service with command shortcut = fpm70restart
    • systemctl stop php70-php-fpm command to stop php70-php-fpm service with command shortcut = fpm70stop
    • systemctl status php70-php-fpm command to get status for php70-php-fpm service with command shortcut = fpm70status

    Code (Text):
    php70 -v
    PHP 7.0.19 (cli) (built: May  9 2017 15:07:17) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.19, Copyright (c) 1999-2017, by Zend Technologies
    

    Code (Text):
    php71 -v
    PHP 7.1.5 (cli) (built: May  9 2017 17:04:23) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.1.5, Copyright (c) 1999-2017, by Zend Technologies
    

    Processes for nginx, default Centmin Mod PHP-FPM and Remi SCL php70 and php71
    Code (Text):
    ps aufxw | egrep 'php|nginx' | grep -v grep
    root       946  0.1  2.1 768576 40536 ?        Ss   13:15   0:00 php-fpm: master process (/etc/opt/remi/php71/php-fpm.conf)
    nginx     1758  0.0  0.5 768576 10940 ?        S    13:16   0:00  \_ php-fpm: pool php71-www
    nginx     1759  0.0  0.5 768576 10940 ?        S    13:16   0:00  \_ php-fpm: pool php71-www
    nginx     1760  0.0  0.5 768576 10940 ?        S    13:16   0:00  \_ php-fpm: pool php71-www
    nginx     1761  0.0  0.5 768576 10940 ?        S    13:16   0:00  \_ php-fpm: pool php71-www
    nginx     1762  0.0  0.5 768576 10944 ?        S    13:16   0:00  \_ php-fpm: pool php71-www
    root      1756  0.0  0.5 642156  9444 ?        Ss   13:16   0:00 php-fpm: master process (/usr/local/etc/php-fpm.conf)
    root      2200  0.0  1.4 109284 27016 ?        Ss   13:16   0:00 nginx: master process /usr/local/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
    nginx     2201  0.0  2.7 137956 51812 ?        S<   13:16   0:00  \_ nginx: worker process
    nginx     2202  0.0  2.7 137956 51812 ?        S<   13:16   0:00  \_ nginx: worker process
    nginx     2207  0.0  2.7 137956 51812 ?        S<   13:16   0:00  \_ nginx: worker process
    root      3092  0.0  2.2 767556 41632 ?        Ss   13:20   0:00 php-fpm: master process (/etc/opt/remi/php70/php-fpm.conf)
    nginx     3094  0.0  0.5 767556 10776 ?        S    13:20   0:00  \_ php-fpm: pool php70-www
    nginx     3095  0.0  0.5 767556 10776 ?        S    13:20   0:00  \_ php-fpm: pool php70-www
    nginx     3096  0.0  0.5 767556 10780 ?        S    13:20   0:00  \_ php-fpm: pool php70-www
    nginx     3097  0.0  0.5 767556 10776 ?        S    13:20   0:00  \_ php-fpm: pool php70-www
    nginx     3098  0.0  0.5 767556 10780 ?        S    13:20   0:00  \_ php-fpm: pool php70-www
    

    running on port 9800 with php70-www pool
    Code (Text):
    ./php70.sh status
    ● php70-php-fpm.service - The PHP FastCGI Process Manager
       Loaded: loaded (/usr/lib/systemd/system/php70-php-fpm.service; enabled; vendor preset: disabled)
       Active: active (running) since Wed 2017-06-07 13:20:46 UTC; 2min 18s ago
     Main PID: 3092 (php-fpm)
       Status: "Processes active: 0, idle: 5, Requests: 0, slow: 0, Traffic: 0req/sec"
       CGroup: /system.slice/php70-php-fpm.service
               ├─3092 php-fpm: master process (/etc/opt/remi/php70/php-fpm.conf)
               ├─3094 php-fpm: pool php70-www
               ├─3095 php-fpm: pool php70-www
               ├─3096 php-fpm: pool php70-www
               ├─3097 php-fpm: pool php70-www
               └─3098 php-fpm: pool php70-www
    
    Jun 07 13:20:45 centos7.localdomain systemd[1]: Starting The PHP FastCGI Process Manager...
    Jun 07 13:20:46 centos7.localdomain systemd[1]: Started The PHP FastCGI Process Manager.
    

    Code (Text):
    ./php70.sh phpconfig
    Usage: /opt/remi/php70/root/usr/bin/php-config [OPTION]
    Options:
      --prefix            [/opt/remi/php70/root/usr]
      --includes          [-I/opt/remi/php70/root/usr/include/php -I/opt/remi/php70/root/usr/include/php/main -I/opt/remi/php70/root/usr/include/php/TSRM -I/opt/remi/php70/root/usr/include/php/Zend -I/opt/remi/php70/root/usr/include/php/ext -I/opt/remi/php70/root/usr/include/php/ext/date/lib]
      --ldflags           []
      --libs              [-lcrypt   -lresolv -lcrypt -ledit -lncurses -lstdc++ -lz -lpcre -lrt -lm -ldl -lnsl  -lxml2 -lz -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcrypt -lcrypt ]
      --extension-dir     [/opt/remi/php70/root/usr/lib64/php/modules]
      --include-dir       [/opt/remi/php70/root/usr/include/php]
      --man-dir           [/opt/remi/php70/root/usr/share/man]
      --php-binary        [/opt/remi/php70/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/php70/root/usr --exec-prefix=/opt/remi/php70/root/usr --bindir=/opt/remi/php70/root/usr/bin --sbindir=/opt/remi/php70/root/usr/sbin --sysconfdir=/etc/opt/remi/php70 --datadir=/opt/remi/php70/root/usr/share --includedir=/opt/remi/php70/root/usr/include --libdir=/opt/remi/php70/root/usr/lib64 --libexecdir=/opt/remi/php70/root/usr/libexec --localstatedir=/var/opt/remi/php70 --sharedstatedir=/var/opt/remi/php70/lib --mandir=/opt/remi/php70/root/usr/share/man --infodir=/opt/remi/php70/root/usr/share/info --cache-file=../config.cache --with-libdir=lib64 --with-config-file-path=/etc/opt/remi/php70 --with-config-file-scan-dir=/etc/opt/remi/php70/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-exec-dir=/opt/remi/php70/root/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --enable-gd-native-ttf --without-gdbm --with-jpeg-dir=/usr --with-openssl --with-system-ciphers --with-pcre-regex=/usr --with-zlib --with-layout=GNU --with-kerberos --with-libxml-dir=/usr --with-system-tzdata --with-mhash --enable-dtrace --libdir=/opt/remi/php70/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 --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.1/client64/lib,12.1 --with-pdo-oci=shared,instantclient,/usr,12.1 --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-mcrypt=shared,/usr --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 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.0.19]
      --vernum            [70019]
    

    Code (Text):
    ./php70.sh phpext
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    fileinfo
    filter
    ftp
    gd
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    json_post
    ldap
    libxml
    mailparse
    mbstring
    mcrypt
    memcache
    memcached
    msgpack
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_dblib
    pdo_mysql
    pdo_sqlite
    Phar
    pspell
    readline
    redis
    Reflection
    session
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    tidy
    tokenizer
    wddx
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    

    Code (Text):
    ./php70.sh phpini
    Configuration File (php.ini) Path: /etc/opt/remi/php70
    Loaded Configuration File:         /etc/opt/remi/php70/php.ini
    Scan for additional .ini files in: /etc/opt/remi/php70/php.d
    Additional .ini files parsed:      /etc/opt/remi/php70/php.d/10-opcache.ini,
    /etc/opt/remi/php70/php.d/20-bcmath.ini,
    /etc/opt/remi/php70/php.d/20-bz2.ini,
    /etc/opt/remi/php70/php.d/20-calendar.ini,
    /etc/opt/remi/php70/php.d/20-ctype.ini,
    /etc/opt/remi/php70/php.d/20-curl.ini,
    /etc/opt/remi/php70/php.d/20-dom.ini,
    /etc/opt/remi/php70/php.d/20-enchant.ini,
    /etc/opt/remi/php70/php.d/20-exif.ini,
    /etc/opt/remi/php70/php.d/20-fileinfo.ini,
    /etc/opt/remi/php70/php.d/20-ftp.ini,
    /etc/opt/remi/php70/php.d/20-gd.ini,
    /etc/opt/remi/php70/php.d/20-gettext.ini,
    /etc/opt/remi/php70/php.d/20-gmp.ini,
    /etc/opt/remi/php70/php.d/20-iconv.ini,
    /etc/opt/remi/php70/php.d/20-imap.ini,
    /etc/opt/remi/php70/php.d/20-intl.ini,
    /etc/opt/remi/php70/php.d/20-json.ini,
    /etc/opt/remi/php70/php.d/20-ldap.ini,
    /etc/opt/remi/php70/php.d/20-mbstring.ini,
    /etc/opt/remi/php70/php.d/20-mcrypt.ini,
    /etc/opt/remi/php70/php.d/20-mysqlnd.ini,
    /etc/opt/remi/php70/php.d/20-opcache.ini,
    /etc/opt/remi/php70/php.d/20-pdo.ini,
    /etc/opt/remi/php70/php.d/20-phar.ini,
    /etc/opt/remi/php70/php.d/20-pspell.ini,
    /etc/opt/remi/php70/php.d/20-simplexml.ini,
    /etc/opt/remi/php70/php.d/20-snmp.ini,
    /etc/opt/remi/php70/php.d/20-soap.ini,
    /etc/opt/remi/php70/php.d/20-sockets.ini,
    /etc/opt/remi/php70/php.d/20-sqlite3.ini,
    /etc/opt/remi/php70/php.d/20-tidy.ini,
    /etc/opt/remi/php70/php.d/20-tokenizer.ini,
    /etc/opt/remi/php70/php.d/20-xml.ini,
    /etc/opt/remi/php70/php.d/20-xmlwriter.ini,
    /etc/opt/remi/php70/php.d/20-xsl.ini,
    /etc/opt/remi/php70/php.d/30-mysqli.ini,
    /etc/opt/remi/php70/php.d/30-pdo_dblib.ini,
    /etc/opt/remi/php70/php.d/30-pdo_mysql.ini,
    /etc/opt/remi/php70/php.d/30-pdo_sqlite.ini,
    /etc/opt/remi/php70/php.d/30-wddx.ini,
    /etc/opt/remi/php70/php.d/30-xmlreader.ini,
    /etc/opt/remi/php70/php.d/30-xmlrpc.ini,
    /etc/opt/remi/php70/php.d/40-geoip.ini,
    /etc/opt/remi/php70/php.d/40-igbinary.ini,
    /etc/opt/remi/php70/php.d/40-imagick.ini,
    /etc/opt/remi/php70/php.d/40-mailparse.ini,
    /etc/opt/remi/php70/php.d/40-memcache.ini,
    /etc/opt/remi/php70/php.d/40-msgpack.ini,
    /etc/opt/remi/php70/php.d/40-zip.ini,
    /etc/opt/remi/php70/php.d/50-json_post.ini,
    /etc/opt/remi/php70/php.d/50-memcached.ini,
    /etc/opt/remi/php70/php.d/50-mysql.ini,
    /etc/opt/remi/php70/php.d/50-redis.ini,
    /etc/opt/remi/php70/php.d/zzz_customphp.ini
    






     
    Last edited: Jun 8, 2017
  6. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Yup took it further with php56.sh for PHP 5.6 branch :)

    The PHP-FPM 5.6 branch version php56.sh has slightly different paths compared to php71.sh and php70.sh:
    • CentOS 7 transparent hugepages support for Zend Opcache is disabled as PHP <7 doesn't support it in Zend Opcache
    • listens on port 9700 instead of 9000 with php-fpm pool named php56-www
    • custom php.ini settings calculated by centmin mod are placed in /opt/remi/php56/root/etc/php.d/zzz_customphp.ini
    • php config scan directory is at /opt/remi/php56/root/etc/php.d
    • php-fpm config file at /opt/remi/php56/root/etc/php-fpm.d/www.conf
    • error log at /opt/remi/php56/root/var/log/php-fpm/www-error.log
    • centmin mod nginx's php include file is at /usr/local/nginx/conf/php56-remi.conf instead of default at /usr/local/nginx/conf/php.conf which you replace references to in your centmin mod nginx vhost config file
    • fpmconfphp56 is centmin mod command shortcut to invoke nano linux text editor to edit /opt/remi/php56/root/etc/php-fpm.d/www.conf
    • phpincphp56 is centmin mod command shortcut to invoke nano linux text editor to edit /usr/local/nginx/conf/php56-remi.conf
    • systemctl start php56-php-fpm command to start php56-php-fpm service with command shortcut = fpm56start
    • systemctl restart php56-php-fpm command to restart php56-php-fpm service with command shortcut = fpm56restart
    • systemctl stop php56-php-fpm command to stop php56-php-fpm service with command shortcut = fpm56stop
    • systemctl status php56-php-fpm command to get status for php56-php-fpm service with command shortcut = fpm56status

    Code (Text):
    php56 -v
    PHP 5.6.30 (cli) (built: Jan 19 2017 07:08:58)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies

    Code (Text):
    php70 -v
    PHP 7.0.19 (cli) (built: May  9 2017 15:07:17) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.19, Copyright (c) 1999-2017, by Zend Technologies

    Code (Text):
    php71 -v
    PHP 7.1.5 (cli) (built: May  9 2017 17:04:23) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.1.5, Copyright (c) 1999-2017, by Zend Technologies

    Code (Text):
    ./php56.sh process
    root       946  0.0  2.1 768576 40536 ?        Ss   13:15   0:02 php-fpm: master process (/etc/opt/remi/php71/php-fpm.conf)
    nginx     1758  0.0  0.5 768576 10940 ?        S    13:16   0:00  \_ php-fpm: pool php71-www
    nginx     1759  0.0  0.5 768576 10940 ?        S    13:16   0:00  \_ php-fpm: pool php71-www
    nginx     1760  0.0  0.5 768576 10940 ?        S    13:16   0:00  \_ php-fpm: pool php71-www
    nginx     1761  0.0  0.5 768576 10940 ?        S    13:16   0:00  \_ php-fpm: pool php71-www
    nginx     1762  0.0  0.5 768576 10944 ?        S    13:16   0:00  \_ php-fpm: pool php71-www
    root      1756  0.0  0.5 642156  9444 ?        Ss   13:16   0:01 php-fpm: master process (/usr/local/etc/php-fpm.conf)
    root      2200  0.0  1.4 109284 27016 ?        Ss   13:16   0:00 nginx: master process /usr/local/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
    nginx     2201  0.0  2.7 137956 51984 ?        S<   13:16   0:13  \_ nginx: worker process
    nginx     2202  0.0  2.7 137956 51984 ?        S<   13:16   0:14  \_ nginx: worker process
    nginx     2207  0.0  2.7 137956 51984 ?        S<   13:16   0:14  \_ nginx: worker process
    root      3092  0.0  2.2 767556 41632 ?        Ss   13:20   0:01 php-fpm: master process (/etc/opt/remi/php70/php-fpm.conf)
    nginx     3094  0.0  0.5 767556 10776 ?        S    13:20   0:00  \_ php-fpm: pool php70-www
    nginx     3095  0.0  0.5 767556 10776 ?        S    13:20   0:00  \_ php-fpm: pool php70-www
    nginx     3096  0.0  0.5 767556 10780 ?        S    13:20   0:00  \_ php-fpm: pool php70-www
    nginx     3097  0.0  0.5 767556 10776 ?        S    13:20   0:00  \_ php-fpm: pool php70-www
    nginx     3098  0.0  0.5 767556 10780 ?        S    13:20   0:00  \_ php-fpm: pool php70-www
    root      7215  0.0  1.7 642816 32276 ?        Ss   19:02   0:00 php-fpm: master process (/opt/remi/php56/root/etc/php-fpm.conf)
    nginx     7216  0.0  0.5 642816 10572 ?        S    19:02   0:00  \_ php-fpm: pool php56-www
    nginx     7217  0.0  0.5 642816 10572 ?        S    19:02   0:00  \_ php-fpm: pool php56-www
    nginx     7218  0.0  0.5 642816 10572 ?        S    19:02   0:00  \_ php-fpm: pool php56-www
    nginx     7219  0.0  0.5 642816 10572 ?        S    19:02   0:00  \_ php-fpm: pool php56-www
    nginx     7220  0.0  0.5 642816 10580 ?        S    19:02   0:00  \_ php-fpm: pool php56-www
    

    Code (Text):
    ./php56.sh phpini
    Configuration File (php.ini) Path: /opt/remi/php56/root/etc
    Loaded Configuration File:         /opt/remi/php56/root/etc/php.ini
    Scan for additional .ini files in: /opt/remi/php56/root/etc/php.d
    Additional .ini files parsed:      /opt/remi/php56/root/etc/php.d/10-opcache.ini,
    /opt/remi/php56/root/etc/php.d/20-bcmath.ini,
    /opt/remi/php56/root/etc/php.d/20-bz2.ini,
    /opt/remi/php56/root/etc/php.d/20-calendar.ini,
    /opt/remi/php56/root/etc/php.d/20-ctype.ini,
    /opt/remi/php56/root/etc/php.d/20-curl.ini,
    /opt/remi/php56/root/etc/php.d/20-dom.ini,
    /opt/remi/php56/root/etc/php.d/20-enchant.ini,
    /opt/remi/php56/root/etc/php.d/20-exif.ini,
    /opt/remi/php56/root/etc/php.d/20-fileinfo.ini,
    /opt/remi/php56/root/etc/php.d/20-ftp.ini,
    /opt/remi/php56/root/etc/php.d/20-gd.ini,
    /opt/remi/php56/root/etc/php.d/20-gettext.ini,
    /opt/remi/php56/root/etc/php.d/20-gmp.ini,
    /opt/remi/php56/root/etc/php.d/20-iconv.ini,
    /opt/remi/php56/root/etc/php.d/20-imap.ini,
    /opt/remi/php56/root/etc/php.d/20-intl.ini,
    /opt/remi/php56/root/etc/php.d/20-ldap.ini,
    /opt/remi/php56/root/etc/php.d/20-mbstring.ini,
    /opt/remi/php56/root/etc/php.d/20-mcrypt.ini,
    /opt/remi/php56/root/etc/php.d/20-mysqlnd.ini,
    /opt/remi/php56/root/etc/php.d/20-opcache.ini,
    /opt/remi/php56/root/etc/php.d/20-pdo.ini,
    /opt/remi/php56/root/etc/php.d/20-phar.ini,
    /opt/remi/php56/root/etc/php.d/20-posix.ini,
    /opt/remi/php56/root/etc/php.d/20-pspell.ini,
    /opt/remi/php56/root/etc/php.d/20-shmop.ini,
    /opt/remi/php56/root/etc/php.d/20-simplexml.ini,
    /opt/remi/php56/root/etc/php.d/20-snmp.ini,
    /opt/remi/php56/root/etc/php.d/20-soap.ini,
    /opt/remi/php56/root/etc/php.d/20-sockets.ini,
    /opt/remi/php56/root/etc/php.d/20-sqlite3.ini,
    /opt/remi/php56/root/etc/php.d/20-sysvmsg.ini,
    /opt/remi/php56/root/etc/php.d/20-sysvsem.ini,
    /opt/remi/php56/root/etc/php.d/20-sysvshm.ini,
    /opt/remi/php56/root/etc/php.d/20-tidy.ini,
    /opt/remi/php56/root/etc/php.d/20-tokenizer.ini,
    /opt/remi/php56/root/etc/php.d/20-xml.ini,
    /opt/remi/php56/root/etc/php.d/20-xmlwriter.ini,
    /opt/remi/php56/root/etc/php.d/20-xsl.ini,
    /opt/remi/php56/root/etc/php.d/30-mysql.ini,
    /opt/remi/php56/root/etc/php.d/30-mysqli.ini,
    /opt/remi/php56/root/etc/php.d/30-pdo_mysql.ini,
    /opt/remi/php56/root/etc/php.d/30-pdo_sqlite.ini,
    /opt/remi/php56/root/etc/php.d/30-wddx.ini,
    /opt/remi/php56/root/etc/php.d/30-xmlreader.ini,
    /opt/remi/php56/root/etc/php.d/30-xmlrpc.ini,
    /opt/remi/php56/root/etc/php.d/40-geoip.ini,
    /opt/remi/php56/root/etc/php.d/40-igbinary.ini,
    /opt/remi/php56/root/etc/php.d/40-imagick.ini,
    /opt/remi/php56/root/etc/php.d/40-json.ini,
    /opt/remi/php56/root/etc/php.d/40-mailparse.ini,
    /opt/remi/php56/root/etc/php.d/40-memcache.ini,
    /opt/remi/php56/root/etc/php.d/40-msgpack.ini,
    /opt/remi/php56/root/etc/php.d/40-zip.ini,
    /opt/remi/php56/root/etc/php.d/50-json_post.ini,
    /opt/remi/php56/root/etc/php.d/50-memcached.ini,
    /opt/remi/php56/root/etc/php.d/50-redis.ini,
    /opt/remi/php56/root/etc/php.d/zzz_customphp.ini
    

    Code (Text):
    ./php56.sh phpconfig
    Usage: /opt/remi/php56/root/usr/bin/php-config [OPTION]
    Options:
      --prefix            [/opt/remi/php56/root/usr]
      --includes          [-I/opt/remi/php56/root/usr/include/php -I/opt/remi/php56/root/usr/include/php/main -I/opt/remi/php56/root/usr/include/php/TSRM -I/opt/remi/php56/root/usr/include/php/Zend -I/opt/remi/php56/root/usr/include/php/ext -I/opt/remi/php56/root/usr/include/php/ext/date/lib]
      --ldflags           []
      --libs              [-lcrypt   -lresolv -lcrypt -ledit -lncurses -lstdc++ -lz -lpcre -lrt -lm -ldl -lnsl  -lxml2 -lz -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcrypt -lcrypt ]
      --extension-dir     [/opt/remi/php56/root/usr/lib64/php/modules]
      --include-dir       [/opt/remi/php56/root/usr/include/php]
      --man-dir           [/opt/remi/php56/root/usr/share/man]
      --php-binary        [/opt/remi/php56/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/php56/root/usr --exec-prefix=/opt/remi/php56/root/usr --bindir=/opt/remi/php56/root/usr/bin --sbindir=/opt/remi/php56/root/usr/sbin --sysconfdir=/opt/remi/php56/root/etc --datadir=/opt/remi/php56/root/usr/share --includedir=/opt/remi/php56/root/usr/include --libdir=/opt/remi/php56/root/usr/lib64 --libexecdir=/opt/remi/php56/root/usr/libexec --localstatedir=/opt/remi/php56/root/var --sharedstatedir=/opt/remi/php56/root/var/lib --mandir=/opt/remi/php56/root/usr/share/man --infodir=/opt/remi/php56/root/usr/share/info --cache-file=../config.cache --with-libdir=lib64 --with-config-file-path=/opt/remi/php56/root/etc --with-config-file-scan-dir=/opt/remi/php56/root/etc/php.d --disable-debug --with-pic --disable-rpath --without-pear --with-exec-dir=/opt/remi/php56/root/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --enable-gd-native-ttf --with-t1lib=/usr --without-gdbm --with-jpeg-dir=/usr --with-openssl --with-system-ciphers --with-pcre-regex=/usr --with-zlib --with-layout=GNU --with-kerberos --with-libxml-dir=/usr --with-system-tzdata --with-mhash --enable-dtrace --libdir=/opt/remi/php56/root/usr/lib64/php --enable-pcntl --enable-opcache --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 --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-mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-mysql-sock=/var/lib/mysql/mysql.sock --with-oci8=shared,instantclient,/usr/lib64/oracle/12.1/client64/lib,12.1 --with-pdo-oci=shared,instantclient,/usr,12.1 --with-interbase=shared,/opt/remi/php56/root/usr/lib64/firebird --with-pdo-firebird=shared,/opt/remi/php56/root/usr/lib64/firebird --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 --without-readline --with-libedit --with-pspell=shared --enable-phar=shared --with-mcrypt=shared,/usr --with-tidy=shared,/usr --with-mssql=shared,/usr --with-pdo-dblib=shared,/usr --with-sybase-ct=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 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 LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld 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           [5.6.30]
      --vernum            [50630]
    
     
    Last edited: Jun 8, 2017
  7. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Example for php71.sh updating from PHP 7.1.5 to 7.1.6 :)

    Code (Text):
    php71 -v
    PHP 7.1.6 (cli) (built: Jun  7 2017 11:02:48) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.1.6, Copyright (c) 1999-2017, by Zend Technologies
    

    Code (Text):
    ./php71.sh update

    Code (Text):
    ./php71.sh update
    Loaded plugins: fastestmirror
    base                                                                                                                                                                                                                               | 3.6 kB  00:00:00    
    epel/x86_64/metalink                                                                                                                                                                                                               | 3.3 kB  00:00:00    
    epel                                                                                                                                                                                                                               | 4.3 kB  00:00:00    
    extras                                                                                                                                                                                                                             | 3.4 kB  00:00:00    
    mariadb                                                                                                                                                                                                                            | 2.9 kB  00:00:00    
    remi                                                                                                                                                                                                                               | 2.9 kB  00:00:00    
    rpmforge                                                                                                                                                                                                                           | 1.9 kB  00:00:00    
    updates                                                                                                                                                                                                                            | 3.4 kB  00:00:00    
    varnish-4.1                                                                                                                                                                                                                        |  951 B  00:00:00    
    (1/3): epel/x86_64/updateinfo                                                                                                                                                                                                      | 809 kB  00:00:00    
    (2/3): epel/x86_64/primary_db                                                                                                                                                                                                      | 4.7 MB  00:00:00    
    (3/3): remi/primary_db                                                                                                                                                                                                             | 1.7 MB  00:00:02    
    Loading mirror speeds from cached hostfile
     * base: mirror.aarnet.edu.au
     * epel: epel.mirror.digitalpacific.com.au
     * extras: mirror.aarnet.edu.au
     * remi: mirrors.mediatemple.net
     * rpmforge: mirror.ventraip.net.au
     * updates: mirror.aarnet.edu.au
    Resolving Dependencies
    --> Running transaction check
    ---> Package php71-php-bcmath.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-bcmath.x86_64 0:7.1.6-1.el7.remi will be an update
    --> Processing Dependency: php71-php-common(x86-64) = 7.1.6-1.el7.remi for package: php71-php-bcmath-7.1.6-1.el7.remi.x86_64
    ---> Package php71-php-devel.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-devel.x86_64 0:7.1.6-1.el7.remi will be an update
    --> Processing Dependency: php71-php-cli(x86-64) = 7.1.6-1.el7.remi for package: php71-php-devel-7.1.6-1.el7.remi.x86_64
    ---> Package php71-php-enchant.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-enchant.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-fpm.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-fpm.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-gd.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-gd.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-gmp.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-gmp.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-imap.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-imap.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-intl.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-intl.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-ldap.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-ldap.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-mbstring.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-mbstring.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-mcrypt.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-mcrypt.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-mysqlnd.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-mysqlnd.x86_64 0:7.1.6-1.el7.remi will be an update
    --> Processing Dependency: php71-php-pdo(x86-64) = 7.1.6-1.el7.remi for package: php71-php-mysqlnd-7.1.6-1.el7.remi.x86_64
    ---> Package php71-php-opcache.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-opcache.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-pdo-dblib.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-pdo-dblib.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-pspell.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-pspell.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-snmp.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-snmp.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-soap.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-soap.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-tidy.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-tidy.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-xml.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-xml.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-xmlrpc.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-xmlrpc.x86_64 0:7.1.6-1.el7.remi will be an update
    --> Running transaction check
    ---> Package php71-php-cli.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-cli.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-common.x86_64 0:7.1.5-1.el7.remi will be updated
    --> Processing Dependency: php71-php-common(x86-64) = 7.1.5-1.el7.remi for package: php71-php-json-7.1.5-1.el7.remi.x86_64
    ---> Package php71-php-common.x86_64 0:7.1.6-1.el7.remi will be an update
    ---> Package php71-php-pdo.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-pdo.x86_64 0:7.1.6-1.el7.remi will be an update
    --> Running transaction check
    ---> Package php71-php-json.x86_64 0:7.1.5-1.el7.remi will be updated
    ---> Package php71-php-json.x86_64 0:7.1.6-1.el7.remi will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ==========================================================================================================================================================================================================================================================
     Package                                                             Arch                                                   Version                                                            Repository                                            Size
    ==========================================================================================================================================================================================================================================================
    Updating:
     php71-php-bcmath                                                    x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  65 k
     php71-php-devel                                                     x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 690 k
     php71-php-enchant                                                   x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  49 k
     php71-php-fpm                                                       x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 1.6 M
     php71-php-gd                                                        x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  68 k
     php71-php-gmp                                                       x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  61 k
     php71-php-imap                                                      x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  71 k
     php71-php-intl                                                      x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 170 k
     php71-php-ldap                                                      x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  62 k
     php71-php-mbstring                                                  x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 529 k
     php71-php-mcrypt                                                    x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  55 k
     php71-php-mysqlnd                                                   x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 170 k
     php71-php-opcache                                                   x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 190 k
     php71-php-pdo-dblib                                                 x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  51 k
     php71-php-pspell                                                    x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  49 k
     php71-php-snmp                                                      x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  60 k
     php71-php-soap                                                      x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 159 k
     php71-php-tidy                                                      x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  57 k
     php71-php-xml                                                       x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 164 k
     php71-php-xmlrpc                                                    x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  75 k
    Updating for dependencies:
     php71-php-cli                                                       x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 3.0 M
     php71-php-common                                                    x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 589 k
     php71-php-json                                                      x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                  58 k
     php71-php-pdo                                                       x86_64                                                 7.1.6-1.el7.remi                                                   remi                                                 104 k
    
    Transaction Summary
    ==========================================================================================================================================================================================================================================================
    Upgrade  20 Packages (+4 Dependent packages)
    
    Total download size: 8.1 M
    Downloading packages:
    No Presto metadata available for remi
    (1/24): php71-php-bcmath-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                               |  65 kB  00:00:00    
    (2/24): php71-php-enchant-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                              |  49 kB  00:00:01    
    (3/24): php71-php-gd-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                   |  68 kB  00:00:00    
    (4/24): php71-php-gmp-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                  |  61 kB  00:00:00    
    (5/24): php71-php-imap-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                 |  71 kB  00:00:00    
    (6/24): php71-php-cli-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                  | 3.0 MB  00:00:02    
    (7/24): php71-php-common-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                               | 589 kB  00:00:02    
    (8/24): php71-php-intl-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                 | 170 kB  00:00:00    
    (9/24): php71-php-ldap-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                 |  62 kB  00:00:00    
    (10/24): php71-php-json-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                |  58 kB  00:00:00    
    (11/24): php71-php-mcrypt-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                              |  55 kB  00:00:00    
    (12/24): php71-php-mbstring-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                            | 529 kB  00:00:00    
    (13/24): php71-php-mysqlnd-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                             | 170 kB  00:00:00    
    (14/24): php71-php-opcache-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                             | 190 kB  00:00:00    
    (15/24): php71-php-pdo-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                 | 104 kB  00:00:00    
    (16/24): php71-php-pdo-dblib-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                           |  51 kB  00:00:00    
    (17/24): php71-php-pspell-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                              |  49 kB  00:00:00    
    (18/24): php71-php-snmp-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                |  60 kB  00:00:00    
    (19/24): php71-php-xml-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                 | 164 kB  00:00:00    
    (20/24): php71-php-tidy-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                |  57 kB  00:00:00    
    (21/24): php71-php-fpm-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                 | 1.6 MB  00:00:03    
    (22/24): php71-php-soap-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                                | 159 kB  00:00:00    
    (23/24): php71-php-xmlrpc-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                              |  75 kB  00:00:00    
    (24/24): php71-php-devel-7.1.6-1.el7.remi.x86_64.rpm                                                                                                                                                                               | 690 kB  00:00:10    
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                                                                                                     815 kB/s | 8.1 MB  00:00:10    
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Updating   : php71-php-common-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                              1/48 
      Updating   : php71-php-json-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                2/48 
      Updating   : php71-php-pdo-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                 3/48 
      Updating   : php71-php-xml-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                 4/48 
      Updating   : php71-php-cli-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                 5/48 
      Updating   : php71-php-devel-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               6/48 
      Updating   : php71-php-xmlrpc-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                              7/48 
      Updating   : php71-php-mysqlnd-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                             8/48 
      Updating   : php71-php-pdo-dblib-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                           9/48 
      Updating   : php71-php-pspell-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                             10/48 
      Updating   : php71-php-opcache-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                            11/48 
      Updating   : php71-php-tidy-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               12/48 
      Updating   : php71-php-gmp-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                13/48 
      Updating   : php71-php-fpm-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                14/48 
      Updating   : php71-php-soap-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               15/48 
      Updating   : php71-php-snmp-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               16/48 
      Updating   : php71-php-gd-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                 17/48 
      Updating   : php71-php-bcmath-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                             18/48 
      Updating   : php71-php-imap-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               19/48 
      Updating   : php71-php-intl-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               20/48 
      Updating   : php71-php-mcrypt-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                             21/48 
      Updating   : php71-php-ldap-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               22/48 
      Updating   : php71-php-mbstring-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                           23/48 
      Updating   : php71-php-enchant-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                            24/48 
      Cleanup    : php71-php-enchant-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                            25/48 
      Cleanup    : php71-php-mbstring-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                           26/48 
      Cleanup    : php71-php-ldap-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               27/48 
      Cleanup    : php71-php-mcrypt-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                             28/48 
      Cleanup    : php71-php-intl-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               29/48 
      Cleanup    : php71-php-imap-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               30/48 
      Cleanup    : php71-php-bcmath-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                             31/48 
      Cleanup    : php71-php-xmlrpc-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                             32/48 
      Cleanup    : php71-php-xml-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                33/48 
      Cleanup    : php71-php-gd-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                 34/48 
      Cleanup    : php71-php-snmp-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               35/48 
      Cleanup    : php71-php-devel-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                              36/48 
      Cleanup    : php71-php-cli-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                37/48 
      Cleanup    : php71-php-soap-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               38/48 
      Cleanup    : php71-php-pdo-dblib-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                          39/48 
      Cleanup    : php71-php-fpm-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                40/48 
      Cleanup    : php71-php-mysqlnd-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                            41/48 
      Cleanup    : php71-php-pdo-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                42/48 
      Cleanup    : php71-php-gmp-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                43/48 
      Cleanup    : php71-php-tidy-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               44/48 
      Cleanup    : php71-php-opcache-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                            45/48 
      Cleanup    : php71-php-pspell-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                             46/48 
      Cleanup    : php71-php-json-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               47/48 
      Cleanup    : php71-php-common-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                             48/48 
      Verifying  : php71-php-pspell-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                              1/48 
      Verifying  : php71-php-opcache-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                             2/48 
      Verifying  : php71-php-tidy-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                3/48 
      Verifying  : php71-php-gmp-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                 4/48 
      Verifying  : php71-php-mysqlnd-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                             5/48 
      Verifying  : php71-php-fpm-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                 6/48 
      Verifying  : php71-php-pdo-dblib-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                           7/48 
      Verifying  : php71-php-soap-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                8/48 
      Verifying  : php71-php-devel-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               9/48 
      Verifying  : php71-php-snmp-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               10/48 
      Verifying  : php71-php-gd-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                 11/48 
      Verifying  : php71-php-xmlrpc-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                             12/48 
      Verifying  : php71-php-xml-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                13/48 
      Verifying  : php71-php-bcmath-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                             14/48 
      Verifying  : php71-php-imap-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               15/48 
      Verifying  : php71-php-json-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               16/48 
      Verifying  : php71-php-intl-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               17/48 
      Verifying  : php71-php-mcrypt-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                             18/48 
      Verifying  : php71-php-ldap-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                               19/48 
      Verifying  : php71-php-mbstring-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                           20/48 
      Verifying  : php71-php-pdo-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                21/48 
      Verifying  : php71-php-enchant-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                            22/48 
      Verifying  : php71-php-cli-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                                23/48 
      Verifying  : php71-php-common-7.1.6-1.el7.remi.x86_64                                                                                                                                                                                             24/48 
      Verifying  : php71-php-gd-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                 25/48 
      Verifying  : php71-php-imap-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               26/48 
      Verifying  : php71-php-intl-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               27/48 
      Verifying  : php71-php-tidy-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               28/48 
      Verifying  : php71-php-common-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                             29/48 
      Verifying  : php71-php-mcrypt-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                             30/48 
      Verifying  : php71-php-snmp-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               31/48 
      Verifying  : php71-php-ldap-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               32/48 
      Verifying  : php71-php-bcmath-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                             33/48 
      Verifying  : php71-php-cli-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                34/48 
      Verifying  : php71-php-opcache-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                            35/48 
      Verifying  : php71-php-fpm-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                36/48 
      Verifying  : php71-php-mbstring-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                           37/48 
      Verifying  : php71-php-pdo-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                38/48 
      Verifying  : php71-php-enchant-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                            39/48 
      Verifying  : php71-php-devel-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                              40/48 
      Verifying  : php71-php-mysqlnd-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                            41/48 
      Verifying  : php71-php-soap-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               42/48 
      Verifying  : php71-php-xml-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                43/48 
      Verifying  : php71-php-xmlrpc-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                             44/48 
      Verifying  : php71-php-json-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                               45/48 
      Verifying  : php71-php-gmp-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                                46/48 
      Verifying  : php71-php-pdo-dblib-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                          47/48 
      Verifying  : php71-php-pspell-7.1.5-1.el7.remi.x86_64                                                                                                                                                                                             48/48 
    
    Updated:
      php71-php-bcmath.x86_64 0:7.1.6-1.el7.remi      php71-php-devel.x86_64 0:7.1.6-1.el7.remi        php71-php-enchant.x86_64 0:7.1.6-1.el7.remi      php71-php-fpm.x86_64 0:7.1.6-1.el7.remi            php71-php-gd.x86_64 0:7.1.6-1.el7.remi          
      php71-php-gmp.x86_64 0:7.1.6-1.el7.remi         php71-php-imap.x86_64 0:7.1.6-1.el7.remi         php71-php-intl.x86_64 0:7.1.6-1.el7.remi         php71-php-ldap.x86_64 0:7.1.6-1.el7.remi           php71-php-mbstring.x86_64 0:7.1.6-1.el7.remi    
      php71-php-mcrypt.x86_64 0:7.1.6-1.el7.remi      php71-php-mysqlnd.x86_64 0:7.1.6-1.el7.remi      php71-php-opcache.x86_64 0:7.1.6-1.el7.remi      php71-php-pdo-dblib.x86_64 0:7.1.6-1.el7.remi      php71-php-pspell.x86_64 0:7.1.6-1.el7.remi      
      php71-php-snmp.x86_64 0:7.1.6-1.el7.remi        php71-php-soap.x86_64 0:7.1.6-1.el7.remi         php71-php-tidy.x86_64 0:7.1.6-1.el7.remi         php71-php-xml.x86_64 0:7.1.6-1.el7.remi            php71-php-xmlrpc.x86_64 0:7.1.6-1.el7.remi      
    
    Dependency Updated:
      php71-php-cli.x86_64 0:7.1.6-1.el7.remi                      php71-php-common.x86_64 0:7.1.6-1.el7.remi                      php71-php-json.x86_64 0:7.1.6-1.el7.remi                      php71-php-pdo.x86_64 0:7.1.6-1.el7.remi                    
    
    Complete!
    
     
  8. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Example php70.sh update from PHP 7.0.19 to PHP 7.0.20
    Code (Text):
    php70 -v
    PHP 7.0.20 (cli) (built: Jun  7 2017 06:56:00) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.20, Copyright (c) 1999-2017, by Zend Technologies
    

    Code (Text):
    ./php70.sh update
    

    Code (Text):
    ./php70.sh update 
    Loaded plugins: fastestmirror
    Loading mirror speeds from cached hostfile
     * base: mirror.aarnet.edu.au
     * epel: fedora.uberglobalmirror.com
     * extras: mirror.aarnet.edu.au
     * remi: remi.conetix.com.au
     * rpmforge: mirror.ventraip.net.au
     * updates: mirror.aarnet.edu.au
    Resolving Dependencies
    --> Running transaction check
    ---> Package php70-php-bcmath.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-bcmath.x86_64 0:7.0.20-1.el7.remi will be an update
    --> Processing Dependency: php70-php-common(x86-64) = 7.0.20-1.el7.remi for package: php70-php-bcmath-7.0.20-1.el7.remi.x86_64
    ---> Package php70-php-devel.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-devel.x86_64 0:7.0.20-1.el7.remi will be an update
    --> Processing Dependency: php70-php-cli(x86-64) = 7.0.20-1.el7.remi for package: php70-php-devel-7.0.20-1.el7.remi.x86_64
    ---> Package php70-php-enchant.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-enchant.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-fpm.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-fpm.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-gd.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-gd.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-gmp.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-gmp.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-imap.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-imap.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-intl.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-intl.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-ldap.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-ldap.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-mbstring.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-mbstring.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-mcrypt.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-mcrypt.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-mysqlnd.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-mysqlnd.x86_64 0:7.0.20-1.el7.remi will be an update
    --> Processing Dependency: php70-php-pdo(x86-64) = 7.0.20-1.el7.remi for package: php70-php-mysqlnd-7.0.20-1.el7.remi.x86_64
    ---> Package php70-php-opcache.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-opcache.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-pdo-dblib.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-pdo-dblib.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-pspell.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-pspell.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-snmp.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-snmp.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-soap.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-soap.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-tidy.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-tidy.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-xml.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-xml.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-xmlrpc.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-xmlrpc.x86_64 0:7.0.20-1.el7.remi will be an update
    --> Running transaction check
    ---> Package php70-php-cli.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-cli.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-common.x86_64 0:7.0.19-1.el7.remi will be updated
    --> Processing Dependency: php70-php-common(x86-64) = 7.0.19-1.el7.remi for package: php70-php-json-7.0.19-1.el7.remi.x86_64
    ---> Package php70-php-common.x86_64 0:7.0.20-1.el7.remi will be an update
    ---> Package php70-php-pdo.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-pdo.x86_64 0:7.0.20-1.el7.remi will be an update
    --> Running transaction check
    ---> Package php70-php-json.x86_64 0:7.0.19-1.el7.remi will be updated
    ---> Package php70-php-json.x86_64 0:7.0.20-1.el7.remi will be an update
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ==========================================================================================================================================================================================================================================================
     Package                                                             Arch                                                   Version                                                            Repository                                            Size
    ==========================================================================================================================================================================================================================================================
    Updating:
     php70-php-bcmath                                                    x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  65 k
     php70-php-devel                                                     x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 636 k
     php70-php-enchant                                                   x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  50 k
     php70-php-fpm                                                       x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 1.4 M
     php70-php-gd                                                        x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  68 k
     php70-php-gmp                                                       x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  61 k
     php70-php-imap                                                      x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  70 k
     php70-php-intl                                                      x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 170 k
     php70-php-ldap                                                      x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  62 k
     php70-php-mbstring                                                  x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 526 k
     php70-php-mcrypt                                                    x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  55 k
     php70-php-mysqlnd                                                   x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 173 k
     php70-php-opcache                                                   x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 122 k
     php70-php-pdo-dblib                                                 x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  51 k
     php70-php-pspell                                                    x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  49 k
     php70-php-snmp                                                      x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  59 k
     php70-php-soap                                                      x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 160 k
     php70-php-tidy                                                      x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  58 k
     php70-php-xml                                                       x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 164 k
     php70-php-xmlrpc                                                    x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  75 k
    Updating for dependencies:
     php70-php-cli                                                       x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 2.6 M
     php70-php-common                                                    x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 582 k
     php70-php-json                                                      x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                  58 k
     php70-php-pdo                                                       x86_64                                                 7.0.20-1.el7.remi                                                  remi                                                 104 k
    
    Transaction Summary
    ==========================================================================================================================================================================================================================================================
    Upgrade  20 Packages (+4 Dependent packages)
    
    Total download size: 7.3 M
    Downloading packages:
    No Presto metadata available for remi
    (1/24): php70-php-bcmath-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                              |  65 kB  00:00:00    
    (2/24): php70-php-enchant-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                             |  50 kB  00:00:01    
    (3/24): php70-php-common-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                              | 582 kB  00:00:02    
    (4/24): php70-php-gd-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                                  |  68 kB  00:00:00    
    (5/24): php70-php-fpm-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                                 | 1.4 MB  00:00:01    
    (6/24): php70-php-imap-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                                |  70 kB  00:00:00    
    (7/24): php70-php-intl-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                                | 170 kB  00:00:00    
    (8/24): php70-php-json-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                                |  58 kB  00:00:00    
    (9/24): php70-php-cli-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                                 | 2.6 MB  00:00:03    
    (10/24): php70-php-gmp-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                                |  61 kB  00:00:01    
    (11/24): php70-php-ldap-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                               |  62 kB  00:00:00    
    (12/24): php70-php-mcrypt-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                             |  55 kB  00:00:00    
    (13/24): php70-php-pdo-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                                | 104 kB  00:00:00    
    (14/24): php70-php-opcache-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                            | 122 kB  00:00:00    
    (15/24): php70-php-mysqlnd-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                            | 173 kB  00:00:00    
    (16/24): php70-php-pdo-dblib-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                          |  51 kB  00:00:00    
    (17/24): php70-php-mbstring-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                           | 526 kB  00:00:01    
    (18/24): php70-php-pspell-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                             |  49 kB  00:00:00    
    (19/24): php70-php-snmp-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                               |  59 kB  00:00:00    
    (20/24): php70-php-soap-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                               | 160 kB  00:00:00    
    (21/24): php70-php-tidy-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                               |  58 kB  00:00:00    
    (22/24): php70-php-xmlrpc-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                             |  75 kB  00:00:00    
    (23/24): php70-php-xml-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                                | 164 kB  00:00:00    
    (24/24): php70-php-devel-7.0.20-1.el7.remi.x86_64.rpm                                                                                                                                                                              | 636 kB  00:00:09    
    ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                                                                                                     797 kB/s | 7.3 MB  00:00:09    
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Updating   : php70-php-common-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                             1/48 
      Updating   : php70-php-json-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                               2/48 
      Updating   : php70-php-pdo-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                                3/48 
      Updating   : php70-php-cli-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                                4/48 
      Updating   : php70-php-xml-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                                5/48 
      Updating   : php70-php-xmlrpc-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                             6/48 
      Updating   : php70-php-devel-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              7/48 
      Updating   : php70-php-mysqlnd-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            8/48 
      Updating   : php70-php-pdo-dblib-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                          9/48 
      Updating   : php70-php-mbstring-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                          10/48 
      Updating   : php70-php-fpm-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                               11/48 
      Updating   : php70-php-intl-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              12/48 
      Updating   : php70-php-opcache-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                           13/48 
      Updating   : php70-php-snmp-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              14/48 
      Updating   : php70-php-enchant-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                           15/48 
      Updating   : php70-php-imap-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              16/48 
      Updating   : php70-php-pspell-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            17/48 
      Updating   : php70-php-mcrypt-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            18/48 
      Updating   : php70-php-bcmath-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            19/48 
      Updating   : php70-php-tidy-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              20/48 
      Updating   : php70-php-gmp-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                               21/48 
      Updating   : php70-php-ldap-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              22/48 
      Updating   : php70-php-gd-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                                23/48 
      Updating   : php70-php-soap-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              24/48 
      Cleanup    : php70-php-soap-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              25/48 
      Cleanup    : php70-php-gd-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                                26/48 
      Cleanup    : php70-php-ldap-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              27/48 
      Cleanup    : php70-php-pdo-dblib-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                         28/48 
      Cleanup    : php70-php-gmp-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                               29/48 
      Cleanup    : php70-php-tidy-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              30/48 
      Cleanup    : php70-php-bcmath-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                            31/48 
      Cleanup    : php70-php-devel-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                             32/48 
      Cleanup    : php70-php-cli-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                               33/48 
      Cleanup    : php70-php-mcrypt-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                            34/48 
      Cleanup    : php70-php-pspell-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                            35/48 
      Cleanup    : php70-php-xmlrpc-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                            36/48 
      Cleanup    : php70-php-xml-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                               37/48 
      Cleanup    : php70-php-mysqlnd-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                           38/48 
      Cleanup    : php70-php-pdo-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                               39/48 
      Cleanup    : php70-php-imap-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              40/48 
      Cleanup    : php70-php-enchant-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                           41/48 
      Cleanup    : php70-php-snmp-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              42/48 
      Cleanup    : php70-php-opcache-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                           43/48 
      Cleanup    : php70-php-intl-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              44/48 
      Cleanup    : php70-php-fpm-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                               45/48 
      Cleanup    : php70-php-mbstring-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                          46/48 
      Cleanup    : php70-php-json-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              47/48 
      Cleanup    : php70-php-common-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                            48/48 
      Verifying  : php70-php-mbstring-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                           1/48 
      Verifying  : php70-php-pdo-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                                2/48 
      Verifying  : php70-php-fpm-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                                3/48 
      Verifying  : php70-php-intl-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                               4/48 
      Verifying  : php70-php-opcache-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            5/48 
      Verifying  : php70-php-snmp-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                               6/48 
      Verifying  : php70-php-enchant-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            7/48 
      Verifying  : php70-php-imap-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                               8/48 
      Verifying  : php70-php-mysqlnd-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            9/48 
      Verifying  : php70-php-cli-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                               10/48 
      Verifying  : php70-php-xmlrpc-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            11/48 
      Verifying  : php70-php-pspell-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            12/48 
      Verifying  : php70-php-mcrypt-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            13/48 
      Verifying  : php70-php-devel-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                             14/48 
      Verifying  : php70-php-json-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              15/48 
      Verifying  : php70-php-bcmath-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            16/48 
      Verifying  : php70-php-tidy-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              17/48 
      Verifying  : php70-php-gmp-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                               18/48 
      Verifying  : php70-php-pdo-dblib-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                         19/48 
      Verifying  : php70-php-ldap-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              20/48 
      Verifying  : php70-php-common-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                            21/48 
      Verifying  : php70-php-gd-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                                22/48 
      Verifying  : php70-php-xml-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                               23/48 
      Verifying  : php70-php-soap-7.0.20-1.el7.remi.x86_64                                                                                                                                                                                              24/48 
      Verifying  : php70-php-tidy-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              25/48 
      Verifying  : php70-php-ldap-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              26/48 
      Verifying  : php70-php-cli-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                               27/48 
      Verifying  : php70-php-devel-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                             28/48 
      Verifying  : php70-php-imap-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              29/48 
      Verifying  : php70-php-common-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                            30/48 
      Verifying  : php70-php-pdo-dblib-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                         31/48 
      Verifying  : php70-php-xml-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                               32/48 
      Verifying  : php70-php-pdo-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                               33/48 
      Verifying  : php70-php-gd-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                                34/48 
      Verifying  : php70-php-mbstring-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                          35/48 
      Verifying  : php70-php-mysqlnd-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                           36/48 
      Verifying  : php70-php-pspell-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                            37/48 
      Verifying  : php70-php-soap-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              38/48 
      Verifying  : php70-php-mcrypt-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                            39/48 
      Verifying  : php70-php-xmlrpc-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                            40/48 
      Verifying  : php70-php-intl-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              41/48 
      Verifying  : php70-php-snmp-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              42/48 
      Verifying  : php70-php-json-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                              43/48 
      Verifying  : php70-php-enchant-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                           44/48 
      Verifying  : php70-php-fpm-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                               45/48 
      Verifying  : php70-php-gmp-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                               46/48 
      Verifying  : php70-php-opcache-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                           47/48 
      Verifying  : php70-php-bcmath-7.0.19-1.el7.remi.x86_64                                                                                                                                                                                            48/48 
    
    Updated:
      php70-php-bcmath.x86_64 0:7.0.20-1.el7.remi     php70-php-devel.x86_64 0:7.0.20-1.el7.remi       php70-php-enchant.x86_64 0:7.0.20-1.el7.remi     php70-php-fpm.x86_64 0:7.0.20-1.el7.remi           php70-php-gd.x86_64 0:7.0.20-1.el7.remi          
      php70-php-gmp.x86_64 0:7.0.20-1.el7.remi        php70-php-imap.x86_64 0:7.0.20-1.el7.remi        php70-php-intl.x86_64 0:7.0.20-1.el7.remi        php70-php-ldap.x86_64 0:7.0.20-1.el7.remi          php70-php-mbstring.x86_64 0:7.0.20-1.el7.remi    
      php70-php-mcrypt.x86_64 0:7.0.20-1.el7.remi     php70-php-mysqlnd.x86_64 0:7.0.20-1.el7.remi     php70-php-opcache.x86_64 0:7.0.20-1.el7.remi     php70-php-pdo-dblib.x86_64 0:7.0.20-1.el7.remi     php70-php-pspell.x86_64 0:7.0.20-1.el7.remi      
      php70-php-snmp.x86_64 0:7.0.20-1.el7.remi       php70-php-soap.x86_64 0:7.0.20-1.el7.remi        php70-php-tidy.x86_64 0:7.0.20-1.el7.remi        php70-php-xml.x86_64 0:7.0.20-1.el7.remi           php70-php-xmlrpc.x86_64 0:7.0.20-1.el7.remi      
    
    Dependency Updated:
      php70-php-cli.x86_64 0:7.0.20-1.el7.remi                     php70-php-common.x86_64 0:7.0.20-1.el7.remi                     php70-php-json.x86_64 0:7.0.20-1.el7.remi                     php70-php-pdo.x86_64 0:7.0.20-1.el7.remi                    
    
    Complete!
    
     
  9. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    Centmin Mod PHP-FPM vs Remi SCL PHP-FPM



    Revisiting bench.php and micro_bench.php benchmarks with Remi SCL installed PHP-FPM 5.6.30, 7.0.20 and 7.1.6 vs Centmin Mod source compiled PHP-FPM 7.1.6. All PHP versions have Zend Opcache setting opcache.enable_cli=0 set. Extended tests from average of 5 runs each to average of 10 runs each test.
    • Update: added detailed_benchmark.php script results too.
    • Update 2: add Centmin Mod PHP-FPM 7.1.6 + PGO='n' disabled results too
    • Update 3: add Centmin Mod 123.09beta01 PHP-FPM 7.2.0 Alpha1 benchmarks with and without PGO enabled
    Centmin Mod 123.09beta01 PHP-FPM 7.1.6 has Profile Guided Optimisations enabled via PHP_PGO='y' as well as tested with PGO disabled PHP_PGO='n'.

    Seems Centmin Mod PHP-FPM 7.2.0 Alpha1 with PGO fastest, then without PGO, then PHP-FPM 7.1.6 + No PGO fastest, then with PGO, then Remi PHP-FPM 7.1.6, 7.0.20 and last 5.6.30

    PHP Version bench.php micro_bench.php detailed_benchmark.php
    Centmin Mod PHP-FPM 7.2.0 + PGO 0.3850 2.1029 1.7831
    Centmin Mod PHP-FPM 7.2.0 + No PGO 0.3888 2.2572 1.7793
    Centmin Mod PHP-FPM 7.1.6 + No PGO 0.4069 2.2363 1.9149
    Centmin Mod PHP-FPM 7.1.6 + PGO 0.4135 2.2365 1.9436
    Remi SCL PHP-FPM 7.1.6 0.4135 2.3720 2.0899
    Remi SCL PHP-FPM 7.0.20 0.4335 2.2799 2.1169
    Remi SCL PHP-FPM 5.6.30 1.2111 5.8418 4.1405


    Centmin Mod 123.09beta01 PHP-FPM 7.2.0 Alpha1 + PGO

    PHP 7.2.0 Alpha1 + PGO support (PHP_PGO='y') via centmin.sh menu option 5, specify the upgrade PHP version as = 7.2.0alpha1 will source compile it - not all PHP extensions fully support PHP 7.2.0 Alpha1.
    • bench.php = 0.3850 (~0.977% faster than Centmin Mod PHP-FPM 7.2.0 without PGO, ~6.89% faster than Centmin Mod PHP-FPM 7.1.6 with PGO and Remi PHPP-FPM 7.1.6, ~11.19% faster than Remi PHP-FPM 7.0.20, ~68.2% faster than Remi PHP-FPM 5.6.30)
    • micro_bench.php = 2.1029 (~6.84% faster than Centmin Mod PHP-FPM 7.2.0 without PGO, ~5.97% faster than Centmin Mod PHP-FPM 7.1.6 with PGO, ~11.34% faster than Remi PHP-FPM 7.1.6, ~7.76% faster than Remi PHP-FPM 7.0.20, ~64% faster than Remi PHP-FPM 5.6.30)
    • detailed_benchmark.php = 1.7831 (~0.213% slower than Centmin Mod PHP-FPM 7.2.0 without PGO, ~8.26% faster than Centmin Mod PHP-FPM 7.1.6 with PGO, ~14.68% faster than Remi PHP-FPM 7.1.6, ~15.77% faster than Remi PHP-FPM 7.0.20, ~56.94% faster than Remi PHP-FPM 5.6.30)
    Centmin Mod 123.09beta01 PHP-FPM 7.2.0 Alpha1 + No PGO

    Just added to Centmin Mod 123.09beta01, PHP 7.2.0 Alpha1 support via centmin.sh menu option 5, specify the upgrade PHP version as = 7.2.0alpha1 will source compile it - not all PHP extensions fully support PHP 7.2.0 Alpha1. But seems the PHP extensions used for PHP 7.1.6, work fine for PHP 7.2.0 Alpha1 so far :)
    • bench.php = 0.3888 (~4.45% faster than Centmin Mod PHP-FPM 7.1.6 with No PGO, ~14.45% faster than Remi PHPP-FPM 7.1.6, ~10.31% faster than Remi PHP-FPM 7.0.20, ~67.9% faster than Remi PHP-FPM 5.6.30)
    • micro_bench.php = 2.2572 (~0.093% slower than Centmin Mod PHP-FPM 7.1.6 with No PGO, ~4.84% faster than Remi PHP-FPM 7.1.6, ~0.996% faster than Remi PHP-FPM 7.0.20, ~61.4% faster than Remi PHP-FPM 5.6.30)
    • detailed_benchmark.php = 1.7793 (~8.37% faster than Centmin Mod PHP-FPM 7.1.6 with No PGO, ~14.86% faster than Remi PHP-FPM 7.1.6, ~15.95% faster than Remi PHP-FPM 7.0.20, ~57% faster than Remi PHP-FPM 5.6.30)
    Centmin Mod 123.09beta01 PHP-FPM 7.1.6 + PGO
    • bench.php = 0.4135 (matched Remi PHPP-FPM 7.1.6, ~4.61% faster than Remi PHP-FPM 7.0.20, ~65.9% faster than Remi PHP-FPM 5.6.30)
    • micro_bench.php = 2.2365 (~5.71% faster than Remi PHP-FPM 7.1.6, ~1.9% faster than Remi PHP-FPM 7.0.20, ~61.7% faster than Remi PHP-FPM 5.6.30)
    • detailed_benchmark.php = 1.9436 (~7% faster than Remi PHP-FPM 7.1.6, ~8.19% faster than Remi PHP-FPM 7.0.20, ~53.1% faster than Remi PHP-FPM 5.6.30)
    Centmin Mod 123.09beta01 PHP-FPM 7.1.6 + No PGO
    • bench.php = 0.4069 (~1.6% faster than Centmin Mod PHP-FPM 7.1.6 with PGO and Remi PHPP-FPM 7.1.6, ~6.14% faster than Remi PHP-FPM 7.0.20, ~66.4% faster than Remi PHP-FPM 5.6.30)
    • micro_bench.php = 2.2363 (~0.0009% faster than Centmin Mod PHP-FPM 7.1.6 with PGO, ~5.72% faster than Remi PHP-FPM 7.1.6, ~1.92% faster than Remi PHP-FPM 7.0.20, ~61.7% faster than Remi PHP-FPM 5.6.30)
    • detailed_benchmark.php = 1.9419 (~0.17% faster than Centmin Mod PHP-FPM 7.1.6 with PGO, ~7.1% faster than Remi PHP-FPM 7.1.6, ~8.27% faster than Remi PHP-FPM 7.0.20, ~53.1% faster than Remi PHP-FPM 5.6.30)
    Remi PHP-FPM 7.1.6
    • bench.php = 0.4135
    • micro_bench.php = 2.3720
    • detailed_benchmark.php = 2.0899
    Remi PHP-FPM 7.0.20
    • bench.php = 0.4335
    • micro_bench.php = 2.2799
    • detailed_benchmark.php = 2.1169
    Remi PHP-FPM 5.6.30
    • bench.php = 1.2111
    • micro_bench.php = 5.8418
    • detailed_benchmark.php = 4.1405

    Centmin Mod 123.09beta01 PHP-FPM 7.2.0 Alpha1 + PHP_PGO='t'



    With PGO='y'
    Code (Text):
    php -v
    PHP 7.2.0alpha1 (cli) (built: Jun  9 2017 22:12:03) ( 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.0alpha1, Copyright (c) 1999-2017, by Zend Technologies
    

    bench.php
    Code (Text):
    [PHP 7.2.0alpha1] /usr/local/bin/php
    bench.php results from 10 runs
    0.384
    0.392
    0.383
    0.385
    0.384
    0.384
    0.386
    0.384
    0.383
    0.385
    
    bench.php avg: 0.3850
    Avg: real: 0.41s user: 0.40s sys: 0.00s cpu: 99.60% maxmem: 33372.00KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_090617-221446.log
    

    micro_bench.php
    Code (Text):
    [PHP 7.2.0alpha1] /usr/local/bin/php
    micro_bench.php results from 10 runs
    2.097
    2.089
    2.093
    2.096
    2.132
    2.112
    2.110
    2.107
    2.100
    2.093
    
    micro_bench.php avg: 2.1029
    Avg: real: 2.12s user: 2.12s sys: 0.00s cpu: 99.20% maxmem: 33371.20KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_micro_090617-221446.log
    

    detailed_benchmark.php
    Code (Text):
    [PHP 7.2.0alpha1] /usr/local/bin/php
    detailed_benchmark.php results from 10 runs
    
    averages:
    for:                            0.0039
    while                           0.0040
    if                              0.0000
    switch                          0.0218
    ternary                         0.0217
    str_replace                     0.1290
    preg_replace                    0.0018
    preg_match                      0.0736
    count                           0.0086
    isset                           0.0191
    time                            0.0107
    strlen                          0.0075
    sprintf                         0.1467
    strcmp                          0.0374
    trim                            0.0291
    explode                         0.0021
    implode                         0.0842
    number_format                   0.1786
    floor                           0.0131
    strpos                          0.0185
    substr                          0.0253
    intval                          0.0186
    int                             0.0186
    is_array                        0.0125
    is_numeric                      0.0263
    is_int                          0.0129
    is_string                       0.0122
    ip2long                         0.0226
    long2ip                         0.1615
    date                            0.0033
    strftime                        0.0026
    strtotime                       0.0056
    strtolower                      0.0476
    strtoupper                      0.0473
    md5                             0.1458
    unset                           0.0243
    list                            0.0270
    urlencode                       0.0831
    urldecode                       0.1225
    addslashes                      0.0799
    stripslashes                    0.0510
    
    detailed_benchmark.php total avg: 1.7831
    Avg: real: 1.81s user: 1.80s sys: 0.00s cpu: 99.40% maxmem: 33372.00KB cswaits: 1.00
    created results log at /home/phpbench_logs/detailed_benchmark_090617-221446.log
    


    Centmin Mod 123.09beta01 PHP-FPM 7.2.0 Alpha1 + PHP_PGO='n'



    With PGO='n' default
    Code (Text):
    php -v
    PHP 7.2.0alpha1 (cli) (built: Jun  9 2017 15:57:28) ( 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.0alpha1, Copyright (c) 1999-2017, by Zend Technologies
    

    bench.php
    Code (Text):
    [PHP 7.2.0alpha1] /usr/local/bin/php
    bench.php results from 10 runs
    0.389
    0.388
    0.388
    0.388
    0.389
    0.390
    0.388
    0.388
    0.391
    0.389
    
    bench.php avg: 0.3888
    Avg: real: 0.41s user: 0.40s sys: 0.00s cpu: 99.60% maxmem: 33311.60KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_090617-160144.log
    

    micro_bench.php
    Code (Text):
    [PHP 7.2.0alpha1] /usr/local/bin/php
    micro_bench.php results from 10 runs
    2.349
    2.312
    2.126
    2.293
    2.142
    2.263
    2.280
    2.202
    2.314
    2.291
    
    micro_bench.php avg: 2.2572
    Avg: real: 2.28s user: 2.27s sys: 0.00s cpu: 99.40% maxmem: 33311.20KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_micro_090617-160144.log
    

    detailed_benchmark.php
    Code (Text):
    [PHP 7.2.0alpha1] /usr/local/bin/php
    detailed_benchmark.php results from 10 runs
    
    averages:
    for:                            0.0041
    while                           0.0039
    if                              0.0000
    switch                          0.0220
    ternary                         0.0194
    str_replace                     0.1244
    preg_replace                    0.0017
    preg_match                      0.0775
    count                           0.0094
    isset                           0.0198
    time                            0.0107
    strlen                          0.0078
    sprintf                         0.1405
    strcmp                          0.0421
    trim                            0.0313
    explode                         0.0021
    implode                         0.0825
    number_format                   0.1833
    floor                           0.0140
    strpos                          0.0185
    substr                          0.0256
    intval                          0.0199
    int                             0.0199
    is_array                        0.0134
    is_numeric                      0.0283
    is_int                          0.0131
    is_string                       0.0132
    ip2long                         0.0230
    long2ip                         0.1612
    date                            0.0032
    strftime                        0.0026
    strtotime                       0.0055
    strtolower                      0.0486
    strtoupper                      0.0502
    md5                             0.1349
    unset                           0.0252
    list                            0.0285
    urlencode                       0.0848
    urldecode                       0.1117
    addslashes                      0.0783
    stripslashes                    0.0521
    
    detailed_benchmark.php total avg: 1.7793
    Avg: real: 1.80s user: 1.79s sys: 0.00s cpu: 99.10% maxmem: 33310.80KB cswaits: 1.00
    created results log at /home/phpbench_logs/detailed_benchmark_090617-160144.log
    


    Centmin Mod 123.09beta01 PHP-FPM 7.1.6 + PHP_PGO='y'



    With PGO='y'
    Code (Text):
    php -v
    PHP 7.1.6 (cli) (built: Jun  8 2017 11:56:26) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.1.6, Copyright (c) 1999-2017, by Zend Technologies
    

    bench.php
    Code (Text):
    [PHP 7.1.6] /usr/local/bin/php
    bench.php results from 10 runs
    0.412
    0.418
    0.411
    0.412
    0.411
    0.412
    0.418
    0.411
    0.419
    0.411
    
    bench.php avg: 0.4135
    Avg: real: 0.44s user: 0.43s sys: 0.00s cpu: 99.40% maxmem: 37035.20KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_080617-122046.log
    

    micro_bench.php
    Code (Text):
    [PHP 7.1.6] /usr/local/bin/php
    micro_bench.php results from 10 runs
    2.231
    2.228
    2.239
    2.238
    2.231
    2.242
    2.238
    2.227
    2.250
    2.241
    
    micro_bench.php avg: 2.2365
    Avg: real: 2.26s user: 2.25s sys: 0.00s cpu: 99.30% maxmem: 37035.60KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_micro_080617-122046.log
    

    detailed_benchmark.php
    Code (Text):
    [PHP 7.1.6] /usr/local/bin/php
    detailed_benchmark.php results from 10 runs
    
    averages:
    for:                            0.0045
    while                           0.0041
    if                              0.0000
    switch                          0.0222
    ternary                         0.0199
    str_replace                     0.1369
    preg_replace                    0.0021
    preg_match                      0.0864
    count                           0.0161
    isset                           0.0209
    time                            0.0135
    strlen                          0.0101
    sprintf                         0.1552
    strcmp                          0.0397
    trim                            0.0332
    explode                         0.0023
    implode                         0.0924
    number_format                   0.1780
    floor                           0.0158
    strpos                          0.0217
    substr                          0.0270
    intval                          0.0219
    int                             0.0219
    is_array                        0.0163
    is_numeric                      0.0308
    is_int                          0.0151
    is_string                       0.0164
    ip2long                         0.0358
    long2ip                         0.1840
    date                            0.0037
    strftime                        0.0033
    strtotime                       0.0059
    strtolower                      0.0423
    strtoupper                      0.0422
    md5                             0.1625
    unset                           0.0239
    list                            0.0281
    urlencode                       0.0809
    urldecode                       0.1386
    addslashes                      0.0844
    stripslashes                    0.0624
    
    detailed_benchmark.php total avg: 1.9436
    Avg: real: 1.97s user: 1.96s sys: 0.00s cpu: 99.10% maxmem: 37035.20KB cswaits: 1.00
    created results log at /home/phpbench_logs/detailed_benchmark_090617-091513.log
    


    Centmin Mod 123.09beta01 PHP-FPM 7.1.6 + PHP_PGO='n'



    With PGO='n'
    Code (Text):
    php -v
    PHP 7.1.6 (cli) (built: Jun  9 2017 12:37:23) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.1.6, Copyright (c) 1999-2017, by Zend Technologies
    

    bench.php
    Code (Text):
    [PHP 7.1.6] /usr/local/bin/php
    bench.php results from 10 runs
    0.406
    0.404
    0.407
    0.407
    0.404
    0.403
    0.409
    0.404
    0.411
    0.414
    
    bench.php avg: 0.4069
    Avg: real: 0.43s user: 0.42s sys: 0.00s cpu: 99.50% maxmem: 33027.60KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_090617-123934.log
    

    micro_bench.php
    Code (Text):
    [PHP 7.1.6] /usr/local/bin/php
    micro_bench.php results from 10 runs
    2.227
    2.235
    2.239
    2.229
    2.231
    2.270
    2.230
    2.238
    2.228
    2.236
    
    micro_bench.php avg: 2.2363
    Avg: real: 2.26s user: 2.25s sys: 0.00s cpu: 99.20% maxmem: 33027.60KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_micro_090617-123934.log
    

    detailed_benchmark.php
    Code (Text):
    [PHP 7.1.6] /usr/local/bin/php
    detailed_benchmark.php results from 10 runs
    
    averages:
    for:                            0.0042
    while                           0.0042
    if                              0.0000
    switch                          0.0224
    ternary                         0.0199
    str_replace                     0.1407
    preg_replace                    0.0019
    preg_match                      0.0886
    count                           0.0183
    isset                           0.0216
    time                            0.0131
    strlen                          0.0098
    sprintf                         0.1410
    strcmp                          0.0447
    trim                            0.0342
    explode                         0.0025
    implode                         0.0966
    number_format                   0.1848
    floor                           0.0159
    strpos                          0.0212
    substr                          0.0283
    intval                          0.0212
    int                             0.0212
    is_array                        0.0152
    is_numeric                      0.0310
    is_int                          0.0151
    is_string                       0.0151
    ip2long                         0.0386
    long2ip                         0.1829
    date                            0.0035
    strftime                        0.0029
    strtotime                       0.0058
    strtolower                      0.0483
    strtoupper                      0.0484
    md5                             0.1595
    unset                           0.0251
    list                            0.0295
    urlencode                       0.0879
    urldecode                       0.1131
    addslashes                      0.0734
    stripslashes                    0.0684
    
    detailed_benchmark.php total avg: 1.9419
    Avg: real: 1.97s user: 1.96s sys: 0.00s cpu: 99.30% maxmem: 33027.60KB cswaits: 1.00
    created results log at /home/phpbench_logs/detailed_benchmark_090617-123934.log
    

    Remi SCL PHP-FPM 7.1.6



    Code (Text):
    php71 -v
    PHP 7.1.6 (cli) (built: Jun  7 2017 11:02:48) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.1.6, Copyright (c) 1999-2017, by Zend Technologies
    

    bench.php
    Code (Text):
    [PHP 7.1.6] /usr/bin/php71
    bench.php results from 10 runs
    0.414
    0.412
    0.412
    0.411
    0.414
    0.421
    0.412
    0.417
    0.411
    0.411
    
    bench.php avg: 0.4135
    Avg: real: 0.44s user: 0.43s sys: 0.01s cpu: 99.50% maxmem: 29328.00KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_080617-122114.log
    

    micro_bench.php
    Code (Text):
    [PHP 7.1.6] /usr/bin/php71
    micro_bench.php results from 10 runs
    2.362
    2.372
    2.480
    2.383
    2.361
    2.374
    2.354
    2.288
    2.280
    2.466
    
    micro_bench.php avg: 2.3720
    Avg: real: 2.40s user: 2.39s sys: 0.00s cpu: 99.20% maxmem: 23119.20KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_micro_080617-122114.log
    

    detailed_benchmark.php
    Code (Text):
    [PHP 7.1.6] /usr/bin/php71
    detailed_benchmark.php results from 10 runs
    
    averages:
    for:                            0.0041
    while                           0.0039
    if                              0.0000
    switch                          0.0219
    ternary                         0.0194
    str_replace                     0.1445
    preg_replace                    0.0108
    preg_match                      0.1765
    count                           0.0169
    isset                           0.0203
    time                            0.0132
    strlen                          0.0091
    sprintf                         0.1527
    strcmp                          0.0410
    trim                            0.0333
    explode                         0.0023
    implode                         0.0947
    number_format                   0.1958
    floor                           0.0158
    strpos                          0.0210
    substr                          0.0282
    intval                          0.0221
    int                             0.0221
    is_array                        0.0154
    is_numeric                      0.0318
    is_int                          0.0149
    is_string                       0.0154
    ip2long                         0.0386
    long2ip                         0.1799
    date                            0.0039
    strftime                        0.0031
    strtotime                       0.0062
    strtolower                      0.0518
    strtoupper                      0.0488
    md5                             0.1617
    unset                           0.0249
    list                            0.0290
    urlencode                       0.0833
    urldecode                       0.1297
    addslashes                      0.0866
    stripslashes                    0.0740
    
    detailed_benchmark.php total avg: 2.0899
    Avg: real: 2.12s user: 2.11s sys: 0.01s cpu: 99.20% maxmem: 23527.20KB cswaits: 1.00
    created results log at /home/phpbench_logs/detailed_benchmark_090617-091601.log
    

    Remi SCL PHP-FPM 7.0.20



    Code (Text):
    php70 -v
    PHP 7.0.20 (cli) (built: Jun  7 2017 06:56:00) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.20, Copyright (c) 1999-2017, by Zend Technologies
    

    bench.php
    Code (Text):
    [PHP 7.0.20] /usr/bin/php70
    bench.php results from 10 runs
    0.433
    0.433
    0.433
    0.432
    0.436
    0.434
    0.433
    0.432
    0.434
    0.435
    
    bench.php avg: 0.4335
    Avg: real: 0.46s user: 0.46s sys: 0.00s cpu: 99.50% maxmem: 29066.40KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_080617-122142.log
    

    micro_bench.php
    Code (Text):
    [PHP 7.0.20] /usr/bin/php70
    micro_bench.php results from 10 runs
    2.271
    2.262
    2.318
    2.267
    2.260
    2.299
    2.327
    2.270
    2.263
    2.262
    
    micro_bench.php avg: 2.2799
    Avg: real: 2.31s user: 2.30s sys: 0.00s cpu: 99.20% maxmem: 22895.60KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_micro_080617-122142.log
    

    detailed_benchmark.php
    Code (Text):
    [PHP 7.0.20] /usr/bin/php70
    detailed_benchmark.php results from 10 runs
    
    averages:
    for:                            0.0040
    while                           0.0041
    if                              0.0000
    switch                          0.0216
    ternary                         0.0198
    str_replace                     0.1483
    preg_replace                    0.0103
    preg_match                      0.1722
    count                           0.0174
    isset                           0.0223
    time                            0.0134
    strlen                          0.0091
    sprintf                         0.1441
    strcmp                          0.0400
    trim                            0.0355
    explode                         0.0024
    implode                         0.0933
    number_format                   0.1938
    floor                           0.0160
    strpos                          0.0210
    substr                          0.0280
    intval                          0.0272
    int                             0.0272
    is_array                        0.0150
    is_numeric                      0.0316
    is_int                          0.0148
    is_string                       0.0149
    ip2long                         0.0385
    long2ip                         0.2334
    date                            0.0038
    strftime                        0.0031
    strtotime                       0.0061
    strtolower                      0.0489
    strtoupper                      0.0496
    md5                             0.1549
    unset                           0.0254
    list                            0.0282
    urlencode                       0.0887
    urldecode                       0.1267
    addslashes                      0.0791
    stripslashes                    0.0657
    
    detailed_benchmark.php total avg: 2.1169
    Avg: real: 2.14s user: 2.13s sys: 0.00s cpu: 99.10% maxmem: 23296.40KB cswaits: 1.00
    created results log at /home/phpbench_logs/detailed_benchmark_090617-091650.log
    

    Remi SCL PHP-FPM 5.6.30



    Code (Text):
    php56 -v
    PHP 5.6.30 (cli) (built: Jan 19 2017 07:08:58)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
        with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2016, by Zend Technologies
    

    bench.php
    Code (Text):
    [PHP 5.6.30] /usr/bin/php56
    bench.php results from 10 runs
    1.206
    1.206
    1.212
    1.223
    1.211
    1.223
    1.203
    1.208
    1.207
    1.212
    
    bench.php avg: 1.2111
    Avg: real: 1.24s user: 1.22s sys: 0.01s cpu: 99.30% maxmem: 34652.00KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_080617-122210.log
    

    micro_bench.php
    Code (Text):
    [PHP 5.6.30] /usr/bin/php56
    micro_bench.php results from 10 runs
    5.986
    5.821
    5.812
    5.801
    5.866
    5.815
    5.835
    5.812
    5.840
    5.830
    
    micro_bench.php avg: 5.8418
    Avg: real: 5.87s user: 5.86s sys: 0.00s cpu: 99.10% maxmem: 22306.80KB cswaits: 1.00
    created results log at /home/phpbench_logs/bench_micro_080617-122210.log
    

    detailed_benchmark.php
    Code (Text):
    [PHP 5.6.30] /usr/bin/php56
    detailed_benchmark.php results from 10 runs
    
    averages:
    for:                            0.0145
    while                           0.0110
    if                              0.0000
    switch                          0.0638
    ternary                         0.0393
    str_replace                     0.2432
    preg_replace                    0.0123
    preg_match                      0.3066
    count                           0.0624
    isset                           0.0357
    time                            0.0393
    strlen                          0.0581
    sprintf                         0.2082
    strcmp                          0.0806
    trim                            0.1010
    explode                         0.0058
    implode                         0.2733
    number_format                   0.2735
    floor                           0.0583
    strpos                          0.0917
    substr                          0.0974
    intval                          0.0775
    int                             0.0775
    is_array                        0.1016
    is_numeric                      0.1028
    is_int                          0.1118
    is_string                       0.0977
    ip2long                         0.0832
    long2ip                         0.3041
    date                            0.0054
    strftime                        0.0047
    strtotime                       0.0100
    strtolower                      0.1001
    strtoupper                      0.1010
    md5                             0.1946
    unset                           0.0683
    list                            0.0697
    urlencode                       0.1168
    urldecode                       0.1634
    addslashes                      0.1636
    stripslashes                    0.1028
    
    detailed_benchmark.php total avg: 4.1405
    Avg: real: 4.17s user: 4.16s sys: 0.00s cpu: 99.10% maxmem: 22840.00KB cswaits: 1.00
    created results log at /home/phpbench_logs/detailed_benchmark_090617-091740.log
    
     
    Last edited: Jun 10, 2017
  10. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Remi SCL php72 is also in development for PHP 7.2 alpha and higher testing but not all PHP extension modules are available like with Remi SCL PHP 5.6, 7.0 and 7.1. But I've been adding multi PHP-FPM version testing for PHP 7.2 via Remi SCL php72 via php72.sh addon which will have PHP-FPM 7.2 listening on port 10000.

    This PHP-FPM 7.2 branch version php72.sh:
    • Currently, following PHP extensions, json-post, mailparse, memcache and memcached aren't available yet in Remi SCL php72 YUM repo
    • CentOS 7 transparent hugepages support is enabled for Zend Opcache if system detected to support it
    • listens on port 10000 instead of 9000 with php-fpm pool named php72-www
    • custom php.ini settings calculated by centmin mod are placed in /etc/opt/remi/php72/php.d/zzz_customphp.ini
    • php config scan directory is at /etc/opt/remi/php72/php.d
    • php-fpm config file at /etc/opt/remi/php72/php-fpm.d/www.conf
    • error log at /var/opt/remi/php72/log/php-fpm/www-error.log
    • centmin mod nginx's php include file is at /usr/local/nginx/conf/php72-remi.conf instead of default at /usr/local/nginx/conf/php.conf which you replace references to in your centmin mod nginx vhost config file
    • fpmconfphp72 is centmin mod command shortcut to invoke nano linux text editor to edit /etc/opt/remi/php72/php-fpm.d/www.conf
    • phpincphp72 is centmin mod command shortcut to invoke nano linux text editor to edit /usr/local/nginx/conf/php72-remi.conf
    • systemctl start php72-php-fpm command to start php72-php-fpm service with command shortcut = fpm72start
    • systemctl restart php72-php-fpm command to restart php72-php-fpm service with command shortcut = fpm72restart
    • systemctl stop php72-php-fpm command to stop php72-php-fpm service with command shortcut = fpm72stop

    Looks like PHP extensions GeoIP, json-post, mailparse, memcache and memcached aren't available yet in Remi SCL php72 YUM repo.
    Code (Text):
    ./php72.sh install
    Loaded plugins: fastestmirror
    base                                                                                                                                                                                                                               | 3.6 kB  00:00:00   
    epel/x86_64/metalink                                                                                                                                                                                                               | 3.0 kB  00:00:00   
    epel                                                                                                                                                                                                                               | 4.3 kB  00:00:00   
    extras                                                                                                                                                                                                                             | 3.4 kB  00:00:00   
    mariadb                                                                                                                                                                                                                            | 2.9 kB  00:00:00   
    remi                                                                                                                                                                                                                               | 2.9 kB  00:00:00   
    remi-test                                                                                                                                                                                                                          | 2.9 kB  00:00:00   
    rpmforge                                                                                                                                                                                                                           | 1.9 kB  00:00:00   
    updates                                                                                                                                                                                                                            | 3.4 kB  00:00:00   
    varnish-4.1                                                                                                                                                                                                                        |  951 B  00:00:00   
    (1/4): epel/x86_64/primary_db                                                                                                                                                                                                      | 4.8 MB  00:00:00   
    (2/4): epel/x86_64/updateinfo                                                                                                                                                                                                      | 805 kB  00:00:01   
    (3/4): remi-test/primary_db                                                                                                                                                                                                        | 462 kB  00:00:02   
    (4/4): remi/primary_db                                                                                                                                                                                                             | 1.7 MB  00:00:03   
    Loading mirror speeds from cached hostfile
     * base: mirror.aarnet.edu.au
     * epel: fedora.uberglobalmirror.com
     * extras: mirror.aarnet.edu.au
     * remi: remi.conetix.com.au
     * remi-test: remi.conetix.com.au
     * rpmforge: mirror.ventraip.net.au
     * updates: centos.mirror.serversaustralia.com.au
    No package php72-php-pecl-geoip available.
    No package php72-php-pecl-json-post available.
    No package php72-php-pecl-mailparse available.
    No package php72-php-pecl-memcache available.
    No package php72-php-pecl-memcached available.

    Code (Text):
    php72 -v
    PHP 7.2.0alpha1 (cli) (built: Jun  6 2017 17:16:19) ( 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.0alpha1, 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   -lresolv -lcrypt -ledit -lncurses -lstdc++ -lz -lrt -lm -ldl -lnsl  -lxml2 -lz -lm -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lcrypt -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 --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.1/client64/lib,12.1 --with-pdo-oci=shared,instantclient,/usr,12.1 --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 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.0alpha1]
      --vernum            [70200]
    

    Code (Text):
    ./php72.sh phpini
    Configuration File (php.ini) Path: /etc/opt/remi/php72
    Loaded Configuration File:         /etc/opt/remi/php72/php.ini
    Scan for additional .ini files in: /etc/opt/remi/php72/php.d
    Additional .ini files parsed:      /etc/opt/remi/php72/php.d/10-opcache.ini,
    /etc/opt/remi/php72/php.d/20-bcmath.ini,
    /etc/opt/remi/php72/php.d/20-bz2.ini,
    /etc/opt/remi/php72/php.d/20-calendar.ini,
    /etc/opt/remi/php72/php.d/20-ctype.ini,
    /etc/opt/remi/php72/php.d/20-curl.ini,
    /etc/opt/remi/php72/php.d/20-dom.ini,
    /etc/opt/remi/php72/php.d/20-enchant.ini,
    /etc/opt/remi/php72/php.d/20-exif.ini,
    /etc/opt/remi/php72/php.d/20-fileinfo.ini,
    /etc/opt/remi/php72/php.d/20-ftp.ini,
    /etc/opt/remi/php72/php.d/20-gd.ini,
    /etc/opt/remi/php72/php.d/20-gettext.ini,
    /etc/opt/remi/php72/php.d/20-gmp.ini,
    /etc/opt/remi/php72/php.d/20-iconv.ini,
    /etc/opt/remi/php72/php.d/20-imap.ini,
    /etc/opt/remi/php72/php.d/20-intl.ini,
    /etc/opt/remi/php72/php.d/20-json.ini,
    /etc/opt/remi/php72/php.d/20-ldap.ini,
    /etc/opt/remi/php72/php.d/20-mbstring.ini,
    /etc/opt/remi/php72/php.d/20-mysqlnd.ini,
    /etc/opt/remi/php72/php.d/20-opcache.ini,
    /etc/opt/remi/php72/php.d/20-pdo.ini,
    /etc/opt/remi/php72/php.d/20-phar.ini,
    /etc/opt/remi/php72/php.d/20-pspell.ini,
    /etc/opt/remi/php72/php.d/20-simplexml.ini,
    /etc/opt/remi/php72/php.d/20-snmp.ini,
    /etc/opt/remi/php72/php.d/20-soap.ini,
    /etc/opt/remi/php72/php.d/20-sockets.ini,
    /etc/opt/remi/php72/php.d/20-sqlite3.ini,
    /etc/opt/remi/php72/php.d/20-tidy.ini,
    /etc/opt/remi/php72/php.d/20-tokenizer.ini,
    /etc/opt/remi/php72/php.d/20-xml.ini,
    /etc/opt/remi/php72/php.d/20-xmlwriter.ini,
    /etc/opt/remi/php72/php.d/20-xsl.ini,
    /etc/opt/remi/php72/php.d/30-mcrypt.ini,
    /etc/opt/remi/php72/php.d/30-mysqli.ini,
    /etc/opt/remi/php72/php.d/30-pdo_dblib.ini,
    /etc/opt/remi/php72/php.d/30-pdo_mysql.ini,
    /etc/opt/remi/php72/php.d/30-pdo_sqlite.ini,
    /etc/opt/remi/php72/php.d/30-wddx.ini,
    /etc/opt/remi/php72/php.d/30-xmlreader.ini,
    /etc/opt/remi/php72/php.d/30-xmlrpc.ini,
    /etc/opt/remi/php72/php.d/40-igbinary.ini,
    /etc/opt/remi/php72/php.d/40-imagick.ini,
    /etc/opt/remi/php72/php.d/40-zip.ini,
    /etc/opt/remi/php72/php.d/50-mysql.ini,
    /etc/opt/remi/php72/php.d/50-redis.ini,
    /etc/opt/remi/php72/php.d/zzz_customphp.ini
    

    Code (Text):
    ./php72.sh phpext
    [PHP Modules]
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    exif
    fileinfo
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    ldap
    libxml
    mbstring
    mcrypt
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_dblib
    pdo_mysql
    pdo_sqlite
    Phar
    pspell
    readline
    redis
    Reflection
    session
    SimpleXML
    snmp
    soap
    sockets
    SPL
    sqlite3
    standard
    tidy
    tokenizer
    wddx
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend OPcache
    zip
    zlib
    
    [Zend Modules]
    Zend OPcache
    

    Code (Text):
    ./php72.sh process
    root       954  0.0  2.2 767560 41628 ?        Ss   11:19   0:00 php-fpm: master process (/etc/opt/remi/php70/php-fpm.conf)
    nginx     2071  0.0  0.5 767560 10780 ?        S    11:19   0:00  \_ php-fpm: pool php70-www
    nginx     2073  0.0  0.5 767560 10780 ?        S    11:19   0:00  \_ php-fpm: pool php70-www
    nginx     2074  0.0  0.5 767560 10780 ?        S    11:19   0:00  \_ php-fpm: pool php70-www
    nginx     2078  0.0  0.5 767560 10776 ?        S    11:19   0:00  \_ php-fpm: pool php70-www
    nginx     2079  0.0  0.5 767560 10780 ?        S    11:19   0:00  \_ php-fpm: pool php70-www
    root       957  0.0  1.7 757504 33620 ?        Ss   11:19   0:00 php-fpm: master process (/opt/remi/php56/root/etc/php-fpm.conf)
    nginx     2062  0.0  0.5 757504 10576 ?        S    11:19   0:00  \_ php-fpm: pool php56-www
    nginx     2063  0.0  0.5 757504 10576 ?        S    11:19   0:00  \_ php-fpm: pool php56-www
    nginx     2065  0.0  0.5 757504 10576 ?        S    11:19   0:00  \_ php-fpm: pool php56-www
    nginx     2070  0.0  0.5 757504 10576 ?        S    11:19   0:00  \_ php-fpm: pool php56-www
    nginx     2072  0.0  0.5 757504 10580 ?        S    11:19   0:00  \_ php-fpm: pool php56-www
    root       959  0.0  2.1 768580 40532 ?        Ss   11:19   0:00 php-fpm: master process (/etc/opt/remi/php71/php-fpm.conf)
    nginx     2054  0.0  0.5 768580 10940 ?        S    11:19   0:00  \_ php-fpm: pool php71-www
    nginx     2057  0.0  0.5 768580 10940 ?        S    11:19   0:00  \_ php-fpm: pool php71-www
    nginx     2058  0.0  0.5 768580 10940 ?        S    11:19   0:00  \_ php-fpm: pool php71-www
    nginx     2066  0.0  0.5 768580 10940 ?        S    11:19   0:00  \_ php-fpm: pool php71-www
    nginx     2067  0.0  0.5 768580 10944 ?        S    11:19   0:00  \_ php-fpm: pool php71-www
    root      2048  0.0  0.5 642156  9444 ?        Ss   11:19   0:00 php-fpm: master process (/usr/local/etc/php-fpm.conf)
    root      2451  0.0  1.4 109284 27020 ?        Ss   11:19   0:00 nginx: master process /usr/local/sbin/nginx -c /usr/local/nginx/conf/nginx.conf
    nginx     2452  0.0  2.7 137956 51812 ?        S<   11:19   0:00  \_ nginx: worker process
    nginx     2454  0.0  2.7 137956 51812 ?        S<   11:19   0:00  \_ nginx: worker process
    nginx     2456  0.0  2.7 137956 51812 ?        S<   11:19   0:00  \_ nginx: worker process
    root      3240  0.0  2.2 745448 42100 ?        Ss   11:23   0:00 php-fpm: master process (/etc/opt/remi/php72/php-fpm.conf)
    nginx     3241  0.0  0.5 745448 11144 ?        S    11:23   0:00  \_ php-fpm: pool php72-www
    nginx     3242  0.0  0.5 745448 11140 ?        S    11:23   0:00  \_ php-fpm: pool php72-www
    nginx     3243  0.0  0.5 745448 11140 ?        S    11:23   0:00  \_ php-fpm: pool php72-www
    nginx     3244  0.0  0.5 745448 11140 ?        S    11:23   0:00  \_ php-fpm: pool php72-www
    nginx     3245  0.0  0.5 745448 11144 ?        S    11:23   0:00  \_ php-fpm: pool php72-www
    
     
  11. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+

    Skipping Centmin Mod PHP-FPM Source Install



    Playing with the ideal to support optionally skipping the Centmin Mod 123.09beta01's PHP-FPM source install routine and just installing multiple PHP-FPM versions via Remi SCL Yum repository for PHP-FPM 5.6, 7.0 and 7.1.

    Normal 123.09beta01 PHP-FPM Source Installed

    This is normal 123.09beta01 install times on HostUS.us Washington OpenVZ 2GB VPS with Intel Xeon E5-1650v3 and 2 cpu cores

    Code (Text):
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 96.8206 seconds
    Total YUM Time: 10.081704877 seconds
    Total YUM or DNF + Source Download Time: 31.6047
    Total Nginx First Time Install Time: 209.1806
    Total PHP First Time Install Time: 449.8508
    Download Zip From Github Time: 1.7492
    Total Time Other eg. source compiles: 284.1823
    Total Centmin Mod Install Time: 974.8184
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 1073.3882 seconds
    ---------------------------------------------------------------------------
    


    Custom 123.09beta01 PHP-FPM Source Skipped + Multi-PHP-FPM Versions

    This is a modified installer for 123.09beta01, which on CentOS 7 only will skip 123.09beta01's PHP-FPM source install routine and just install multi-PHP-FPM versions via Remi SCL Yum repo. Yes not as performant as 123.09beta01's PHP-FPM source install version but initial install time is alot faster. The PHP-FPM install time section was reduced from 449.8508 seconds to 53.1571 seconds = 88.18% faster !

    Code (Text):
    ---------------------------------------------------------------------------
    Total Curl Installer YUM or DNF Time: 125.3189 seconds
    Total YUM Time: 7.641792209 seconds
    Total YUM or DNF + Source Download Time: 24.9379
    Total Nginx First Time Install Time: 214.1150
    Total Multi-PHP-FPM First Time Install Time: 53.1571
    Download Zip From Github Time: 1.4396
    Total Time Other eg. source compiles: 169.1827
    Total Centmin Mod Install Time: 461.3927
    ---------------------------------------------------------------------------
    Total Install Time (curl yum + cm install + zip download): 588.1512 seconds
    ---------------------------------------------------------------------------
    

    Code (Text):
    root      5429  0.0  1.5 651604 33396 ?        Ss   23:04   0:00 php-fpm: master process (/opt/remi/php56/root/etc/php-fpm.conf)
    nginx     5430  0.0  0.4 651604  9872 ?        S    23:04   0:00  \_ php-fpm: pool php56-www
    nginx     5431  0.0  0.4 651604  9872 ?        S    23:04   0:00  \_ php-fpm: pool php56-www
    nginx     5432  0.0  0.4 651604  9872 ?        S    23:04   0:00  \_ php-fpm: pool php56-www
    nginx     5433  0.0  0.4 651604  9876 ?        S    23:04   0:00  \_ php-fpm: pool php56-www
    nginx     5434  0.0  0.4 651604  9876 ?        S    23:04   0:00  \_ php-fpm: pool php56-www
    root      5663  0.0  1.8 661692 39352 ?        Ss   23:04   0:00 php-fpm: master process (/etc/opt/remi/php70/php-fpm.conf)
    nginx     5664  0.0  0.3 661692  8064 ?        S    23:04   0:00  \_ php-fpm: pool php70-www
    nginx     5665  0.0  0.3 661692  8064 ?        S    23:04   0:00  \_ php-fpm: pool php70-www
    nginx     5666  0.0  0.3 661692  8064 ?        S    23:04   0:00  \_ php-fpm: pool php70-www
    nginx     5667  0.0  0.3 661692  8068 ?        S    23:04   0:00  \_ php-fpm: pool php70-www
    nginx     5668  0.0  0.3 661692  8068 ?        S    23:04   0:00  \_ php-fpm: pool php70-www
    root      5905  0.0  1.8 662552 39664 ?        Ss   23:05   0:00 php-fpm: master process (/etc/opt/remi/php71/php-fpm.conf)
    nginx     5906  0.0  0.3 662552  8248 ?        S    23:05   0:00  \_ php-fpm: pool php71-www
    nginx     5907  0.0  0.3 662552  8248 ?        S    23:05   0:00  \_ php-fpm: pool php71-www
    nginx     5908  0.0  0.3 662552  8248 ?        S    23:05   0:00  \_ php-fpm: pool php71-www
    nginx     5909  0.0  0.3 662552  8252 ?        S    23:05   0:00  \_ php-fpm: pool php71-www
    nginx     5910  0.0  0.3 662552  8252 ?        S    23:05   0:00  \_ php-fpm: pool php71-www
    


    Code (Text):
    cat /proc/cpuinfo
    processor       : 0
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 63
    model name      : Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz
    stepping        : 2
    microcode       : 54
    cpu MHz         : 3500.003
    cache size      : 15360 KB
    physical id     : 0
    siblings        : 12
    core id         : 0
    cpu cores       : 6
    apicid          : 0
    initial apicid  : 0
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 15
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf cpuid_faulting pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc
    bogomips        : 7000.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 46 bits physical, 48 bits virtual
    power management:
    
    processor       : 1
    vendor_id       : GenuineIntel
    cpu family      : 6
    model           : 63
    model name      : Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz
    stepping        : 2
    microcode       : 54
    cpu MHz         : 3500.003
    cache size      : 15360 KB
    physical id     : 0
    siblings        : 12
    core id         : 1
    cpu cores       : 6
    apicid          : 2
    initial apicid  : 2
    fpu             : yes
    fpu_exception   : yes
    cpuid level     : 15
    wp              : yes
    flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf cpuid_faulting pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm xsaveopt cqm_llc cqm_occup_llc
    bogomips        : 7000.00
    clflush size    : 64
    cache_alignment : 64
    address sizes   : 46 bits physical, 48 bits virtual
    power management:
    
     
  12. eva2000

    eva2000 Administrator Staff Member

    54,052
    12,176
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,734
    Local Time:
    9:04 AM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Multiple PHP-FPM version testing for PHP 7.3 alpha builds via Remi SCL

    This PHP-FPM 7.3 branch version php73.sh:
    • Currently, following PHP extensions, json-post, mailparse, memcache and memcached aren't available yet in Remi SCL php73 YUM repo
    • CentOS 7 transparent hugepages support is enabled for Zend Opcache if system detected to support it
    • listens on port 11000 instead of 9000 with php-fpm pool named php73-www
    • php-fpm status path = /php73status
    • custom php.ini settings calculated by centmin mod are placed in /etc/opt/remi/php73/php.d/zzz_customphp.ini
    • php config scan directory is at /etc/opt/remi/php73/php.d
    • php-fpm config file at /etc/opt/remi/php73/php-fpm.d/www.conf
    • error log at /var/opt/remi/php73/log/php-fpm/www-error.log
    • centmin mod nginx's php include file is at /usr/local/nginx/conf/php73-remi.conf instead of default at /usr/local/nginx/conf/php.conf which you replace references to in your centmin mod nginx vhost config file
    • fpmconfphp73 is centmin mod command shortcut to invoke nano linux text editor to edit /etc/opt/remi/php73/php-fpm.d/www.conf
    • phpincphp73 is centmin mod command shortcut to invoke nano linux text editor to edit /usr/local/nginx/conf/php73-remi.conf
    • systemctl start php73-php-fpm command to start php73-php-fpm service with command shortcut = fpm73start
    • systemctl restart php73-php-fpm command to restart php73-php-fpm service with command shortcut = fpm73restart
    • systemctl stop php73-php-fpm command to stop php73-php-fpm service with command shortcut = fpm73stop
    • systemctl status php73-php-fpm command to get status for php73-php-fpm service with command shortcut = fpm73status
    Code (Text):
    systemctl status php73-php-fpm
    ● php73-php-fpm.service - The PHP FastCGI Process Manager
       Loaded: loaded (/usr/lib/systemd/system/php73-php-fpm.service; enabled; vendor preset: enabled)
      Drop-In: /etc/systemd/system/php73-php-fpm.service.d
               └─limit.conf
       Active: active (running) since Sat 2018-06-09 04:37:07 UTC; 4min 32s ago
     Main PID: 1949 (php-fpm)
       Status: "Processes active: 0, idle: 5, Requests: 0, slow: 0, Traffic: 0req/sec"
        Tasks: 6 (limit: 4915)
       CGroup: /system.slice/php73-php-fpm.service
               ├─1949 php-fpm: master process (/etc/opt/remi/php73/php-fpm.conf)
               ├─1950 php-fpm: pool php73-www
               ├─1951 php-fpm: pool php73-www
               ├─1952 php-fpm: pool php73-www
               ├─1953 php-fpm: pool php73-www
               └─1954 php-fpm: pool php73-www
    
    Jun 09 04:37:07 centos75-2 systemd[1]: Starting The PHP FastCGI Process Manager...
    Jun 09 04:37:07 centos75-2 systemd[1]: Started The PHP FastCGI Process Manager.
    

    Code (Text):
    php70 -v
    PHP 7.0.30 (cli) (built: Apr 24 2018 20:40:19) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.30, Copyright (c) 1999-2017, by Zend Technologies
    
    php71 -v
    PHP 7.1.19RC1 (cli) (built: Jun  7 2018 10:28:57) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
        with Zend OPcache v7.1.19RC1, Copyright (c) 1999-2018, by Zend Technologies
    
    php72 -v
    PHP 7.2.7RC1 (cli) (built: Jun  6 2018 06:35:32) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
        with Zend OPcache v7.2.7RC1, Copyright (c) 1999-2018, by Zend Technologies
    
    php73 -v
    PHP 7.3.0alpha1 (cli) (built: Jun  6 2018 08:00:17) ( NTS )
    Copyright (c) 1997-2018 The PHP Group
    Zend Engine v3.3.0-dev, Copyright (c) 1998-2018 Zend Technologies
        with Zend OPcache v7.3.0alpha1, Copyright (c) 1999-2018, by Zend Technologies
    

    Code (Text):
    root      1949  0.0  0.2 1140244 34836 ?       Ss   04:37   0:00 php-fpm: master process (/etc/opt/remi/php73/php-fpm.conf)
    nginx     1950  0.0  0.1 1140244 19140 ?       S    04:37   0:00  \_ php-fpm: pool php73-www
    nginx     1951  0.0  0.1 1140244 19140 ?       S    04:37   0:00  \_ php-fpm: pool php73-www
    nginx     1952  0.0  0.1 1140244 19140 ?       S    04:37   0:00  \_ php-fpm: pool php73-www
    nginx     1953  0.0  0.1 1140244 19144 ?       S    04:37   0:00  \_ php-fpm: pool php73-www
    nginx     1954  0.0  0.1 1140244 19144 ?       S    04:37   0:00  \_ php-fpm: pool php73-www
    root      2202  0.0  0.2 1222440 39576 ?       Ss   04:37   0:00 php-fpm: master process (/etc/opt/remi/php72/php-fpm.conf)
    nginx     2203  0.0  0.1 1222440 22116 ?       S    04:37   0:00  \_ php-fpm: pool php72-www
    nginx     2204  0.0  0.1 1222440 22116 ?       S    04:37   0:00  \_ php-fpm: pool php72-www
    nginx     2205  0.0  0.1 1222440 22116 ?       S    04:37   0:00  \_ php-fpm: pool php72-www
    nginx     2206  0.0  0.1 1222440 22116 ?       S    04:37   0:00  \_ php-fpm: pool php72-www
    nginx     2207  0.0  0.1 1222440 22120 ?       S    04:37   0:00  \_ php-fpm: pool php72-www
    root      2450  0.0  0.3 1217236 55756 ?       Ss   04:38   0:00 php-fpm: master process (/etc/opt/remi/php71/php-fpm.conf)
    nginx     2451  0.0  0.1 1217236 21204 ?       S    04:38   0:00  \_ php-fpm: pool php71-www
    nginx     2452  0.0  0.1 1217236 21204 ?       S    04:38   0:00  \_ php-fpm: pool php71-www
    nginx     2453  0.0  0.1 1217236 21204 ?       S    04:38   0:00  \_ php-fpm: pool php71-www
    nginx     2454  0.0  0.1 1217236 21208 ?       S    04:38   0:00  \_ php-fpm: pool php71-www
    nginx     2455  0.0  0.1 1217236 21208 ?       S    04:38   0:00  \_ php-fpm: pool php71-www
    root      2689  0.0  0.3 1216352 55272 ?       Ss   04:38   0:00 php-fpm: master process (/etc/opt/remi/php70/php-fpm.conf)
    nginx     2690  0.0  0.1 1216352 21188 ?       S    04:38   0:00  \_ php-fpm: pool php70-www
    nginx     2691  0.0  0.1 1216352 21188 ?       S    04:38   0:00  \_ php-fpm: pool php70-www
    nginx     2692  0.0  0.1 1216352 21188 ?       S    04:38   0:00  \_ php-fpm: pool php70-www
    nginx     2693  0.0  0.1 1216352 21192 ?       S    04:38   0:00  \_ php-fpm: pool php70-www
    nginx     2694  0.0  0.1 1216352 21512 ?       S    04:38   0:00  \_ php-fpm: pool php70-www
    

    not all extensions available yet for the following Remi YUM packages:
    • php73-php-pecl-geoip
    • php73-php-pecl-igbinary
    • php73-php-pecl-igbinary-devel
    • php73-php-pecl-imagick
    • php73-php-pecl-imagick-devel
    • php73-php-pecl-json-post
    • php73-php-pecl-mailparse
    • php73-php-mcrypt
    • php73-php-pecl-memcache
    • php73-php-pecl-memcached
    • php73-php-pecl-mysql
    • php73-php-pecl-redis
    • php73-php-pecl-zip
    Installed PHP extensions include:
    Code (Text):
    ./php73.sh list
    
    Installed Packages
    php73.x86_64                       1.0-0.1.el7.remi            @remi
    php73-php-bcmath.x86_64            7.3.0~alpha1-1.el7.remi     @remi
    php73-php-devel.x86_64             7.3.0~alpha1-1.el7.remi     @remi
    php73-php-embedded.x86_64          7.3.0~alpha1-1.el7.remi     @remi
    php73-php-enchant.x86_64           7.3.0~alpha1-1.el7.remi     @remi
    php73-php-fpm.x86_64               7.3.0~alpha1-1.el7.remi     @remi
    php73-php-gd.x86_64                7.3.0~alpha1-1.el7.remi     @remi
    php73-php-gmp.x86_64               7.3.0~alpha1-1.el7.remi     @remi
    php73-php-imap.x86_64              7.3.0~alpha1-1.el7.remi     @remi
    php73-php-intl.x86_64              7.3.0~alpha1-1.el7.remi     @remi
    php73-php-ldap.x86_64              7.3.0~alpha1-1.el7.remi     @remi
    php73-php-mbstring.x86_64          7.3.0~alpha1-1.el7.remi     @remi
    php73-php-mysqlnd.x86_64           7.3.0~alpha1-1.el7.remi     @remi
    php73-php-opcache.x86_64           7.3.0~alpha1-1.el7.remi     @remi
    php73-php-pdo-dblib.x86_64         7.3.0~alpha1-1.el7.remi     @remi
    php73-php-pspell.x86_64            7.3.0~alpha1-1.el7.remi     @remi
    php73-php-snmp.x86_64              7.3.0~alpha1-1.el7.remi     @remi
    php73-php-soap.x86_64              7.3.0~alpha1-1.el7.remi     @remi
    php73-php-tidy.x86_64              7.3.0~alpha1-1.el7.remi     @remi
    php73-php-xml.x86_64               7.3.0~alpha1-1.el7.remi     @remi
    php73-php-xmlrpc.x86_64            7.3.0~alpha1-1.el7.remi     @remi
    
     
Thread Status:
Not open for further replies.