It gives me some error. Alma 8 linux latest, aaPanel is latest web server is Apache (no nginx, no lightspeed). Here is last lines of log:
2 -lz -lssl -lcrypto -o sapi/cli/php
/bin/ld: dynamic STT_GNU_IFUNC symbol mb_utf16be_to_wchar' with pointer equality inext/mbstring/libmbfl/filters/mbfilter_utf16.o' can not be used when making an executable; recompile with -fPIE and relink with -pie
collect2: error: ld returned 1 exit status
make: *** [Makefile:281: sapi/cli/php] Error 1
AlmaLinux release 8.10 (Cerulean Leopard)
Bit:64 Mem:2946M Core:3 gcc:8.5.0 cmake:3.26.5
Linux 4.18.0-553.44.1.el8_10.x86_64 x86_64
ERROR: php-8.4.2 install failed.