Discover Centmin Mod today
Register Now

Featured CentOS 7.x How to help test .08 CentOS 7 Betas with Github code ?

Discussion in 'Beta release code' started by eva2000, Jul 11, 2014.

  1. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    Working on a quick overview info routine to output Centmin Mod LEMP stack's version and configuration info :)

    with auto updating cronjob :)

    Code:
    crontab -l
    */4 * * * * /usr/bin/cminfo_updater
    Code:
    ------------------------------------------------------------------
    Centmin Mod Quick Info:
    ------------------------------------------------------------------
    Processors physical = 2, cores = 8, virtual = 4, hyperthreading = no
    
          4  2493.642
          4  Intel(R) Xeon(R) CPU           L5420  @ 2.50GHz
          4  6144 KB
    
    System Up Since:       2015-03-03 11:53:39
    System Uptime:         up 1 day, 21 hours, 50 minutes
    MySQL Server Started   2015-03-03 11:53:41
    MySQL Uptime:          1 day 21 hours 50 min 36 sec
    MySQL Uptime (secs):   165036
    Server Type:           openvz
    CentOS Version:        7.0
    Centmin Mod:           1.2.3-eva2000.08
    Nginx PageSpeed:       OFF
    Nginx Version:         1.7.10
    PHP-FPM Version:       5.4.38
    MariaDB Version:       10.0.17
    CSF Firewall:          v7.63
    Memcached Server:      1.4.22
    NSD Version:           3.2.18
    Siege Version:         3.0.9
    Maldet Version:        not installed
    ClamAV Version:        not installed
    ElasticSearch:         not installed
    ------------------------------------------------------------------
    
    ------------------------------------------------------------------
    Site Nginx Vhost Accounts:
    ------------------------------------------------------------------
    
    * newdomain.com - /usr/local/nginx/conf/conf.d/newdomain.com.conf
    * newdomain2.com - /usr/local/nginx/conf/conf.d/newdomain2.com.conf
    
    ------------------------------------------------------------------
    MySQL Databases:
    ------------------------------------------------------------------
    
    * db1   [idx: 0.00 MB data: 0.00 MB]
    * db2   [idx: 0.00 MB data: 0.00 MB]
    * mysql [idx: 0.12 MB data: 0.58 MB]
    
    ------------------------------------------------------------------
    System User Ids >81:
    ------------------------------------------------------------------
    
    nobody:x:99:99:Nobody:/:/sbin/nologin
    dbus:x:81:81:System message bus:/:/sbin/nologin
    saslauth:x:999:76:"Saslauthd user":/run/saslauthd:/sbin/nologin
    nginx:x:1000:1001::/home/nginx:/sbin/nologin
    mysql:x:998:997:MySQL server:/var/lib/mysql:/sbin/nologin
    postfix:x:89:89::/var/spool/postfix:/sbin/nologin
    nsd:x:1001:1002::/home/nsd:/sbin/nologin
    td-agent:x:997:995:td-agent:/var/lib/td-agent:/sbin/nologin
    
    ------------------------------------------------------------------
    Pure-FTP Virtual FTP Info:
    ------------------------------------------------------------------
    
    us1                 /home/nginx/domains/newdomain.com/./                     
    us2                 /home/nginx/domains/newdomain2.com/./                     
    
    -------------------------------------
    Virtual FTP user: us1
    
    Login              : us1
    Password           : $1$nneUJaj0$hrfD8G0gCGIK6w0sbUHcD/
    UID                : 1000 (nginx)
    GID                : 1001 (nginx)
    Directory          : /home/nginx/domains/newdomain.com/./
    Full name          :
    Download bandwidth : 0 Kb (unlimited)
    Upload   bandwidth : 0 Kb (unlimited)
    Max files          : 0 (unlimited)
    Max size           : 0 Mb (unlimited)
    Ratio              : 0:0 (unlimited:unlimited)
    Allowed local  IPs :
    Denied  local  IPs :
    Allowed client IPs :
    Denied  client IPs :
    Time restrictions  : 0000-0000 (unlimited)
    Max sim sessions   : 0 (unlimited)
    
    -------------------------------------
    Virtual FTP user: us2
    
    Login              : us2
    Password           : $1$3sKIV9g0$/mqnEiDDUPgaXNIfNeavX.
    UID                : 1000 (nginx)
    GID                : 1001 (nginx)
    Directory          : /home/nginx/domains/newdomain2.com/./
    Full name          :
    Download bandwidth : 0 Kb (unlimited)
    Upload   bandwidth : 0 Kb (unlimited)
    Max files          : 0 (unlimited)
    Max size           : 0 Mb (unlimited)
    Ratio              : 0:0 (unlimited:unlimited)
    Allowed local  IPs :
    Denied  local  IPs :
    Allowed client IPs :
    Denied  client IPs :
    Time restrictions  : 0000-0000 (unlimited)
    Max sim sessions   : 0 (unlimited)
    
    
    
    ------------------------------------------------------------------
    Nginx Configuration:
    ------------------------------------------------------------------
    
    nginx version: nginx/1.7.10
    built by gcc 4.8.2 20140120 (Red Hat 4.8.2-16) (GCC)
    TLS SNI support enabled
    configure arguments: --sbin-path=/usr/local/sbin/nginx --conf-path=/usr/local/nginx/conf/nginx.conf --with-http_ssl_module --with-http_gzip_static_module --with-http_stub_status_module --with-http_sub_module --with-http_addition_module --with-http_image_filter_module --with-http_secure_link_module --with-http_flv_module --with-http_realip_module --with-openssl-opt=enable-tlsext --add-module=../ngx-fancyindex-ngx-fancyindex --add-module=../ngx_cache_purge-2.3 --add-module=../headers-more-nginx-module-0.25 --add-module=../nginx-accesskey-2.0.3 --add-module=../nginx-http-concat-master --with-http_dav_module --add-module=../nginx-dav-ext-module-0.0.3 --add-module=../openresty-memc-nginx-module-1518da4 --add-module=../openresty-srcache-nginx-module-ffa9ab7 --add-module=../nginx-sticky-module-1.2.5 --add-module=../nginx_upstream_check_module-0.3.0 --with-openssl=../openssl-1.0.2 --with-libatomic --with-pcre=../pcre-8.36 --with-pcre-jit --with-http_spdy_module --add-module=../ngx_pagespeed-release-1.9.32.3-beta
    
    ------------------------------------------------------------------
    Nginx Settings:
    ------------------------------------------------------------------
    
    user              nginx nginx;
    worker_processes 2;
    worker_priority -10;
    worker_rlimit_nofile 260000;
    timer_resolution 100ms;
    pcre_jit on;
            tcp_nopush  on;
            tcp_nodelay on;
            server_tokens off;
            keepalive_timeout  8;
            keepalive_requests 1000;
            lingering_time 20s;
            lingering_timeout 5s;
            keepalive_disable msie6;
            gzip on;
            gzip_vary   on;
            gzip_disable "MSIE [1-6]\.";
            gzip_static on;
            gzip_min_length   1400;
            gzip_buffers      32 8k;
            gzip_http_version 1.0;
            gzip_comp_level 5;
            gzip_proxied    any;
            gzip_types text/plain text/css text/xml application/javascript application/x-javascript application/xml application/xml+rss application/ecmascript application/json image/svg+xml;
    client_body_buffer_size 256k;
    client_body_in_file_only off;
    client_body_timeout 60s;
    client_header_buffer_size 64k;
    client_header_timeout  10s;
    client_max_body_size 10m;
    connection_pool_size  512;
    directio  4m;
    large_client_header_buffers 8 64k;
    types_hash_max_size 2048;
    server_names_hash_bucket_size 64;
    open_file_cache max=50000 inactive=60s;
    open_file_cache_valid 120s;
    open_file_cache_min_uses 2;
    open_file_cache_errors off;
    open_log_file_cache max=10000 inactive=30s min_uses=2;
    
    ------------------------------------------------------------------
    PHP-FPM Configuration:
    ------------------------------------------------------------------
    
    Configure Command =>  '../configure'  '--enable-fpm' '--enable-intl' '--enable-pcntl' '--with-mcrypt' '--with-snmp' '--with-mhash' '--with-zlib' '--with-gettext' '--enable-exif' '--enable-zip' '--with-bz2' '--enable-soap' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-shmop' '--with-pear' '--enable-mbstring' '--with-openssl' '--with-mysql=mysqlnd' '--with-libdir=lib64' '--with-mysqli=mysqlnd' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-curl' '--with-gd' '--with-xmlrpc' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--with-freetype-dir=/usr' '--with-jpeg-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--with-vpx-dir=/usr' '--with-t1lib=/usr' '--enable-pdo' '--with-pdo-sqlite' '--with-pdo-mysql=mysqlnd' '--enable-inline-optimization' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--with-readline' '--with-libedit' '--with-gmp' '--with-pspell' '--with-tidy' '--with-enchant' '--with-fpm-user=nginx' '--with-fpm-group=nginx' '--disable-fileinfo' '--with-config-file-scan-dir=/etc/centminmod/php.d'
    
    ------------------------------------------------------------------
    PHP-FPM Settings /usr/local/etc/php-fpm.conf:
    ------------------------------------------------------------------
    
    log_level = warning
    pid = /var/run/php-fpm/php-fpm.pid
    error_log = /var/log/php-fpm/www-error.log
    user = nginx
    group = nginx
    listen = 127.0.0.1:9000
    listen.allowed_clients = 127.0.0.1
    pm = ondemand
    pm.max_children = 4
    pm.start_servers = 1
    pm.min_spare_servers = 1
    pm.max_spare_servers = 3
    pm.max_requests = 500
    pm.process_idle_timeout = 10s;
    rlimit_files = 65536
    rlimit_core = 0
    slowlog = /var/log/php-fpm/www-slow.log
    pm.status_path = /phpstatus
    ping.path = /phpping
    ping.response = pong
    php_admin_value[error_log] = /var/log/php-fpm/www-php.error.log
    php_admin_value[disable_functions] = shell_exec
    
    ------------------------------------------------------------------
    PHP-FPM Extensions Loaded:
    ------------------------------------------------------------------
    
    [PHP Modules]
    apc
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    enchant
    ereg
    exif
    filter
    ftp
    gd
    gettext
    gmp
    hash
    iconv
    igbinary
    imagick
    imap
    intl
    json
    libxml
    mbstring
    mcrypt
    memcache
    memcached
    mhash
    mysql
    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
    zip
    zlib
    
    [Zend Modules]
    

     
    Last edited: Mar 5, 2015
    • Like Like x 3
  2. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
  3. Bubka3

    Bubka3 New Member

    17
    5
    3
    Jun 1, 2014
    New York, NY
    Ratings:
    +5
    Local Time:
    12:10 PM
    1.7.1
    5.5.37
    So what exactly is the state of Centminmod and CentOS 7? There's a lot of information here and it's very confusing to all soak in at once.
     
  4. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah alot of info here.. currently thanks to @jeffwidman's and @Steve Tozer and other members' feedback, support and testing on CentOS 7 to nail the OpenVZ + CentOS 7 issues, it seems Centmin Mod .08 beta works across all non-virtualised and KVM/XEN/OpenVZ virtualisation platforms :)

    So currently seems to all work, however it's still work in progress so would appreciate more folks testing CentOS 7 + .08 beta via instructions in 1st post of this thread. Feedback and bug reports allow me to make .08 much more closer to a stable release :D

    Easy to test CentOS 7 with DigitalOcean - DigitalOcean - Centmin Mod Nginx LNMP install on CentOS 7.0 KVM VPS | Centmin Mod Community
     
    Last edited: Mar 7, 2015
    • Like Like x 1
  5. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    March 8th, 2015 committed updates to .08 beta to tighten default MariaDB MySQL and PHP-FPM security. These PHP-FPM settings in particular need testing for common PHP web apps usage so any feedback and testing is appreciated :)

    Code:
    tighten MariaDB MySQL and PHP-FPM security for .08 beta
    open_basedir http://php.net/manual/en/ini.core.php#ini.open-basedir at Nginx vhost level
    local-infile http://dev.mysql.com/doc/refman/5.6/en/load-data-local.html
    disable_functions http://centminmod.com/getstarted.html#14
     
    • Informative Informative x 1
  6. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
  7. RoldanLT

    RoldanLT Well-Known Member

    3,930
    960
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,311
    Local Time:
    1:10 AM
    1.11
    10.2
    I just applied this on my Live Server :)
     
    • Like Like x 1
  8. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    great let me know how it goes

    More updates committed by adding PHPDEBUGMODE variable to centmin.sh to allow PHP to support recompiling with --enable-debug support. --enable-debug is needed for generating gdb backtraces for troubleshooting PHP segfaults etc. See PHP :: Generating a gdb backtrace
     
  9. Andy

    Andy Active Member

    329
    47
    28
    Aug 6, 2014
    Ratings:
    +56
    Local Time:
    12:10 PM
    any update with the one click update of the script from centmin menu?
     
  10. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    no updates yet, just a matter of running these commands outlined in 1st post for .08 beta upgrades to zip file or putting them in shell script
    Code:
    #!/bin/bash
    branchname=123.08centos7beta01
    rm -rf /usr/local/src/${branchname}.zip
    rm -rf /usr/local/src/centminmod-${branchname}
    wget -O /usr/local/src/${branchname}.zip https://github.com/centminmod/centminmod/archive/${branchname}.zip
    cd /usr/local/src
    unzip ${branchname}.zip
    cd centminmod-${branchname}
    chmod +x centmin.sh
    or use git command line method Upgrade - Working with git command line for updating Centmin Mod local copies | Centmin Mod Community

    edit: LOL totally forgot about .08 beta having a new tools folder with cmupdate.sh script see centminmod/cmupdate.sh at 123.08centos7beta01 · centminmod/centminmod · GitHub (was added on Dec 27th 2014 heh)
     
    Last edited: Mar 9, 2015
  11. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    testing out new .08 beta PHP upgrade routine now allows for PHP version 7.0.0 input as well as a NGDEBUG version input. 7.0.0 version input at PHP upgrade prompted version, lets you compile normally even with incompatible PHP 7 extensions which will give errors (see example below of PHP Startup: Unable to load dynamic library errors). NGDEBUG version input at PHP version prompt, will remove all known incompatible PHP 7 extensions so there are no errors.

    both 7.0.0 or NGDEBUG will successfully compile PHP 7.0.0 though just you will need to manually remove incompatible PHP 7 extensions' *.ini files if you select 7.0.0. NGDEBUG auto removes those .ini files already.

    manual removal includes
    Code:
    rm -rf /etc/centminmod/php.d/geoip.ini
    rm -rf /etc/centminmod/php.d/igbinary.ini
    rm -rf /etc/centminmod/php.d/imagick.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    rm -rf /etc/centminmod/php.d/memcached.ini
    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). Exit
    --------------------------------------------------------
    Enter option [ 1 - 22 ] 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.38, 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: 7.0.0
    ----------------------------------------------------------------
    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_090315-115606
    existing php-fpm.conf will be backed up at /usr/local/etc/php-fpm.conf-oldversion_090315-115606
    ----------------------------------------------------------------
    Update & overwrite your existing php-fpm.conf [y/n]: y
    ----------------------------------------------------------------
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/igbinary.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/igbinary.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
    PHP Warning:  PHP Startup: memcache: Unable to initialize module
    Module compiled with module API=20100525
    PHP    compiled with module API=20141001
    These options need to match
    in Unknown on line 0
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/memcached.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/memcached.so: undefined symbol: zval_used_for_init in Unknown on line 0
    Downloading PHP 7.0 from https://git.php.net/repository/php-src.git
    Cloning into 'php-7.0.0'...
    
    on completion of upgrade input PHP version = 7.0.0 which has broken incompatible PHP7 extensions and example of auto backup which has been in place for ages but you folks may not have noticed it :)
    Code:
    Backing up existing php-fpm.conf at /usr/local/etc/php-fpm.conf-oldversion_090315-115606
    If you have made an custom changes to /usr/local/etc/php-fpm.conf, you will find
    they still exist in backup at /usr/local/etc/php-fpm.conf-oldversion_090315-115606
    -rw-r--r-- 1 root root 2.0K Mar  9 10:57 php-fpm.conf-oldversion_090315-104806
    -rw-r--r-- 1 root root 2.0K Mar  9 10:57 php-fpm.conf
    -rw-r--r-- 1 root root 4.4K Mar  9 12:02 php-fpm.conf.default
    -rw-r--r-- 1 root root 2.0K Mar  9 12:02 php-fpm.conf-oldversion_090315-115606
    
    Backing up existing php.conf at /usr/local/nginx/conf/php.conf-oldversion_090315-115606
    If you have made an custom changes to /usr/local/nginx/conf/php.conf, you will find
    they still exist in backup at /usr/local/nginx/conf/php.conf-oldversion_090315-115606
    -rw-r--r-- 1 root root 2.5K Mar  9 10:57 php.conf-oldversion_090315-104806
    -rw-r--r-- 1 root root 2.4K Mar  9 10:57 php.conf
    -rw-r--r-- 1 root root 2.4K Mar  9 12:02 php.conf-oldversion_090315-115606
    
    example of PHP Warning: PHP Startup: Unable to load dynamic library for incompatible PHP 7 extensions which require manual removal of their respective *.ini files if you choose PHP version 7.0.0 at upgrade time.
    Code:
    service php-fpm restart
    Gracefully shutting down php-fpm  done
    Starting php-fpm [09-Mar-2015 12:02:58] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/apc.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/apc.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [09-Mar-2015 12:02:58] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/igbinary.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/igbinary.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [09-Mar-2015 12:02:58] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20141001/imagick.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20141001/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
    [09-Mar-2015 12:02:58] NOTICE: PHP message: PHP Warning:  PHP Startup: memcache: Unable to initialize module
    Module compiled with module API=20100525
    PHP    compiled with module API=20141001
    These options need to match
    in Unknown on line 0
    [09-Mar-2015 12:02:58] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/memcached.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/memcached.so: undefined symbol: zval_used_for_init in Unknown on line 0
    done
    *************************************************
    
    Mon Mar  9 12:02:18 UTC 2015
    Success: PHP was installed properly
    
    *************************************************
    ***************************************************
    * PHP upgraded and auto reinstalled PHP extensions
    ***************************************************
    manual removal of incompatible PHP 7 extension *.ini files
    Code:
    rm -rf /etc/centminmod/php.d/geoip.ini
    rm -rf /etc/centminmod/php.d/igbinary.ini
    rm -rf /etc/centminmod/php.d/imagick.ini
    rm -rf /etc/centminmod/php.d/memcache.ini
    rm -rf /etc/centminmod/php.d/memcached.ini
    and you have PHP 7.0.0 for testing :)
    Code:
    php -v
    PHP 7.0.0-dev (cli) (built: Mar  9 2015 12:01:31)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
    forgot to re-add detection for Zend Opcache for PHP 7.0.0 and NGDEBUG version inputs on centmin.sh menu option 5 for PHP upgrades :)

    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.38, 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: 7.0.0
    ----------------------------------------------------------------
    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_090315-122200
    existing php-fpm.conf will be backed up at /usr/local/etc/php-fpm.conf-oldversion_090315-122200
    ----------------------------------------------------------------
    Update & overwrite your existing php-fpm.conf [y/n]: y
    ----------------------------------------------------------------
    Downloading PHP 7.0 from https://git.php.net/repository/php-src.git
    Cloning into 'php-7.0.0'...
    Download PHP 7.0 completed
    
    Creating tar archive
    
    -----------------------------------------------------------------------------------------
    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] ? 
    Code:
     php -v
    PHP 7.0.0-dev (cli) (built: Mar  9 2015 12:28:03)
    Copyright (c) 1997-2015 The PHP Group
    Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
        with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies
    Code:
    php --ri 'zend opcache'
    
    Zend OPcache
    
    Opcode Caching => Disabled
    Optimization => Disabled
    Startup Failed => Opcode Caching is disabled for CLI
    
    Directive => Local Value => Master Value
    opcache.enable => On => On
    opcache.use_cwd => On => On
    opcache.validate_timestamps => On => On
    opcache.inherited_hack => On => On
    opcache.dups_fix => Off => Off
    opcache.revalidate_path => Off => Off
    opcache.log_verbosity_level => 1 => 1
    opcache.memory_consumption => 64 => 64
    opcache.interned_strings_buffer => 8 => 8
    opcache.max_accelerated_files => 8000 => 8000
    opcache.max_wasted_percentage => 5 => 5
    opcache.consistency_checks => 0 => 0
    opcache.force_restart_timeout => 180 => 180
    opcache.revalidate_freq => 180 => 180
    opcache.file_update_protection => 2 => 2
    opcache.preferred_memory_model => no value => no value
    opcache.blacklist_filename => no value => no value
    opcache.max_file_size => 0 => 0
    opcache.protect_memory => 0 => 0
    opcache.save_comments => 1 => 1
    opcache.load_comments => 1 => 1
    opcache.fast_shutdown => 1 => 1
    opcache.optimization_level => 0xFFFFFFFF => 0xFFFFFFFF
    opcache.enable_file_override => On => On
    opcache.enable_cli => Off => Off
    opcache.error_log => no value => no value
    opcache.restrict_api => no value => no value
     
    Last edited: Mar 9, 2015
  12. RoldanLT

    RoldanLT Well-Known Member

    3,930
    960
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,311
    Local Time:
    1:10 AM
    1.11
    10.2
    By the way EWWW Image Optimizer wordpress plugin requires EXEC.
     
    • Like Like x 1
  13. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    thanks for that knew there's reason i let exec out in the first place heh.. now what to do about it heh
     
  14. RoldanLT

    RoldanLT Well-Known Member

    3,930
    960
    113
    May 25, 2014
    Phillipines
    Ratings:
    +1,311
    Local Time:
    1:10 AM
    1.11
    10.2
    I just removed exec on disabled function :).
     
  15. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    yeah i removed it from .08 betas again.. can't make up my mind heh
     
    • Like Like x 1
  16. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    Updated .08 beta's addons/maldet.sh at centminmod/maldet.sh at 123.08centos7beta01 · centminmod/centminmod · GitHub

    You can see the full revision changes at History for addons/maldet.sh - centminmod/centminmod · GitHub

    if you already installed maldet via addons/maldet.sh outlined here, you can just update the daily cron with the changes i made by typing the following commands in SSH

    to scan /boot, /etc and /usr directories too
    Code:
    echo "" >> /etc/cron.daily/maldet
    echo "# extend maldet scans to other areas" >> /etc/cron.daily/maldet
    echo "/usr/local/maldetect/maldet -b -r /boot 2 >> /dev/null 2>&1" >> /etc/cron.daily/maldet
    echo "/usr/local/maldetect/maldet -b -r /etc 2 >> /dev/null 2>&1" >> /etc/cron.daily/maldet
    echo "/usr/local/maldetect/maldet -b -r /usr 2 >> /dev/null 2>&1" >> /etc/cron.daily/maldet
    example manual scan of /usr as well

    Code:
    time maldet -r /usr
    Linux Malware Detect v1.4.2
                (C) 2002-2013, R-fx Networks <proj@r-fx.org>
                (C) 2013, Ryan MacDonald <ryan@r-fx.org>
    inotifywait (C) 2007, Rohan McGovern <rohan@mcgovern.id.au>
    This program may be freely redistributed under the terms of the GNU GPL v2
    
    maldet(19802): {scan} signatures loaded: 10727 (8823 MD5 / 1904 HEX)
    maldet(19802): {scan} building file list for /usr of new/modified files from last 7 days, this might take awhile...
    maldet(19802): {scan} file list completed, found 1590 files...
    maldet(19802): {scan} found ClamAV clamscan binary, using as scanner engine...
    maldet(19802): {scan} scan of /usr (1590 files) in progress...
    
    maldet(19802): {scan} scan completed on /usr: files 1590, malware hits 0, cleaned hits 0
    maldet(19802): {scan} scan report saved, to view run: maldet --report 030915-1640.19802
    
    real    0m12.596s
    user    0m10.920s
    sys     0m1.423s
     
  17. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
  18. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    Last edited: Mar 10, 2015
    • Like Like x 1
  19. Steve Tozer

    Steve Tozer Member

    70
    42
    18
    Jul 28, 2014
    South Wales, UK
    Ratings:
    +49
    Local Time:
    5:10 PM
    1.91
    10.0.19
    Just installed the beta on a VPS, no issues found at all so far (y)
    All seems pretty stable :sneaky:
     
    • Like Like x 1
  20. eva2000

    eva2000 Administrator Staff Member

    30,546
    6,849
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,262
    Local Time:
    3:10 AM
    Nginx 1.13.x
    MariaDB 5.5
    • Like Like x 2