I'm running 140.00beta01 on Alma 9.5 --- Apparently my provider has moved one of my VM's to new hardware -- the procinfo says it's the same CPU platform but I have to recompile php and nginx or it crashes. I get these errors: Code: [ 1397.638073] traps: php-fpm[96586] trap invalid opcode ip:55ae82facd24 sp:7ffc46f26780 error:0 in php-fpm[55ae82a00000+62f000] [ 1402.914214] traps: php-fpm[96997] trap invalid opcode ip:55cfd8facd24 sp:7ffd398dc780 error:0 in php-fpm[55cfd8a00000+62f000] [ 1408.141156] traps: php-fpm[97518] trap invalid opcode ip:55f936bacd24 sp:7fff834f5c80 error:0 in php-fpm[55f936600000+62f000] Once I recompile everything is fine. I also have this in my Code: cat custom_config.inc | grep -i arch MARCH_TARGETNATIVE='n' So it doesn't make any sense, anyone else seen anything like this? Edit, forgot to mention... according to /proc/cpuinfo the old processor was EPYC Rome and the new processor is EPYC Rome --- so I can't understand why a recompile fixes it. All other binaries seemed to run fine....
Yeah if you migrate the entire VM VPS servers instance you may need to recompile nginx and php-fpm. Centmin Mod builds Nginx and PHP from source on-the-fly. When your VM instance migrates to a host with a different CPU feature set (or different virtualization CPU model - VPS host might have different configured CPU flags), those prebuilt binaries may include instructions the new processor doesn’t support. Re-running the Centmin Mod compile process regenerates every binary against the current CPU topology, ensuring no unsupported instructions slip through . If the move kept /root/centminlogs intact and you have access to old VPS servers php-fpm and nginx compile logs, there should be logs for cpu flags in there. On my mobile so don't have access to code as right now. You can compare the cpu flags reported from old vs new VPS server You can use command to list logs in dare ascending order Code (Text): cminfo listlogs I'd rerun centmin.sh menu options 4, 5, and 10 to be sure for Nginx, php-fpm and memcached server
Strange, you would think if the CPU type hasn't changed none of the flags should change. Shouldn't the MARCH_TARGETNATIVE='n' tell it not to target anything CPU or arch specific?
Most Linux hypervisors (KVM/QEMU, Xen, VMware, etc.) let the host operator choose what CPU “model” to present to each VM: Host-passthrough (“use the real CPU”): the guest sees virtually every instruction your physical CPU supports. Host-model (libvirt): QEMU inspects the host CPU and tries to build the “closest” predefined model available (e.g. “SandyBridge”, “Broadwell”). This trades a little performance for the ability to migrate between hosts that support that model. Custom or baseline model: you pick an older, well-supported CPU (e.g. Nehalem, Haswell) so that any host in your cluster can run the VM. When your provider “live-migrates” your VM, they may switch you from one host that exposes, say, a “Broadwell” feature set to another that only guarantees “Haswell.” Even though both hosts are Intel and report the same vendor/model strings at a high level, the exact SSE/AVX/etc. bits they expose can differ. You can inspect this with command Code (Text): lscpu Compare old vs new VPS
This is Hivelocity. Apparently the machine had a problem so they migrated it... without warning and without a heads up. I only noticed because I got alerts that the sites were down and I had to start investigating.
Interesting. If the move kept /root/centminlogs intact and you have access to old VPS servers php-fpm and nginx compile logs, there should be logs for cpu flags in there to compare cpu flags that Centmin Mod detected for respective VM VPS instances.
example Code (Text): cminfo listlogs | egrep 'gcc_php_' -C1 -rw-r--r-- 1 root root 213 May 6 07:25 etc-centminmod-custom-config-settings_060525-072538.log -rw-r--r-- 1 root root 2.1K May 6 07:26 gcc_php_native.log -rw-r--r-- 1 root root 2.1K May 6 07:26 gcc_php_x86-64.log -rw-r--r-- 1 root root 364 May 6 07:26 gcc_php_diff_native-vs-x86-64.log -rw-r--r-- 1 root root 81K May 6 07:26 php-compile-config-060525-072538.log.gz where /root/centminlogs/gcc_php_native.log and /root/centminlogs/gcc_php_x86-64.log and latest PHP-FPM compile run's detected CPU support for if GCC march=native or march=x86_64 are used Code (Text): cat /root/centminlogs/gcc_php_native.log -march= znver3 -mavx [enabled] -mavx2 [enabled] -mavx256-split-unaligned-load [disabled] -mavx256-split-unaligned-store [disabled] -mavx5124fmaps [disabled] -mavx5124vnniw [disabled] -mavx512bf16 [disabled] -mavx512bitalg [disabled] -mavx512bw [disabled] -mavx512cd [disabled] -mavx512dq [disabled] -mavx512er [disabled] -mavx512f [disabled] -mavx512fp16 [disabled] -mavx512ifma [disabled] -mavx512pf [disabled] -mavx512vbmi [disabled] -mavx512vbmi2 [disabled] -mavx512vl [disabled] -mavx512vnni [disabled] -mavx512vp2intersect [disabled] -mavx512vpopcntdq [disabled] -mavxifma [disabled] -mavxneconvert [disabled] -mavxvnni [disabled] -mavxvnniint8 [disabled] -mgather -mtune-ctrl=use_gather -mpclmul [enabled] -mprefer-avx128 -mprefer-vector-width=128 -mprefer-vector-width= none -mscatter -mtune-ctrl=use_scatter -msse [enabled] -msse2 [enabled] -msse2avx [disabled] -msse3 [enabled] -msse4 [enabled] -msse4.1 [enabled] -msse4.2 [enabled] -msse4a [enabled] -msse5 -mavx -msseregparm [disabled] -mssse3 [enabled] -mtune-ctrl= -mtune= znver3 Known preferred register vector length (to use with the -mprefer-vector-width= option): Known valid arguments for -march= option: Known valid arguments for -mtune= option: Code (Text): cat /root/centminlogs/gcc_php_x86-64.log -march= x86-64-v3 -mavx [enabled] -mavx2 [enabled] -mavx256-split-unaligned-load [disabled] -mavx256-split-unaligned-store [disabled] -mavx5124fmaps [disabled] -mavx5124vnniw [disabled] -mavx512bf16 [disabled] -mavx512bitalg [disabled] -mavx512bw [disabled] -mavx512cd [disabled] -mavx512dq [disabled] -mavx512er [disabled] -mavx512f [disabled] -mavx512fp16 [disabled] -mavx512ifma [disabled] -mavx512pf [disabled] -mavx512vbmi [disabled] -mavx512vbmi2 [disabled] -mavx512vl [disabled] -mavx512vnni [disabled] -mavx512vp2intersect [disabled] -mavx512vpopcntdq [disabled] -mavxifma [disabled] -mavxneconvert [disabled] -mavxvnni [disabled] -mavxvnniint8 [disabled] -mgather -mtune-ctrl=use_gather -mpclmul [disabled] -mprefer-avx128 -mprefer-vector-width=128 -mprefer-vector-width= none -mscatter -mtune-ctrl=use_scatter -msse [enabled] -msse2 [enabled] -msse2avx [disabled] -msse3 [enabled] -msse4 [enabled] -msse4.1 [enabled] -msse4.2 [enabled] -msse4a [disabled] -msse5 -mavx -msseregparm [disabled] -mssse3 [enabled] -mtune-ctrl= -mtune= generic Known preferred register vector length (to use with the -mprefer-vector-width= option): Known valid arguments for -march= option: Known valid arguments for -mtune= option: Then inspect your PHP-FPM compile upgrade logs Code (Text): ls -lahrt /root/centminlogs | egrep 'php_upgrade.log' -rw-r--r-- 1 root root 2.8M May 5 17:31 centminmod_140.00beta01.b215_050525-172703_php_upgrade.log -rw-r--r-- 1 root root 3.0M May 5 17:45 centminmod_140.00beta01.b215_050525-174213_php_upgrade.log -rw-r--r-- 1 root root 3.0M May 5 18:01 centminmod_140.00beta01.b215_050525-175815_php_upgrade.log -rw-r--r-- 1 root root 3.0M May 5 18:14 centminmod_140.00beta01.b215_050525-181144_php_upgrade.log -rw-r--r-- 1 root root 2.5M May 6 06:23 centminmod_140.00beta01.b215_060525-061947_php_upgrade.log -rw-r--r-- 1 root root 2.5M May 6 07:29 centminmod_140.00beta01.b216_060525-072538_php_upgrade.log example inside /root/centminlogs/centminmod_140.00beta01.b215_050525-172703_php_upgrade.log there's detections for Code (Text): gcc -c -Q -march=native --help=target | egrep '\-mtune|\-mprefer-vector-width|\-march|\-msse|\-msse2|\-msse2avx|\-msse3|\-mavx|\-msse4|\-mssse3|\-mpclmul' | tee /root/centminlogs/gcc_php_native.log -march= znver3 -mavx [enabled] -mavx2 [enabled] -mavx256-split-unaligned-load [disabled] -mavx256-split-unaligned-store [disabled] -mavx5124fmaps [disabled] -mavx5124vnniw [disabled] -mavx512bf16 [disabled] -mavx512bitalg [disabled] -mavx512bw [disabled] -mavx512cd [disabled] -mavx512dq [disabled] -mavx512er [disabled] -mavx512f [disabled] -mavx512fp16 [disabled] -mavx512ifma [disabled] -mavx512pf [disabled] -mavx512vbmi [disabled] -mavx512vbmi2 [disabled] -mavx512vl [disabled] -mavx512vnni [disabled] -mavx512vp2intersect [disabled] -mavx512vpopcntdq [disabled] -mavxifma [disabled] -mavxneconvert [disabled] -mavxvnni [disabled] -mavxvnniint8 [disabled] -mgather -mtune-ctrl=use_gather -mpclmul [enabled] -mprefer-avx128 -mprefer-vector-width=128 -mprefer-vector-width= none -mscatter -mtune-ctrl=use_scatter -msse [enabled] -msse2 [enabled] -msse2avx [disabled] -msse3 [enabled] -msse4 [enabled] -msse4.1 [enabled] -msse4.2 [enabled] -msse4a [enabled] -msse5 -mavx -msseregparm [disabled] -mssse3 [enabled] -mtune-ctrl= -mtune= znver3 Known preferred register vector length (to use with the -mprefer-vector-width= option): Known valid arguments for -march= option: Known valid arguments for -mtune= option: gcc -c -Q -march=x86-64-v3 --help=target | egrep '\-mtune|\-mprefer-vector-width|\-march|\-msse|\-msse2|\-msse2avx|\-msse3|\-mavx|\-msse4|\-mssse3|\-mpclmul' | tee /root/centminlogs/gcc_php_x86-64.log -march= x86-64-v3 -mavx [enabled] -mavx2 [enabled] -mavx256-split-unaligned-load [disabled] -mavx256-split-unaligned-store [disabled] -mavx5124fmaps [disabled] -mavx5124vnniw [disabled] -mavx512bf16 [disabled] -mavx512bitalg [disabled] -mavx512bw [disabled] -mavx512cd [disabled] -mavx512dq [disabled] -mavx512er [disabled] -mavx512f [disabled] -mavx512fp16 [disabled] -mavx512ifma [disabled] -mavx512pf [disabled] -mavx512vbmi [disabled] -mavx512vbmi2 [disabled] -mavx512vl [disabled] -mavx512vnni [disabled] -mavx512vp2intersect [disabled] -mavx512vpopcntdq [disabled] -mavxifma [disabled] -mavxneconvert [disabled] -mavxvnni [disabled] -mavxvnniint8 [disabled] -mgather -mtune-ctrl=use_gather -mpclmul [disabled] -mprefer-avx128 -mprefer-vector-width=128 -mprefer-vector-width= none -mscatter -mtune-ctrl=use_scatter -msse [enabled] -msse2 [enabled] -msse2avx [disabled] -msse3 [enabled] -msse4 [enabled] -msse4.1 [enabled] -msse4.2 [enabled] -msse4a [disabled] -msse5 -mavx -msseregparm [disabled] -mssse3 [enabled] -mtune-ctrl= -mtune= generic Known preferred register vector length (to use with the -mprefer-vector-width= option): Known valid arguments for -march= option: Known valid arguments for -mtune= option: -march= znver3 | -march= x86-64-v3 -mpclmul [enabled] | -mpclmul [disabled] -msse4a [enabled] | -msse4a [disabled] -mtune= znver3 | -mtune= generic -march= znver3 | -march= x86-64-v3 -mpclmul [enabled] | -mpclmul [disabled] -msse4a [enabled] | -msse4a [disabled] -mtune= znver3 | -mtune= generic GCC_NONNATIVEFLAGS= 2 SET_PHPEXTRA_CFLAGS=" -gsplit-dwarf -Wno-deprecated-declarations -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error=unused-result -Wno-unused-result -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -Wno-missing-profile -Wno-pointer-to-int-cast -Wno-error=strict-prototypes -Wno-attribute-warning -Wno-enum-int-mismatch -Wno-stringop-overflow -fcode-hoisting -Wno-cast-function-type -Wno-error=cast-align -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation" export CFLAGS="-O3 -m64 -march=native -pipe -gsplit-dwarf -Wno-deprecated-declarations -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error=unused-result -Wno-unused-result -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -Wno-missing-profile -Wno-pointer-to-int-cast -Wno-error=strict-prototypes -Wno-attribute-warning -Wno-enum-int-mismatch -Wno-stringop-overflow -fcode-hoisting -Wno-cast-function-type -Wno-error=cast-align -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation" export CXXFLAGS="-O3 -m64 -march=native -pipe -gsplit-dwarf -Wno-deprecated-declarations -Wimplicit-fallthrough=0 -Wno-implicit-function-declaration -Wno-int-conversion -Wno-error=unused-result -Wno-unused-result -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation -Wno-missing-profile -Wno-pointer-to-int-cast -Wno-error=strict-prototypes -Wno-attribute-warning -Wno-enum-int-mismatch -Wno-stringop-overflow -fcode-hoisting -Wno-cast-function-type -Wno-error=cast-align -Wno-implicit-function-declaration -Wno-builtin-declaration-mismatch -Wno-return-local-addr -Wno-maybe-uninitialized -Wno-array-parameter -Wno-alloc-size-larger-than -Wno-address -Wno-array-bounds -Wno-deprecated-declarations -Wno-discarded-qualifiers -Wno-stringop-overread -Wno-stringop-truncation" I should really also save timestamp versions of /root/centminlogs/gcc_php_native.log and /root/centminlogs/gcc_php_x86-64.log so that it's easier to compare previous runs without needing to inspect the PHP upgrade logs edit: updated 140.00beta01 so these logs also have timestamp version in future for easier comparison with current vs past compiles.
memcache fails to compile.... Code: make: *** [Makefile:216: memcache_pool.lo] Error 1 /bin/sh /svr-setup/memcache-3.0.8/libtool --tag=CC --mode=compile ccache gcc -I. -I/svr-setup/memcache-3.0.8 -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 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/local/include/php -DZEND_COMPILE_DL_EXT=1 -c /svr-setup/memcache-3.0.8/memcache.c -o memcache.lo -MMD -MF memcache.dep -MT memcache.lo ccache gcc -I. -I/svr-setup/memcache-3.0.8 -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 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/local/include/php -DZEND_COMPILE_DL_EXT=1 -c /svr-setup/memcache-3.0.8/memcache.c -MMD -MF memcache.dep -MT memcache.lo -fPIC -DPIC -o .libs/memcache.o In file included from /svr-setup/memcache-3.0.8/php_memcache.h:34, from /svr-setup/memcache-3.0.8/memcache.c:30: /svr-setup/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory 45 | #include "ext/standard/php_smart_str_public.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:213: memcache.lo] Error 1 PHP memcache extension installed Here is more of the compilation.... Code: ccache gcc -I. -I/svr-setup/memcache-3.0.8 -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 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/local/include/php -DZEND_COMPILE_DL_EXT=1 -c /svr-setup/memcache-3.0.8/memcache_ascii_protocol.c -MMD -MF memcache_ascii_protocol.dep -MT memcache_ascii_protocol.lo -fPIC -DPIC -o .libs/memcache_ascii_protocol.o ccache gcc -I. -I/svr-setup/memcache-3.0.8 -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 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/local/include/php -DZEND_COMPILE_DL_EXT=1 -c /svr-setup/memcache-3.0.8/memcache_standard_hash.c -MMD -MF memcache_standard_hash.dep -MT memcache_standard_hash.lo -fPIC -DPIC -o .libs/memcache_standard_hash.o ccache gcc -I. -I/svr-setup/memcache-3.0.8 -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 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/local/include/php -DZEND_COMPILE_DL_EXT=1 -c /svr-setup/memcache-3.0.8/memcache_consistent_hash.c -MMD -MF memcache_consistent_hash.dep -MT memcache_consistent_hash.lo -fPIC -DPIC -o .libs/memcache_consistent_hash.o ccache gcc -I. -I/svr-setup/memcache-3.0.8 -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 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/local/include/php -DZEND_COMPILE_DL_EXT=1 -c /svr-setup/memcache-3.0.8/memcache_pool.c -MMD -MF memcache_pool.dep -MT memcache_pool.lo -fPIC -DPIC -o .libs/memcache_pool.o ccache gcc -I. -I/svr-setup/memcache-3.0.8 -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 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/local/include/php -DZEND_COMPILE_DL_EXT=1 -c /svr-setup/memcache-3.0.8/memcache_session.c -MMD -MF memcache_session.dep -MT memcache_session.lo -fPIC -DPIC -o .libs/memcache_session.o In file included from /svr-setup/memcache-3.0.8/php_memcache.h:34, from /svr-setup/memcache-3.0.8/memcache.c:30: /svr-setup/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory 45 | #include "ext/standard/php_smart_str_public.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:213: memcache.lo] Error 1 make: *** Waiting for unfinished jobs.... In file included from /svr-setup/memcache-3.0.8/memcache_ascii_protocol.c:26: /svr-setup/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory 45 | #include "ext/standard/php_smart_str_public.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. In file included from /svr-setup/memcache-3.0.8/php_memcache.h:34, from /svr-setup/memcache-3.0.8/memcache_standard_hash.c:27: /svr-setup/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory 45 | #include "ext/standard/php_smart_str_public.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:228: memcache_standard_hash.lo] Error 1 make: *** [Makefile:222: memcache_ascii_protocol.lo] Error 1 In file included from /svr-setup/memcache-3.0.8/memcache_binary_protocol.c:34: /svr-setup/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory 45 | #include "ext/standard/php_smart_str_public.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:225: memcache_binary_protocol.lo] Error 1 In file included from /svr-setup/memcache-3.0.8/php_memcache.h:34, from /svr-setup/memcache-3.0.8/memcache_consistent_hash.c:29: /svr-setup/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory 45 | #include "ext/standard/php_smart_str_public.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:231: memcache_consistent_hash.lo] Error 1 /svr-setup/memcache-3.0.8/memcache_pool.c:38:10: fatal error: ext/standard/php_smart_str.h: No such file or directory 38 | #include "ext/standard/php_smart_str.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:216: memcache_pool.lo] Error 1 /svr-setup/memcache-3.0.8/memcache_session.c:32:10: fatal error: ext/standard/php_smart_str.h: No such file or directory 32 | #include "ext/standard/php_smart_str.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:234: memcache_session.lo] Error 1 /bin/sh /svr-setup/memcache-3.0.8/libtool --tag=CC --mode=compile ccache gcc -I. -I/svr-setup/memcache-3.0.8 -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 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/local/include/php -DZEND_COMPILE_DL_EXT=1 -c /svr-setup/memcache-3.0.8/memcache.c -o memcache.lo -MMD -MF memcache.dep -MT memcache.lo ccache gcc -I. -I/svr-setup/memcache-3.0.8 -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 -D_FORTIFY_SOURCE=2 -DHAVE_CONFIG_H -fPIC -O2 -fstack-protector-strong -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/local/include/php -DZEND_COMPILE_DL_EXT=1 -c /svr-setup/memcache-3.0.8/memcache.c -MMD -MF memcache.dep -MT memcache.lo -fPIC -DPIC -o .libs/memcache.o In file included from /svr-setup/memcache-3.0.8/php_memcache.h:34, from /svr-setup/memcache-3.0.8/memcache.c:30: /svr-setup/memcache-3.0.8/memcache_pool.h:45:10: fatal error: ext/standard/php_smart_str_public.h: No such file or directory 45 | #include "ext/standard/php_smart_str_public.h" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [Makefile:213: memcache.lo] Error 1 PHP memcache extension installed
thanks bug fixed updated 132.00stable and 140.00beta01 so run cmupdate to get latest updates for them and re-run centmin.sh menu option 10