yeah you can switch between branches if you want :)
well it's essentially same as centmin.sh menu option 23 sub menu option 3 Upgrade Centmin Mod - CentminMod.com LEMP Nginx web stack for CentOS for switching branches
How do I found out which version of centminmod I installed via Menu Option #1 ? I installed Centmin Menu #1 - then upgraded PHP - Menu #5 to 7.0.0RC6 Ran:
when you run centmin.sh it shows .08 or .09 at top problem is segfault in php Code: Starting php-fpm /etc/init.d/php-fpm: line 74: 26709 Segmentation fault $php_fpm_BIN $php_opts failed so you need to debug and trace/profile php to see what php web app/script and/or php extension is triggering segfaults.. do you have any other php extensions enabled/installed besides default centmin mod ones ? also keep an eye on php 7.0.0 bug reports PHP :: Bugs :: Search this one looks close PHP :: Bug #70818 :: Segmentation fault $php_fpm_BIN --daemonize $php_opts
try commenting out in /etc/centminmod/php.d/zendopcache.ini the zend_extension line with semi-colon and restarting php-fpm Code: ;zend_extension=opcache.so ;opcache.error_log=/var/log/php_opcache_error.log opcache.enable=1 opcache.memory_consumption=256 opcache.interned_strings_buffer=8 opcache.max_wasted_percentage=5 opcache.max_accelerated_files=16000 ; http://php.net/manual/en/opcache.configuration.php#ini.opcache.revalidate-freq ; defaults to zend opcache checking every 180 seconds for PHP file changes ; set to zero to check every second if you are doing alot of frequent ; php file edits/developer work ; opcache.revalidate_freq=0 opcache.revalidate_freq=180 opcache.fast_shutdown=1 opcache.enable_cli=0 opcache.save_comments=1 opcache.enable_file_override=1 opcache.validate_timestamps=1 Then re-run previous 2 commands Code: php --ini php -m
Just tested CentOS 7.1 64bit with PHP 7.0.0RC6 update no probs myself Code: php -v PHP 7.0.0RC6 (cli) (built: Nov 6 2015 05:47:06) ( NTS ) Copyright (c) 1997-2015 The PHP Group Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies Code: php --ini Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: /usr/local/lib/php.ini Scan for additional .ini files in: /etc/centminmod/php.d Additional .ini files parsed: /etc/centminmod/php.d/a_customphp.ini, /etc/centminmod/php.d/curlcainfo.ini, /etc/centminmod/php.d/geoip.ini, /etc/centminmod/php.d/imagick.ini, /etc/centminmod/php.d/memcached.ini, /etc/centminmod/php.d/zendopcache.ini Code: 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 Reflection session shmop SimpleXML snmp soap sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer xml xmlreader xmlrpc xmlwriter Zend OPcache zip zlib [Zend Modules] Zend OPcache
If it works with zend opcache commented out, then for some reason it's causing segfaults for your system. Have you tried on other VPS/web host servers ?
interesting, here's on CentOS 6.7 64bit Code: nprestart nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful Stopping nginx: [ OK ] Starting nginx: [ OK ] Gracefully shutting down php-fpm done Starting php-fpm done php -v PHP 7.0.0RC6 (cli) (built: Nov 6 2015 07:18:27) ( NTS ) Copyright (c) 1997-2015 The PHP Group Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies cat /etc/redhat-release CentOS release 6.7 (Final) Code: php --ini Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: /usr/local/lib/php.ini Scan for additional .ini files in: /etc/centminmod/php.d Additional .ini files parsed: /etc/centminmod/php.d/a_customphp.ini, /etc/centminmod/php.d/curlcainfo.ini, /etc/centminmod/php.d/geoip.ini, /etc/centminmod/php.d/imagick.ini, /etc/centminmod/php.d/memcached.ini, /etc/centminmod/php.d/zendopcache.ini Code: 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 Reflection session shmop SimpleXML snmp soap sockets SPL sqlite3 standard sysvmsg sysvsem sysvshm tidy tokenizer xml xmlreader xmlrpc xmlwriter Zend OPcache zip zlib [Zend Modules] Zend OPcache
Ramnode, DO, Virtualbox and theskyspace TheSkySpace - Very fast OpenVZ & Xen VPS hosting - theskyspace.com | Centmin Mod Community