Any explanations for me to read? :) official Redis documentation ;)
All went OK (I think). Code: [root@tvor-ocean ~]# rm -rf /etc/centminmod/php.d/igbinary.ini [root@tvor-ocean ~]# rm -rf /etc/centminmod/php.d/memcache.ini [root@tvor-ocean ~]# rm -rf /etc/centminmod/php.d/mongodb.ini [root@tvor-ocean ~]# rm -rf /etc/centminmod/php.d/suhosin.ini [root@tvor-ocean ~]# fpmrestart Gracefully shutting down php-fpm . done Starting php-fpm done [root@tvor-ocean ~]# php -v PHP 7.0.1 (cli) (built: Dec 17 2015 20:19:41) ( NTS ) Copyright (c) 1997-2015 The PHP Group Zend Engine v3.0.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies [root@tvor-ocean ~]# php --ri redis redis Redis Support => enabled Redis Version => 2.2.5 [root@tvor-ocean ~]# php -m [PHP Modules] bcmath bz2 calendar Core ctype curl date dom enchant exif filter ftp gd geoip gettext gmp hash iconv imagick imap intl json libxml mbstring mcrypt memcached mysqli mysqlnd openssl pcntl pcre PDO pdo_mysql pdo_sqlite Phar posix pspell readline redis Reflection session shmop SimpleXML snmp soap sockets SPL sqlite3 ssh2 standard sysvmsg sysvsem sysvshm tidy tokenizer xml xmlreader xmlrpc xmlwriter Zend OPcache zip zlib [Zend Modules] Zend OPcache
I'm afraid to use any beta software on real time very active xenforo website But i think i will go to beta, i can't stand
using the beta on this forum and centminmod.com cluster too but for the purposes of ironing out those bugs for stable release
I manage heavy traffic sites also, and beta branch is always fine . Here's I always do: Always use the Stable Branch/Version on initial install of VPS/Dedicated server . Then just use the beta branch to update PHP/NGINX.
@eva2000 I'm using 123.08stable as you know and if i want to switch the 123.09beta can i switch without any problem and it will be save the my custom nginx-phpfpm configurations, csf configurations and everything etc ? When i look the centmin mod core upgrade, should i enter the branch name to "123.09beta01" ? Because i see different 09beta01-gcc or 123.09beta01le versions too. Also, i want to keep php 7.0.1 installation so i will go edit the centmin.sh for php version variable too ? Thanks
for 123.09 betas better to ask in thread at Beta Branch - Centmin Mod .09 beta branch Testing | Centmin Mod Community but yes enter 123.09beta01 as the branch to switch to, other ones are experimental branches 123.09beta01le for letsencrypt support and 123.09beta01-gcc is for ngx_pagespeed 1.10 support Generally upgrade branches as outlined at centminmod.com/upgrade.html will keep your nginx, csf configurations etc but override any centmin.sh settings you set UNLESS you use persistent config file outlined at centminmod.com/upgrade.html#persistent If you want to customise the centmin.sh options, you can override and keep persistent config changes which remain after Centmin Mod code changes/updates at ${CONFIGSCANBASE}/custom_config.inc which defaults to /etc/centminmod/custom_config.inc as outlined at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS and CentOS 7.x - How to help test .08 CentOS 7 Betas with Github code ? supports 2 locations for custom_config.inc inc/custom_config.inc where centmin.sh base directory resides at ${CONFIGSCANBASE}/custom_config.inc which defaults to /etc/centminmod/custom_config.inc to override centmin.sh settings and allow them to persist on centmin mod code updates, create a custom_config.inc at one of the 2 locations mentioned above and add the centmin.sh option to the custom_config.inc file i.e. to set PHP 5.6.16 + Zend Opcache as default place in manually created file at /etc/centminmod/custom_config.inc the following variables which are in centmin.sh to override centmin.sh ones Code: PHP_VERSION='5.6.16' ZOPCACHEDFT='y' Upgrading Centmin Mod Code to Latest Version Upgrading Centmin Mod involves 2 parts. Upgrading the actual Centmin Mod code outlined at Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS This is heart of Centmin Mod where the code is the engine that runs centmin.sh shell based menu and all the automation you're accustomed to. Upgrade software that Centmin Mod installed or manages. For this part following outline at Upgrade - How to upgrade Centmin Mod | Centmin Mod Community So essentially, you can upgrade from .07 to .08 in place, but not everything is upgraded as some things like server initial environment setup isn't changed i.e. how swap, tmp setup and allocation are created etc. The main parts from part 2 above are what in place upgrades do i.e. Nginx and PHP-FPM compilation and config/settings parameters and MariaDB version from 5.5 to 10.0.x. If you want the full environment changed including tmp and swap setup to .08's configuration, then you would need a fresh OS install and fresh .08 initial install. You can think of it like upgrading Windows 7 to Windows 8. An in place upgrade will upgrade code but won't change your computer environment from when you installed Windows 7 i.e. disk configuration and partition sizes won't change from when you initially installed Windows 7. Only way to change that would be fresh Windows 8 install.
And i have upgraded the mariadb 10.0.23 and nginx 1.9.9 so should i add the mariadb version to custom_config.inc too ? I don't want to lose nginx,phpfpm,mysql-mariadb,php,csf,cron configurations. So, if i enter the PHP_VERSION='7.0.1' to custom_config.inc file, everything will be fine for me ? Btw: I'm not sure the php 7.0.1 supports the redis.. So, I can use php 7.0.0 too.
well technically PHP doesn't need a value added as everytime you run centmin.sh menu option 5, you get prompted for php version you want to upgrade. Updating centmin mod code, won't change installed php version until you run centmin.sh menu option 5. As to mariadb, it's yum installed so you have no control over 10.0.xx minor upgrade versions used see Third Party YUM Repos with Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS and upgrade notes on MariaDB MySQL - CentminMod.com LEMP Nginx web stack for CentOS regarding MariaDB 10 MySQL section As to redis support, is this for Xenforo redis cache addon by @Xon ? if so, then phpredis extension is optional as the redis cache addon can work without phpredis extension see PHP - Php 7.0 Final | Page 7 | Centmin Mod Community it falls back to Credis library if phpredis doesn't exist. But just using Centmin Mod 123.09beta01 has phpredis support for PHP 7 Best advice is to setup a test VPS and try test upgrades of Centmin Mod and see what is retained and what isn't when you just do upgrades of Centmin Mod code only, without running centmin.sh menu options to upgrade php and nginx.
Yes, i need to use redis for xenforo redis cache server plugin by Xon as you told. But i don't understand exactly if i go upgrade to php 7.0.1 so what can i do for use redis with all performance options ? Thanks @eva2000