a year later
2 years later
5 months later
5 months later

Hello, it may be a problem with the detection method, so the prompt is not supported
Due to taking care of the installation of small machines, aapanel uses the disabled fileinfo parameter by default. It may be that the disabled parameter is detected, so the prompt is not supported.
You can use the following command to reinstall php with fileinfo enabled by default
command line execution
#Download php compile and install script
wget http://node.aapanel.com/install/0/php.sh

#Replace disable fileinfo parameter to enable
sed -i "s/--disable-fileinfo/--enable--fileinfo/g" php.sh

#Install php-7.4, if not 7.4, please replace 7.4 with your php version
bash php.sh install 7.4

    a month later

    rotic
    i follow the intructions but got error like this

    c: fatal error: Killed signal terminated program cc1
    compilation terminated.
    make: *** [Makefile:1087: ext/fileinfo/libmagic/apprentice.lo] Error 1
    /bin/sh /www/server/php/82/src/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/fileinfo/ -I/www/server/php/82/src/ext/fileinfo/ -I/www/server/php/82/src/include -I/www/server/php/82/src/main -I/www/server/php/82/src -I/www/server/php/82/src/ext/date/lib -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu -I/usr/include/libpng16 -I/usr/include/freetype2 -I/www/server/php/82/src/ext/mbstring/libmbfl -I/www/server/php/82/src/ext/mbstring/libmbfl/mbfl -I/www/server/php/82/src/TSRM -I/www/server/php/82/src/Zend -D_GNU_SOURCE -fno-common -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -I/www/server/php/82/src/ext/fileinfo/libmagic -c /www/server/php/82/src/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo -MMD -MF ext/fileinfo/libmagic/apprentice.dep -MT ext/fileinfo/libmagic/apprentice.lo
    cc: fatal error: Killed signal terminated program cc1
    compilation terminated.

    make: *** [Makefile:1087: ext/fileinfo/libmagic/apprentice.lo] Error 1

    Ubuntu 20.04.4 LTS
    \l
    Bit:64 Mem:1978M Core:2 gcc:9.4.0 cmake:3.16.3
    Linux 5.10.108-0510108-generic x86_64
    ERROR: php-8.2.14 install failed.
    Please submit to https://www.aapanel.com/forum for help

    Hello, the system killed due to insufficient memory. Try to install Linux Tools in the app store and configure SWAP to increase 1024. Is reinstallation normal?