为了能快速了解并处理您的问题,请提供以下基础信息:
9.2
aliyun2
php8.2安装fileinof失败
/www/server/php/82/src/ext/fileinfo/libmagic/softmagic.c:32:
/www/server/php/82/src/ext/fileinfo/libmagic/softmagic.c:507:7: error: expected identifier or ‘(’ before ‘__extension__’
char *strndup(const char *, size_t);
^
/www/server/php/82/src/ext/fileinfo/libmagic/softmagic.c:510:1: error: expected identifier or ‘(’ before ‘__extension__’
strndup(const char *str, size_t n)
^
make: *** [libmagic/softmagic.lo] Error 1
error
|-Successify --- 命令已执行! ---
|
|