aaPanel_Kern
So, OK. I also used Ubuntu 22 on my previous two hosts. aaPanel installed PHP without problems (I always used "fast"). But here on this (new server) there was such a problem.
/bin/sh /www/server/php/72/src/libtool --silent --preserve-dup-deps --mode=compile cc -Wno-write-strings -DSTDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/intl/ -I/www/server/php/72/src/ext/intl/ -DPHP_ATOM_INC -I/www/server/php/72/src/include -I/www/server/php/72/src/main -I/www/server/php/72/src -I/www/server/php/72/src/ext/date/lib -I/usr/include/libxml2 -I/usr/local/openssl/include -I/usr/local/curl/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/www/server/php/72/src/ext/mbstring/oniguruma -I/www/server/php/72/src/ext/mbstring/libmbfl -I/www/server/php/72/src/ext/mbstring/libmbfl/mbfl -I/www/server/php/72/src/ext/sqlite3/libsqlite -I/www/server/php/72/src/ext/zip/lib -I/www/server/php/72/src/TSRM -I/www/server/php/72/src/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /www/server/php/72/src/ext/intl/collator/collator_convert.c -o ext/intl/collator/collator_convert.lo /www/server/php/72/src/ext/intl/collator/collator_sort.c: In function ‘zif_collator_sort’: /www/server/php/72/src/ext/intl/collator/collator_sort.c:349:33: error: ‘TRUE’ undeclared (first use in this function) 349 | collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU ); | ~ /www/server/php/72/src/ext/intl/collator/collator_sort.c:349:33: note: each undeclared identifier is reported only once for each function it appears in /www/server/php/72/src/ext/intl/collator/collator_sort.c: In function ‘zif_collator_asort’: /www/server/php/72/src/ext/intl/collator/collator_sort.c:543:33: error: ‘FALSE’ undeclared (first use in this function) 543 | collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU ); | ^~~~ make: *** [Makefile:1047: ext/intl/collator/collator_sort.lo] Error 1 make: *** Waiting for unfinished jobs.... /bin/sh /www/server/php/72/src/libtool --silent --preserve-dup-deps --mode=link cc -DPHP_ATOM_INC -I/www/server/php/72/src/include -I/www/server/php/72/src/main -I/www/server/php/72/src -I/www/server/php/72/src/ext/date/lib -I/usr/include/libxml2 -I/usr/local/openssl/include -I/usr/local/curl/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/www/server/php/72/src/ext/mbstring/oniguruma -I/www/server/php/72/src/ext/mbstring/libmbfl -I/www/server/php/72/src/ext/mbstring/libmbfl/mbfl -I/www/server/php/72/src/ext/sqlite3/libsqlite -I/www/server/php/72/src/ext/zip/lib -I/www/server/php/72/src/TSRM -I/www/server/php/72/src/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -o ext/opcache/opcache.la -export-dynamic -avoid-version -prefer-pic -module -rpath /www/server/php/72/src/modules -L/usr/local/openssl/lib -L/usr/local/curl/lib ext/opcache/ZendAccelerator.lo ext/opcache/zend_accelerator_blacklist.lo ext/opcache/zend_accelerator_debug.lo ext/opcache/zend_accelerator_hash.lo ext/opcache/zend_accelerator_module.lo ext/opcache/zend_persist.lo ext/opcache/zend_persist_calc.lo ext/opcache/zend_file_cache.lo ext/opcache/zend_shared_alloc.lo ext/opcache/zend_accelerator_util_funcs.lo ext/opcache/shared_alloc_shm.lo ext/opcache/shared_alloc_mmap.lo ext/opcache/shared_alloc_posix.lo ext/opcache/Optimizer/zend_optimizer.lo ext/opcache/Optimizer/pass1_5.lo ext/opcache/Optimizer/pass2.lo ext/opcache/Optimizer/pass3.lo ext/opcache/Optimizer/optimize_func_calls.lo ext/opcache/Optimizer/block_pass.lo ext/opcache/Optimizer/optimize_temp_vars_5.lo ext/opcache/Optimizer/nop_removal.lo ext/opcache/Optimizer/compact_literals.lo ext/opcache/Optimizer/zend_cfg.lo ext/opcache/Optimizer/zend_dfg.lo ext/opcache/Optimizer/dfa_pass.lo ext/opcache/Optimizer/zend_ssa.lo ext/opcache/Optimizer/zend_inference.lo ext/opcache/Optimizer/zend_func_info.lo ext/opcache/Optimizer/zend_call_graph.lo ext/opcache/Optimizer/sccp.lo ext/opcache/Optimizer/scdf.lo ext/opcache/Optimizer/dce.lo ext/opcache/Optimizer/compact_vars.lo ext/opcache/Optimizer/zend_dump.lo ar: u' modifier ignored since
D' is the default (see `U') /bin/sh /www/server/php/72/src/libtool --silent --preserve-dup-deps --mode=install cp ext/opcache/opcache.la /www/server/php/72/src/modules /bin/sh /www/server/php/72/src/libtool --silent --preserve-dup-deps --mode=compile cc -Wno-write-strings -DSTDC_LIMIT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/intl/ -I/www/server/php/72/src/ext/intl/ -DPHP_ATOM_INC -I/www/server/php/72/src/include -I/www/server/php/72/src/main -I/www/server/php/72/src -I/www/server/php/72/src/ext/date/lib -I/usr/include/libxml2 -I/usr/local/openssl/include -I/usr/local/curl/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/www/server/php/72/src/ext/mbstring/oniguruma -I/www/server/php/72/src/ext/mbstring/libmbfl -I/www/server/php/72/src/ext/mbstring/libmbfl/mbfl -I/www/server/php/72/src/ext/sqlite3/libsqlite -I/www/server/php/72/src/ext/zip/lib -I/www/server/php/72/src/TSRM -I/www/server/php/72/src/Zend -I/usr/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /www/server/php/72/src/ext/intl/collator/collator_sort.c -o ext/intl/collator/collator_sort.lo /www/server/php/72/src/ext/intl/collator/collator_sort.c: In function ‘zif_collator_sort’: /www/server/php/72/src/ext/intl/collator/collator_sort.c:349:33: error: ‘TRUE’ undeclared (first use in this function) 349 | collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU ); | ~ /www/server/php/72/src/ext/intl/collator/collator_sort.c:349:33: note: each undeclared identifier is reported only once for each function it appears in /www/server/php/72/src/ext/intl/collator/collator_sort.c: In function ‘zif_collator_asort’: /www/server/php/72/src/ext/intl/collator/collator_sort.c:543:33: error: ‘FALSE’ undeclared (first use in this function) 543 | collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU ); | ^~~~ make: *** [Makefile:1047: ext/intl/collator/collator_sort.lo] Error 1 ======================================================== Bit:64 Mem:3923M Core:4 gcc:11.3.0 cmake:3.22.1 Linux 5.15.0-69-generic x86_64 ERROR: php-7.2.33 install failed. Please submit to https://www.aapanel.com/forum for help