Discover Centmin Mod today
Register Now

PHP PHP 7.0.17 is available

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

  1. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    1:34 PM
    Nginx 1.13.x
    MariaDB 5.5
    Continue reading...
     
    Last edited: Mar 17, 2017
    • Informative Informative x 1
  2. RB1

    RB1 Active Member

    266
    70
    28
    Nov 11, 2016
    California
    Ratings:
    +117
    Local Time:
    8:34 PM
    Nginx 1.13.x
    MariaDB 10.1.x
    Total PHP Upgrade Time: 1812.313069281 seconds :(

    Edit: Forgot that having profile guided optimizations will compile PHP twice
     
    Last edited: Mar 17, 2017
    • Like Like x 1
  3. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    1:34 PM
    Nginx 1.13.x
    MariaDB 5.5
  4. eva2000

    eva2000 Administrator Staff Member

    28,957
    6,575
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +9,758
    Local Time:
    1:34 PM
    Nginx 1.13.x
    MariaDB 5.5
    Did PHP updates via centmin.sh menu option 5 and just happened to have persistent config file /etc/centminmod/custom_config.inc set with CLANG_PHP='y' to use clang compiler to compile PHP instead of default GCC compiler

    Code (Text):
    Total PHP Upgrade Time: 293.675684619 seconds
    


    then commented out CLANG_PHP='y' so revert to default GCC compile for 2nd PHP 7.0.17 update test run to test the default GCC compile method for PHP updates via centmin.sh menu option 5

    as expected Clang compiler is faster than GCC compiler for install time though for performance only GCC supports Profile Guided Optimisations for PHP 7

    Code (Text):
    Total PHP Upgrade Time: 370.181811027 seconds
    


    Code (Text):
    php -v
    PHP 7.0.17 (cli) (built: Mar 16 2017 20:45:05) ( NTS )
    Copyright (c) 1997-2017 The PHP Group
    Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
        with Zend OPcache v7.0.17, Copyright (c) 1999-2017, by Zend Technologies
    


    Code (Text):
    --------------------------------------------------------
         Centmin Mod Menu 123.09beta01 centminmod.com    
    --------------------------------------------------------
    1).  Centmin Install
    2).  Add Nginx vhost domain
    3).  NSD setup domain name DNS
    4).  Nginx Upgrade / Downgrade
    5).  PHP Upgrade / Downgrade
    6).  XCache Re-install
    7).  APC Cache Re-install
    8).  XCache Install
    9).  APC Cache Install
    10). Memcached Server Re-install
    11). MariaDB MySQL Upgrade & Management
    12). Zend OpCache Install/Re-install
    13). Install/Reinstall Redis PHP Extension
    14). SELinux disable
    15). Install/Reinstall ImagicK PHP Extension
    16). Change SSHD Port Number
    17). Multi-thread compression: pigz,pbzip2,lbzip2...
    18). Suhosin PHP Extension install
    19). Install FFMPEG and FFMPEG PHP Extension
    20). NSD Install/Re-Install
    21). Update - Nginx + PHP-FPM + Siege
    22). Add Wordpress Nginx vhost + Cache Plugin
    23). Update Centmin Mod Code Base
    24). Exit
    --------------------------------------------------------
    Enter option [ 1 - 24 ] 5
    --------------------------------------------------------
    

    Code (Text):
    Do you want to run YUM install checks ?  [y/n]
    
    This will increase your upgrade duration time wise.
    Check the change log centminmod.com/changelog.html
    to see if any Nginx or PHP related new additions
    which require checking YUM prequisites are met.
    If no new additions made, you can skip the
    YUM install check to speed up upgrade time.
    
     [y/n]: n
    

    Code (Text):
    PHP Upgrade - Would you like to continue? [y/n] y
    ----------------------------------------------------------------
    Install which version of PHP? (version i.e. 5.6.30, 7.0.10, NGDEBUG)
    PHP 7.0.10 is GA Stable but still may have broken PHP extensions.
    NGDEBUG is PHP 7.1.0 minus incompatible PHP extensions
    ----------------------------------------------------------------
    Enter PHP Version number you want to upgrade/downgrade to: 7.0.17
    ----------------------------------------------------------------
    existing php.ini will be backed up at /usr/local/lib/php.ini-oldversion_160317-203316
    -----------------------------------------------------------------------------------------
    Detected PHP 7.0 branch.
    You can compile Zend OPcache (Zend Optimizer Plus+) support
    as an alternative to using APC Cache or Xcache cache.
    But Zend OPcache only provides PHP opcode cache and
    DOESN'T do data caching, so if you web apps such as Wordpress,
    Drupal or vBulletin require data caching to APC or Xcache,
    it won't work with Zend OPcache.
    -----------------------------------------------------------------------------------------
    Do you want to use Zend OPcache [y/n] ? y
    
     
    • Informative Informative x 2