Example for updating to PHP-FPM 7.2.6 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/Downgrade - Would you like to continue? [y/n] y ---------------------------------------------------------------- Install which version of PHP? (version i.e. 5.6.35, 7.0.26, NGDEBUG) PHP 7.x/7.1.x/7.2.x is GA Stable but still may have broken PHP extensions. NGDEBUG is PHP 7.3.0 dev builds minus incompatible PHP extensions ---------------------------------------------------------------- Enter PHP Version number you want to upgrade/downgrade to: 7.2.6 ---------------------------------------------------------------- Code (Text): ----------------------------------------------------------------------------------------- Detected PHP 7.1 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 your 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 ************************************************* * Zend Optimizer Plus OPcache configured ************************************************* Code (Text): PHP 7+ detected which uses newer mysqlnd or PDO MySQL extensions and removed the legacy mysql extension. You can optionally re-add the removed legacy mysql extension to PHP 7+ by answering yes to next question Only answer yes if you know for sure you have very old web scripts which need mysql legacy extension re-added. Otherwise answer no which is recommended for best stability Re-add legacy mysql extension to PHP 7+ [y/n] ? n Code (Text): php -v PHP 7.2.6 (cli) (built: May 25 2018 13:51:01) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.6, Copyright (c) 1999-2018, by Zend Technologies
also to 7.2.7 Code (Text): # php -v PHP 7.2.7 (cli) (built: Jun 23 2018 13:32:07) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.7, Copyright (c) 1999-2018, by Zend Technologies