Join the community today
Become a Member

Upgrade PHP-FPM Centmin Mod .09 beta branch Testing

Discussion in 'Beta release code' started by eva2000, Aug 12, 2015.

Tags:
  1. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x

    OpenSSL Security Updates



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds for nginx build openssl to 1.0.2h version which has security fixes. You'll need to update Centmin Mod code on your server via centmin.sh menu option 23 submenu option 2 and then run centmin.sh menu option 4 to recompile Nginx to use updated openssl 1.0.2h. Full instructions outlined at Security - OpenSSL 1.0.h & Updating Centmin Mod Nginx SSL Support | Centmin Mod Community

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
  2. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x

    Update for LibreSSL downloads and LibreSSL 2.3.4



    Updated both Centmin Mod 123.08stable and 123.09beta01 builds to update LibreSSL version to 2.3.4 as well as update the LibreSSL download url mirror as the old defined mirror is down. Without updating your Centmin Mod branch version to latest code, Nginx upgrade, downgrade and recompiles via centmin.sh menu option 4 will fail to properly install and compile Nginx.

    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
  3. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  4. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  5. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  6. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  7. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x

    Centmin Mod Nginx Module/Lua Module Updates for Centmin Mod 123.09beta01



    Updated Centmin Mod 123.09beta01 builds - alot of nginx module/lua module updates for compile fixes Nginx - Install Error | Centmin Mod Community

    commits
    To update your Centmin Mod builds follow instructions at centminmod.com/upgrade.html and respective version threads below:
     
    • Like Like x 2
  8. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    Looking to get a release candidate version out for 123.09rc1 soon, so before that happens if folks have time, they can on test VPS try the latest 123.09beta01 installs as per 1st post instructions Beta Branch - Centmin Mod .09 beta branch Testing | Centmin Mod Community and try the centmin.sh menu and addons out on a test VPS and report any bugs and suggestions here in this thread :)

    after 123.09rc1, it maybe 123.09rc2 or 123.09stable :)
     
    • Like Like x 1
    • Winner Winner x 1
    • Useful Useful x 1
  9. pamamolf

    pamamolf Premium Member Premium Member

    3,581
    345
    83
    May 31, 2014
    Ratings:
    +667
    Local Time:
    5:01 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    No issues for me with latest version using the menu installation :)

    I only have an issue on all installations with phpmyadmin when i use cloudflare and the orange cloud that means traffic will go through cloudflare then it doesn't work and i have already set there an A record for server.mydomain.com ....(when i disable the orange cloud it works)

    I do it now using my host file :)

    Other than that all are ok for me :)
     
    • Informative Informative x 1
  10. Jimmy

    Jimmy Well-Known Member

    1,646
    353
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +885
    Local Time:
    10:01 PM
    1.17.x
    MariaDB 10.3.x
    I'm installing another clean test on my VM - centos7 using the new php 7.0.6+ default installer. Below is anything which threw an error on the install.
    Code:
    curl -O https://centminmod.com/betainstaller7.sh && chmod 0700 betainstaller7.sh && bash betainstaller7.sh
    The install got as far as "Check for ImageMagicK System Updates (YUM)" and just hangs. Tried this twice and hung both times.

    Some of the stuff below might not be anything, but I figured I'd post them regardless.

    Code:
    --> Processing Dependency: perl(Error) for package: git-1.8.3.1-6.el7_2.1.x86_64
    
    Code:
    (2/29): bash-completion-2.1-6.el7.noarch.rpm                                      |  85 kB  00:00:00
    warning: /var/cache/yum/x86_64/7/epel/packages/aria2-1.18.10-2.el7.1.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
    Public key for aria2-1.18.10-2.el7.1.x86_64.rpm is not installed
    
    Code:
            ___              _          _  _   _   _         _
           |_ _| _ __   ___ | |_  __ _ | || | | \ | |  __ _ (_) _ __  __  __
            | | | '_ \ / __|| __|/ _` || || | |  \| | / _` || || '_ \ \ \/ /
            | | | | | |\__ \| |_| (_| || || | | |\  || (_| || || | | | >  <
           |___||_| |_||___/ \__|\__,_||_||_| |_| \_| \__, ||_||_| |_|/_/\_\
                                                      |___/
    *************************************************
    * Installing nginx
    *************************************************
    Failed to get unit file state for httpd.service: No such file or directory
    
    Code:
    cp: cannot create regular file ‘/usr/local/nginx/html/vhost_status.html’: No such file or directory
    /usr/lib64/libatomic_ops.a found
    
    Code:
    Running transaction
      Installing : MariaDB-common-10.1.14-1.el7.centos.x86_64                   1/8
    warning: /etc/my.cnf created as /etc/my.cnf.rpmnew
      Installing : MariaDB-client-10.1.14-1.el7.centos.x86_64                   2/8
      Installing : boost-program-options-1.53.0-25.el7.x86_64                   3/8
      Installing : galera-25.3.15-1.rhel7.el7.centos.x86_64                     4/8
      Installing : MariaDB-server-10.1.14-1.el7.centos.x86_64                   5/8
    chown: invalid user: ‘mysql’
    chown: invalid user: ‘mysql’
    
    Code:
      Valid arguments to -mfpmath=:
    ../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 --with-xsl
    configure: WARNING: unrecognized options: --with-mysql, --with-vpx-dir, --with-t1lib
    
    Code:
    In function ‘hash_si_insert’:
    /svr-setup/igbinary-php7/hash_si.c:76:22: warning: inlining failed in call to ‘_hash_si_find.part.0’: call is unlikely and code size would grow [-Winline]
    inline static size_t _hash_si_find(struct hash_si *h, const char *key, size_t key_len) {
    
    Code:
    /svr-setup/igbinary-php7/igbinary.c:713:19: warning: inlining failed in call to ‘igbinary_serialize8’: call is unlikely and code size would grow [-Winline]
    inline static int igbinary_serialize8(struct igbinary_serialize_data *igsd, uint8_t i TSRMLS_DC) {
    
    Code:
    du: cannot access ‘/var/mail/root’: No such file or directory
    (standard_in) 1: syntax error
    
    Code:
    In file included from /svr-setup/memcache-3.0.8/php_memcache.h:34:0,
                     from /svr-setup/memcache-3.0.8/memcache.c:30:
    /svr-setup/memcache-3.0.8/memcache_pool.h:45:47: fatal error: ext/standard/php_smart_str_public.h: No such file or directory
    #include "ext/standard/php_smart_str_public.h"
                                                   ^
    compilation terminated.
    In file included from /svr-setup/memcache-3.0.8/memcache_binary_protocol.c:34:0:
    /svr-setup/memcache-3.0.8/memcache_pool.h:45:47: fatal error: ext/standard/php_smart_str_public.h: No such file or directory
    #include "ext/standard/php_smart_str_public.h"
                                                   ^
    compilation terminated.
    In file included from /svr-setup/memcache-3.0.8/memcache_ascii_protocol.c:26:0:
    /svr-setup/memcache-3.0.8/memcache_pool.h:45:47: fatal error: ext/standard/php_smart_str_public.h: No such file or directory
    #include "ext/standard/php_smart_str_public.h"
                                                   ^
    compilation terminated.
    /usr/bin/gcc -I/usr/local/include/php -I. -I/svr-setup/memcache-3.0.8 -DPHP_ATOM_INC -I/svr-setup/memcache-3.0.8/include -I/svr-setup/memcache-3.0.8/main -I/svr-setup/memcache-3.0.8 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /svr-setup/memcache-3.0.8/memcache_queue.c  -fPIC -DPIC -o .libs/memcache_queue.o
    /svr-setup/memcache-3.0.8/memcache_pool.c:38:40: fatal error: ext/standard/php_smart_str.h: No such file or directory
    #include "ext/standard/php_smart_str.h"
                                            ^
    compilation terminated.
    /bin/sh /svr-setup/memcache-3.0.8/libtool --mode=compile /usr/bin/gcc -I/usr/local/include/php -I. -I/svr-setup/memcache-3.0.8 -DPHP_ATOM_INC -I/svr-setup/memcache-3.0.8/include -I/svr-setup/memcache-3.0.8/main -I/svr-setup/memcache-3.0.8 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /svr-setup/memcache-3.0.8/memcache_standard_hash.c -o memcache_standard_hash.lo
    make: *** [memcache.lo] Error 1
    make: *** Waiting for unfinished jobs....
    make: *** [memcache_ascii_protocol.lo] Error 1
    /usr/bin/gcc -I/usr/local/include/php -I. -I/svr-setup/memcache-3.0.8 -DPHP_ATOM_INC -I/svr-setup/memcache-3.0.8/include -I/svr-setup/memcache-3.0.8/main -I/svr-setup/memcache-3.0.8 -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/local/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /svr-setup/memcache-3.0.8/memcache_standard_hash.c  -fPIC -DPIC -o .libs/memcache_standard_hash.o
    make: *** [memcache_binary_protocol.lo] Error 1
    make: *** [memcache_pool.lo] Error 1
    In file included from /svr-setup/memcache-3.0.8/php_memcache.h:34:0,
                     from /svr-setup/memcache-3.0.8/memcache_standard_hash.c:27:
    /svr-setup/memcache-3.0.8/memcache_pool.h:45:47: fatal error: ext/standard/php_smart_str_public.h: No such file or directory
    #include "ext/standard/php_smart_str_public.h"
                                                   ^
    compilation terminated.
    make: *** [memcache_standard_hash.lo] Error 1
    
    Code:
    Writing Makefile for JoeDog::Config
    make[2]: Entering directory `/svr-setup/sproxy-1.02/lib/JoeDog-Config-1.2'
    make[2]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
    
    Nothing after this error due to the hang on the "Check for ImageMagicK System Updates (YUM)"
     
    Last edited: May 20, 2016
    • Informative Informative x 2
  11. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    thanks
    might want to try again on fresh centos 7 could of been network connectivity issues to remi yum repo

    with that said i just committed fixes for 123.09beta01 for nginx upgrade routine via centmin.sh menu option 4 fix inc/nginx_upgrade.inc revise nginx & pagespeed module check routines · centminmod/[email protected] · GitHub as there was some bugs in how i checked if new nginx and pagespeed modules's tar.gz files existed before upgrading nginx
     
    • Like Like x 1
  12. Jimmy

    Jimmy Well-Known Member

    1,646
    353
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +885
    Local Time:
    10:01 PM
    1.17.x
    MariaDB 10.3.x
    Made it through the install. A couple of the errors were still showing up from my list above. I can give you the install log if you want.
     
  13. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    the memcache, igbinary ones are normal as source compiles are very verbose and not really clean (error free) usually - you can post install log to pastebin.com or gist.github.com for double checking though

    edit: ok memcache ones aren't normal if they terminated heh
     
  14. Jimmy

    Jimmy Well-Known Member

    1,646
    353
    83
    Oct 24, 2015
    East Coast USA
    Ratings:
    +885
    Local Time:
    10:01 PM
    1.17.x
    MariaDB 10.3.x
  15. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    • Like Like x 2
  16. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    hmm wonder if this accounts for why PHP 5.6 is much slower to update/install for ? as part of php 5.6+ routine i download latest cacert.pem for curl.cainfo setting in curlcainfo.ini for php .ini loading and that download url is slow - very slow at 3.23KB/s and took 76 seconds to download !
    Code (Text):
    curl.cainfo = '/etc/ssl/certs/cacert.pem'

    you can test it below on your server and report how long it took for you
    Code (Text):
    wget -O /dev/null https://curl.haxx.se/ca/cacert.pem


    edit: seems the site at is generally show just for normal html pages too https://curl.haxx.se/ ah network issues https://twitter.com/bagder/status/734064468959842304
     
    Last edited: May 22, 2016
  17. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    centmin.sh menu option 20 - NSD install/reinstall submenu added

    Rework centmin.sh menu option 20 to support submenu options 1 (install) & submenu option 2 (re-install) and disable NSD install from initial centmin mod install routine via NSD_INSTALL='n'. Instead if folks want to use NSD, they can run the new centmin.sh menu option 20 submenu option 1 to install it.

    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 5.2/5.5 & 10.x Upgrade Sub-Menu
    12). Zend OpCache Install/Re-install
    13). Install ioping.sh vbtechsupport.com/1239/
    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 ] 20
    --------------------------------------------------------

    Code (Text):
    --------------------------------------------------------
                NSD Sub-Menu             
    --------------------------------------------------------
    1). Install NSD (DNS server)
    2). Reinstall NSD (DNS server)
    3). Back to Main menu
    --------------------------------------------------------
    Enter option [ 1 - 3 ] 
     
    • Like Like x 2
  18. eva2000

    eva2000 Administrator Staff Member

    42,356
    9,562
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,735
    Local Time:
    1:01 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    When you exit centmin.sh via menu option 24 if there's yum updates you will be alerted but now there's also a check for nginx version showing currently installed version compared to latest available version :)
    Code (Text):
    -------------------------------------------------------------
      New YUM Updates available for host centminmod.com
    -------------------------------------------------------------
      To list available YUM Updates type:
    -------------------------------------------------------------
      yum list updates --disableplugin=priorities --enablerepo=remi
    
    -------------------------------------------------------------
      To updates type:
    -------------------------------------------------------------
      yum update --disableplugin=priorities --enablerepo=remi
    
    
    ###############################################################
    * Current Nginx Version: 1.9.15
    * Latest Nginx Available: 1.11.0
    ###############################################################
     
    Last edited: May 27, 2016
    • Like Like x 4
  19. pamamolf

    pamamolf Premium Member Premium Member

    3,581
    345
    83
    May 31, 2014
    Ratings:
    +667
    Local Time:
    5:01 AM
    Nginx-1.17.x
    MariaDB 10.3.x
    Why not have the same output for php also? :)