Welcome to Centmin Mod Community
Register Now

PHP-FPM Upgrade to latest 8.5 failed

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Dec 4, 2026 at 7:34 AM.

  1. pamamolf

    pamamolf Well-Known Member

    4,132
    429
    83
    May 31, 2014
    Ratings:
    +842
    Local Time:
    4:51 PM
    Nginx-1.29.x
    MariaDB 10.6.x
    Hi,

    I tried to update to the latest Php 8.5.x and it failed:

    Code:
    Configuring extensions
    checking io.h usability... no
    checking io.h presence... no
    checking for io.h... no
    checking for strtoll... yes
    checking for atoll... yes
    checking whether the C compiler accepts -Wno-implicit-fallthrough... yes
    checking whether the C compiler accepts -fwrapv... yes
    checking whether to build with LIBXML support... yes
    checking for libxml-2.0 >= 2.9.4... yes
    checking for OpenSSL support... yes
    checking whether to use system default cipher list instead of hardcoded value... no
    checking whether to load legacy algorithm provider... no
    checking whether to enable argon2 password hashing (requires OpenSSL >= 3.2)... no
    checking for openssl >= 1.1.1... no
    configure: error: Package requirements (openssl >= 1.1.1) were not met:
    
    Requested 'openssl >= 1.1.1' but version of OpenSSL is 1.0.2k
    
    Consider adjusting the PKG_CONFIG_PATH environment variable if you
    installed software in a non-standard prefix.
    
    Alternatively, you may set the environment variables OPENSSL_CFLAGS
    and OPENSSL_LIBS to avoid the need to call pkg-config.
    See the pkg-config man page for more details.
    
    Thu Dec  3 21:31:37 UTC 2026
    Error: 1, PHP configure failed (140.00beta01.b539)
    
    report errors on the forums at community.centminmod.com/forums/8/
    with info asked at community.centminmod.com/threads/17857/
    ensure you're using latest code by running command: cmupdate
    and retrying centmin.sh menu option 5 first
    
    lscpu
    Architecture:          x86_64
    CPU op-mode(s):        32-bit, 64-bit
    Byte Order:            Little Endian
    CPU(s):                8
    On-line CPU(s) list:   0-7
    Thread(s) per core:    2
    Core(s) per socket:    4
    Socket(s):             1
    NUMA node(s):          1
    Vendor ID:             GenuineIntel
    CPU family:            6
    Model:                 94
    Model name:            Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz
    Stepping:              3
    CPU MHz:               2572.021
    CPU max MHz:           3900.0000
    CPU min MHz:           800.0000
    BogoMIPS:              7008.00
    Virtualization:        VT-x
    L1d cache:             32K
    L1i cache:             32K
    L2 cache:              256K
    L3 cache:              8192K
    NUMA node0 CPU(s):     0-7
    Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb invpcid_single intel_pt ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp md_clear spec_ctrl intel_stibp flush_l1d
    
    CFLAGS=-O3 -m64 -march=skylake -pipe -gsplit-dwarf -Wno-deprecated-declarations -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-unused-result -Wno-array-bounds -Wno-missing-profile -Wno-pointer-to-int-cast -Wno-error=strict-prototypes -Wno-attribute-warning -Wno-stringop-overflow -fcode-hoisting -Wno-cast-function-type -Wno-cast-align -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -fstack-protector-strong -fPIC
    CXXFLAGS=-O3 -m64 -march=skylake -pipe -gsplit-dwarf -Wno-deprecated-declarations -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-unused-result -Wno-array-bounds -Wno-missing-profile -Wno-pointer-to-int-cast -Wno-error=strict-prototypes -Wno-attribute-warning -Wno-stringop-overflow -fcode-hoisting -Wno-cast-function-type -Wno-cast-align -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch
    GCC_NONNATIVEFLAGS=
    
                  total        used        free      shared  buff/cache   available
    Mem:          31795       11115         663        1563       20017       18727
    Low:          31795       31132         663
    High:             0           0           0
    Swap:          3071        1232        1839
    Total:        34867       12347        2502
    
    Filesystem     Type      Size  Used Avail Use% Mounted on
    devtmpfs       devtmpfs   16G     0   16G   0% /dev
    tmpfs          tmpfs      16G     0   16G   0% /dev/shm
    tmpfs          tmpfs      16G  1.6G   15G  10% /run
    tmpfs          tmpfs      16G     0   16G   0% /sys/fs/cgroup
    /dev/md0       ext4      468G   66G  378G  15% /
    tmpfs          tmpfs      16G  2.4M   16G   1% /tmp
    tmpfs          tmpfs     3.2G     0  3.2G   0% /run/user/0
    
    CPU: Intel(R) Xeon(R) CPU E3-1245 v5 @ 3.50GHz (8)
    
    version increment history
    140.00beta01.b490 #Thu Nov 19 15:42:50 UTC 2026
    140.00beta01.b520 #Sat Nov 21 08:21:06 UTC 2026
    140.00beta01.b520 #Sat Nov 21 08:36:41 UTC 2026
    140.00beta01.b539 #Thu Dec  3 21:27:50 UTC 2026
    140.00beta01.b539 #Thu Dec  3 21:28:18 UTC 2026
    
    last Centmin Mod local git commit entry
    /usr/local/src/centminmod /svr-setup/php-8.5.13/fpm-build ~
    
    2040b9e George Liu (eva2000) Thu, 3 Dec 2026 01:18:56 +1000
    add PECL imap extension for PHP 8.4+ with PHPIMAP=y in 140.00beta01
    
    10      2       centmin-cli.sh
    10      2       centmin.sh
    1       1       example/custom_config.inc
    131     1       inc/imap.inc
    36      2       inc/php_upgrade.inc
    1       0       tools/check-upstream-versions.sh
     6 files changed, 189 insertions(+), 8 deletions(-)
    /svr-setup/php-8.5.13/fpm-build ~
    Centminmod: 140.00beta01 - just updated before the setup

    The same with 8.4.x

    CentOS Linux 7

    "Requested 'openssl >= 1.1.1' but version of OpenSSL is 1.0.2k"

    Thanks in advance.

     
    Last edited: Dec 4, 2026 at 7:41 AM
  2. eva2000

    eva2000 Administrator Staff Member

    60,673
    12,636
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +19,303
    Local Time:
    12:51 AM
    Nginx 1.31.x
    MariaDB 10.x/11.4+/12.3+
    CentOS 7's OpenSSL version is too old for PHP 8.4+, so you'd need to stick with PHP 8.3 max. I'll update Centmin Mod to provide such message for CentOS 7 users.
     
  3. pamamolf

    pamamolf Well-Known Member

    4,132
    429
    83
    May 31, 2014
    Ratings:
    +842
    Local Time:
    4:51 PM
    Nginx-1.29.x
    MariaDB 10.6.x
    PHP_CUSTOMSSL_FORCE='y'

    Does that make it work?
     
  4. atomi

    atomi Member

    52
    11
    8
    Jul 14, 2018
    Ratings:
    +32
    Local Time:
    4:51 PM
    1.31.x
    10.6
    you could try with following lines:

    OPENSSL_SYSTEM_USE='n'
    OPENSSL_QUIC_VERSION='OpenSSL_1_1_1w+quic'