Join the community today
Become a Member

[Solved] 2 bugs: Wrong version of PHP detected when using 21 to recompile nginx

Discussion in 'Bug Reports' started by EckyBrazzz, May 25, 2019.

  1. EckyBrazzz

    EckyBrazzz Active Member

    685
    137
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +256
    Local Time:
    4:29 AM
    1.17.x
    10.3.x
    Just noticed that option 21 to recompile NGINX - PHP-FPM - SIEGE detect the wrong version of PHP. My installed version of PHP is 7.3.5, but the option 21 detects PHP 5.6 Branch

    Code (Text):
    *************************************************
    * nginx updated
    *************************************************
       _   _         _                _   _             _         _             _
      | \ | |  __ _ (_) _ __  __  __ | | | | _ __    __| |  __ _ | |_  ___   __| |
      |  \| | / _` || || '_ \ \ \/ / | | | || '_ \  / _` | / _` || __|/ _ \ / _` |
      | |\  || (_| || || | | | >  <  | |_| || |_) || (_| || (_| || |_|  __/| (_| |
      |_| \_| \__, ||_||_| |_|/_/\_\  \___/ | .__/  \__,_| \__,_| \__|\___| \__,_|
              |___/                         |_|                                  
         ____   _   _  ____       _   _                                _      
        |  _ \ | | | ||  _ \  _  | | | | _ __    __ _  _ __  __ _   __| |  ___
        | |_) || |_| || |_) |(_) | | | || '_ \  / _` || '__|/ _` | / _` | / _ \
        |  __/ |  _  ||  __/  _  | |_| || |_) || (_| || |  | (_| || (_| ||  __/
        |_|    |_| |_||_|    (_)  \___/ | .__/  \__, ||_|   \__,_| \__,_| \___|
                                        |_|     |___/                        
    
    -----------------------------------------------------------------------------------------
    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 your 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] ?
    

    Also when I noticed it I wanted to exit, but again, that was not possible
    Code (Text):
    -----------------
    Do you want to use Zend OPcache [y/n] ? ^X^C^Z^
    
    and after hitting enter CMM just hangs there.
    My persistent file maybe has an confilect. Today just discoverd that I have the old intel Intel(R) Xeon(R) CPU E5-2697A v4 @ 2.60GHz instead of the Intel® Xeon® Platinum 8168 Processor @ 2.7Ghz as before. It's a different account, but feeling a little ripped off by DO. Pay the same price and get older hardware.
    Code (Text):
    MARCH_TARGETNATIVE='n'
    [email protected]'
    WP_FASTCGI<cut>
    #####################################################
    # Timestamp Install
    #TIME_NGINX='y'
    #TIME_PHPCONFIGURE='y'
    #TIME_MEMCACHED='y'
    #TIME_IMAGEMAGICK='y'
    #TIME_REDIS='n'
    #####################################################
    
    
    #####################################################
    # Nginx Dynamic Module Switches
    NGINX_DYNAMICTLS='y'
    NGXDYNAMIC_GEOIPTWOLITE='y'
    NGXDYNAMIC_BROTLI='y'
    NGXDYNAMIC_NGXPAGESPEED='n'     # PageSpeed
    NGXDYNAMIC_HEADERSMORE='y'
    NGXDYNAMIC_SETMISC='y'
    NGXDYNAMIC_ECHO='y'
    NGXDYNAMIC_IMAGEFILTER='y'
    NGXDYNAMIC_VHOSTSTATS='n'
    #####################################################
    
    
    #####################################################
    NGINX_HPACK='y'
    NGINX_GEOIPTWOLITE='y'          # https://github.com/leev/ngx_http_geoip2_module
    NGINX_REALIP='y'                # http://nginx.org/en/docs/http/ngx_http_realip_module.html
    NGINX_LIBBROTLI='y'
    ORESTY_LUANGINX='y'
    NGX_LUASTREAM_FORCED='y'        # openresty stream-lua-nginx module https://github.com/openresty/stream-lua-nginx-module
    NGINX_MODSECURITY='y'           # https://community.centminmod.com/threads/update-prep-for-modsecurity-v3-0.12453/
    NGINX_MODSECURITY_MAXMIND='y'   # https://community.centminmod.com/threads/update-inc-mod_security-inc-fix-for-geoip2-conflict-in-123-09beta01.17370/
    NGINX_VHOSTSTATS='n'            #
    NGINX_ZLIBCUSTOM='y'            # Use custom zlib instead of system version
    NGINX_ZLIBVER='1.2.11'          # http://www.zlib.net/ Latest 1.2.11 ZLIB, January 15, 2017
    NGINX_ZERODT='y'                # enable nginx zero downtime on the fly nginx binary upgrades
    AUTOTUNE_CLIENTMAXBODY='y'      # auto tune client_max_body_size option in nginx.conf
    NGINX_PAGESPEED='n'
    NGINX_PAGESPEEDGITMASTER='n'
    #####################################################
    
    #####################################################
    # MariaDB
    MARIADB_INSTALLTENTWO='n'       # MariaDB 10.2 YUM default install if set to yes
    MARIADB_INSTALLTENTHREE='y'     # MariaDB 10.3 YUM default install if set to yes
    MARIADB_INSTALLTENFOUR='n'      # MariaDB 10.4 YUM default install if set to yes
    #####################################################
    
    
    #####################################################
    # PHP
    PHP_PGO='y'
    STRIPPHP='y'                    # set 'y' to strip PHP binary to reduce size
    PHP_INSTALL='y'                 # Install PHP /w Fast Process Manager
    PHP_MEMCACHE='y'                # memcache PHP extension
    PHP_PATCH='y'                   # Apply PHP patches if they exist
    PHP_TUNING='y'                  # initial php-fpm install auto tuning
    PHP_BROTLI='y'                  # brotli php extension https://github.com/kjdev/php-ext-brotli
    PHP_LZFOUR='y'                  # lz4 php extension https://github.com/kjdev/php-ext-lz4
    PHP_LZF='y'                     # lzf php extension https://github.com/php/pecl-file_formats-lzf php-ext-lzf
    PHP_ZSTD='y'                    # zstd php extension https://github.com/kjdev/php-ext-zstd
    PHP_CUSTOMSSL='y'               # compile php-fpm against openssl 1.0.2+ or libressl 2.3+ whichever nginx uses
    PHPFINFO='y'                    # Disable or Enable PHP File Info extension
    PHPPCNTL='y'                    # Disable or Enable PHP Process Control extension
    PHPINTL='y'                     # Disable or Enable PHP intl extension
    PHPRECODE=n                     # Disable or Enable PHP Recode extension
    PHPIMAGICK='y'                  # Disable or Enable PHP ImagicK extension
    PHPMAKETEST='y'                 # set to y to enable make test after PHP make for diagnostic purposes
    AUTODETECPHP_OVERRIDE='y'       # when enabled, php updates will always reinstall all php extensions even if minor php version
    PHPIONCUBE='y'                  #
    MEMCACHED_INSTALL='y'           # Install Memcached
    PHPREDIS='y'                    # redis PHP extension install
    AUTODETECPHP_OVERRIDE='n'       # skip recompiles for minor versions set to'y' when compile to majoir version updates
    GCCINTEL_PHP='y'                # enable PHP-FPM GCC compiler with Intel cpu optimizations
    DEVTOOLSET_PHP='y'              # use devtoolset GCC for GCCINTEL_PHP='y'
    #####################################################
    
    
    #####################################################
    # Open SSL
    DISABLE_TLSONEZERO_PROTOCOL='y' # disable TLS 1.0 protocol by default industry is moving to deprecate for security
    NOSOURCEOPENSSL='n'             # set to 'y' to disable OpenSSL source compile for system default YUM package setup
    OPENSSL_TLSONETHREE='y'         # whether OpenSSL 1.1.1 builds enable TLSv1.3
    #####################################################
    
    
    LETSENCRYPT_DETECT='y'
    DUALCERTS='y'                   # dual RSA+ECDSA ssl certs https://centminmod.com/acmetool/
    
    WP_AUTOPTIMIZE_GZIP='y'         # https://community.centminmod.com/threads/15314/
    CUSTOM_CURLRPM='y'
    

     
    • Like Like x 1
  2. eva2000

    eva2000 Administrator Staff Member

    41,646
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    5:29 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
    known issue with centmin.sh menu option 21, it currently detects PHP 5.6 native not what your current non-PHP 5.6 is, so best to use individual centmin.sh menu options 4 and 5 for nginx and php right now
     
  3. eva2000

    eva2000 Administrator Staff Member

    41,646
    9,380
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +14,408
    Local Time:
    5:29 PM
    Nginx 1.17.x
    MariaDB 5.5/10.x
  4. EckyBrazzz

    EckyBrazzz Active Member

    685
    137
    43
    Mar 28, 2018
    >>>>Click here<<<< i'm nearby......
    Ratings:
    +256
    Local Time:
    4:29 AM
    1.17.x
    10.3.x
    @eva2000 keep up the great work! Fixing issues and make this beta a stable version so we can go on to the next 123.10beta.:)
     
    Last edited: May 26, 2019
    • Like Like x 1