Learn about Centmin Mod LEMP Stack today
Become a Member

PHP-FPM php 7.2.5 failed to recompile

Discussion in 'Install & Upgrades or Pre-Install Questions' started by Sunka, May 19, 2018.

  1. Sunka

    Sunka Well-Known Member

    997
    273
    63
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +449
    Local Time:
    10:38 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    Please fill in any relevant information that applies to you:
    • CentOS Version: CentOS 7 64bit
    • Centmin Mod Version Installed: 123.09beta01
    • Nginx Version Installed: i.e. 1.13.12
    • PHP Version Installed: 7.2.5
    • MariaDB MySQL Version Installed: 10.1.33
    • When was last time updated Centmin Mod code base ? : today just before recompiling php
    • Persistent Config:
      Code:
      # cat /etc/centminmod/custom_config.inc
      
      
      NGINX_LIBBROTLI=y # Brotly extension
      NGXDYNAMIC_BROTLI=y # Brotly dynamic module extension
      NGINX_PAGESPEED=n # nginx page speed
      NGXDYNAMIC_NGXPAGESPEED=n # nginx dynamic page speed
      PHP_MEMCACHE=n # memcache PHP extension
      PHP_MEMCACHED=n # memcached PHP extension
      PHP_PGO='y' # PGO Let It Go - Profile Guided Optimizations for PHP 7
      PHPPGO_INDEXPATH='/home/nginx/domains/pijanitvor.com/public/index.php' # path for PGO training
      AUDITD_ENABLE='y' # Auditd skripta
      RCLONE_ENABLE='y' # Rclone skripta
      NGINX_DEVTOOLSETGCC='y' # umjesto clang ide gcc kompilacija kod nginx
      #DEVTOOLSETEIGHT='y' # ide 8.x verzija gcc kompilacije umjesto defaultne 5.x ili 6.x ili 7.x
      LIBRESSL_SWITCH='n' # umjesto LibreSSL ide OpenSSL
      CLOUDFLARE_ZLIB='y' # enable Cloudflare zlib performance library by default for Nginx zlib
      DEVTOOLSETSEVEN='y' # ide 7.x verzija gcc kompilacije umjesto defaultne 5.x ili 6.x
      CLANG='n' # potrebno za gcc kompilaciju nginx
      CRYPTO_DEVTOOLSETGCC='y' # newer Intel GCC
      NGX_LDGOLD='y' # Nginx support for using ld.gold linker
      NGX_GSPLITDWARF='y' # Nginx support for using ld.gold linker
      PHP_GSPLITDWARF='y' # Nginx/php support for using ld.gold linker
      NGINX_ZLIBCUSTOM='y' # add custom zlib 1.2.11+ version support to Nginx compiles - https://goo.gl/1WNZcH
      #NGINX_HPACK='y' # enabling HPACK for Nginx
      NGINX_DYNAMICTLS='y' # add Nginx Dynamic TLS Cloudflare Patch - http://bit.ly/2EYzhk7
      NGINXPATCH='y' # add Nginx Dynamic TLS Cloudflare Patch - http://bit.ly/2EYzhk7
      NGINX_GEOIPTWOLITE='y' # GeoIP2 Lite nginx module
      NGXDYNAMIC_GEOIPTWOLITE='y' # GeoIP2 Lite nginx module

    Update to new curl version and after that I tried to recompile php (7.2.5 version) and it failed. This is output:

     
  2. eva2000

    eva2000 Administrator Staff Member

    35,603
    7,841
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,085
    Local Time:
    6:38 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    You ran into [Solved] - PHP-FPM broken on new installs

    If you have an existing Centmin Mod 123.09beta01 install with this issue, you will need to update code via command = cmupdate, and then recompile Nginx's OpenSSL first via centmin.sh menu option 4. You can verify that is fixed using command below which lists all nginx_upgrade logs in reverse ascending data order and does a fgrep for the clean up markers I introduced. If you see these 3 lines, then Nginx OpenSSL is fixed.
    Code (Text):
    ls -rt /root/centminlogs/ | grep nginx_upgrade | while read l; do fgrep 'clean up no-tls1_3 bug' $l; done
    clean up no-tls1_3 bug /usr/local/ssl
    clean up no-tls1_3 bug /usr/local/lib/engines-1.1
    clean up no-tls1_3 bug /usr/local/include/openssl
    

    then try centmin.sh menu option 5
     
    • Useful Useful x 1
  3. Sunka

    Sunka Well-Known Member

    997
    273
    63
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +449
    Local Time:
    10:38 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    cmupdate
    already updated

    recompile nginx 1.13.12

    then:
    Code (Text):
    ls -rt /root/centminlogs/ | grep nginx_upgrade | while read l; do fgrep 'clean up no-tls1_3 bug' $l; done
    grep: centminmod_1.2.3-eva2000.09.001_111116-145636_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_121116-013505_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_141116-031152_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_151116-164403_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_151116-170110_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_171116-004857_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_131216-174815_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_291216-175430_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_200117-013059_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_240117-204735_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_310117-185740_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_020217-165213_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_050217-232204_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.001_140217-205253_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.004_240217-040125_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.004_240217-044932_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.004_240217-050340_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.004_240217-121110_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.004_220317-114443_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.004_220317-115057_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.004_280317-193534_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.004_040417-184432_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.004_110417-234456_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.005_260417-010553_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.005_040517-121350_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.005_300517-212709_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.005_280617-212706_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.005_280617-215849_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.005_110717-213034_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.005_160717-103921_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.005_090817-001225_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.005_050917-200421_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.005_050917-200353_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.006_101017-203659_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.006_101017-211143_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.008_051117-162640_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.008_071117-003503_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.008_211117-214727_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.008_021217-203930_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.009_191217-040201_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_1.2.3-eva2000.09.009_221217-105712_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_123.09beta01.b010_261217-210852_nginx_upgrade.log.gz: No such file or directory
    grep: centminmod_123.09beta01.b014_200218-183454_nginx_upgrade.log: No such file or directory
    grep: centminmod_123.09beta01.b015_240218-044915_nginx_upgrade.log: No such file or directory
    grep: centminmod_123.09beta01.b016_240218-203832_nginx_upgrade.log: No such file or directory
    grep: centminmod_123.09beta01.b017_200318-202535_nginx_upgrade.log: No such file or directory
    grep: centminmod_123.09beta01.b017_280318-194505_nginx_upgrade.log: No such file or directory
    grep: centminmod_123.09beta01.b017_030418-194812_nginx_upgrade.log: No such file or directory
    grep: centminmod_123.09beta01.b017_150418-160326_nginx_upgrade.log: No such file or directory
    grep: centminmod_123.09beta01.b021_090518-220333_nginx_upgrade.log: No such file or directory
    grep: centminmod_123.09beta01.b023_190518-162805_nginx_upgrade.log: No such file or directory
     
  4. eva2000

    eva2000 Administrator Staff Member

    35,603
    7,841
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +12,085
    Local Time:
    6:38 PM
    Nginx 1.15.x
    MariaDB 5.5/10.x
    ah run command from /root/centminlogs directory
    Code (Text):
    cd /root/centminlogs/
    ls -rt /root/centminlogs/ | grep nginx_upgrade | while read l; do fgrep 'clean up no-tls1_3 bug' $l; done
    
     
    • Informative Informative x 1
  5. Sunka

    Sunka Well-Known Member

    997
    273
    63
    Oct 31, 2015
    Rijeka, Croatia
    Ratings:
    +449
    Local Time:
    10:38 AM
    Nginx 1.15.0
    MariaDB 10.2.15
    worked.
    Thank you @eva2000
    Code:
    ***************************************************
       ____   _   _  ____    _   _                                _            _
      |  _ \ | | | ||  _ \  | | | | _ __    __ _  _ __  __ _   __| |  ___   __| |
      | |_) || |_| || |_) | | | | || '_ \  / _` || '__|/ _` | / _` | / _ \ / _` |
      |  __/ |  _  ||  __/  | |_| || |_) || (_| || |  | (_| || (_| ||  __/| (_| |
      |_|    |_| |_||_|      \___/ | .__/  \__, ||_|   \__,_| \__,_| \___| \__,_|
                                   |_|     |___/                                 
    Total PHP Upgrade Time: 556.529811000 seconds
     
    • Like Like x 1
..