Ferenc Kovacs Continue reading...
Code: php -v PHP 5.6.9 (cli) (built: May 15 2015 09:55:30) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies centmin.sh menu option 5 PHP upgrade in action Code: -------------------------------------------------------- Centmin Mod 1.2.3-eva2000.08 - http://centminmod.com -------------------------------------------------------- Centmin Mod Menu -------------------------------------------------------- 1). Centmin Install 2). Add Nginx vhost domain 3). NSD setup domain name DNS 4). Nginx Upgrade / Downgrade 5). PHP Upgrade / Downgrade 6). XCache Re-install 7). APC Cache Re-install 8). XCache Install 9). APC Cache Install 10). Memcached Server Re-install 11). MariaDB 5.2, 5.5, 10 Upgrade Sub-Menu 12). Zend OpCache Install/Re-install 13). Install ioping.sh vbtechsupport.com/1239/ 14). SELinux disable 15). Install/Re-install ImageMagick PHP Extension 16). Change SSHD Port Number 17). Multi-thread compression: pigz,pbzip2,lbzip2,p7zip etc 18). Suhosin PHP Extension install 19). Install FFMPEG and FFMPEG PHP Extension 20). NSD Re-install 21). Update - Nginx + PHP-FPM + Siege 22). Add Wordpress Nginx vhost + WP Super Cache 23). Exit -------------------------------------------------------- Enter option [ 1 - 23 ] 5 -------------------------------------------------------- Code: 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 PHP Upgrade - Would you like to continue? [y/n] y ---------------------------------------------------------------- Install which version of PHP? (version i.e. 5.4.41, 7.0.0, NGDEBUG) PHP 7.0.0 is experimental in alpha status and may have broken PHP extensions. NGDEBUG is PHP 7.0.0 minus incompatible PHP extensions ---------------------------------------------------------------- Enter PHP Version number you want to upgrade/downgrade to: 5.6.9 ---------------------------------------------------------------- Want to update to latest php-fpm.conf ? (overwrites will auto backup existing php-fpm.conf) existing php.ini will be backed up at /usr/local/lib/php.ini-oldversion_150515-095004 existing php-fpm.conf will be backed up at /usr/local/etc/php-fpm.conf-oldversion_150515-095004 ---------------------------------------------------------------- Update & overwrite your existing php-fpm.conf [y/n]: n ---------------------------------------------------------------- Code: ----------------------------------------------------------------------------------------- Detected PHP 5.6 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 check /root/centminlogs for php_upgrade.log last line gives total PHP upgrade time = 46.87 seconds Code: tail -1 /root/centminlogs/centminmod_1.2.3-eva2000.08_150515-055241_php_upgrade.log Total PHP Upgrade Time: 46.873832795 seconds
Why so slow for me? Code: Total PHP Upgrade Time: 229.799049872 seconds Because Linode has 1GB i/O SSD speed and mine just 280MB i/O?
By the way, I'm doing the upgrade on my new Server, Live server. With I think 5K+ real time visi tors in all sites I have hosted on it. Maybe that matter also?