为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:直接在面板中安装php8.3 然后安装redis扩展
相关截图(日志、错误):
creating libtoolappending configuration tag "CXX" to libtoolconfigure: patching config.h.inconfigure: creating ./config.statusconfig.status: creating config.h/bin/sh /www/server/panel/install/redis-6.3.0/libtool --tag=CC --mode=compile cc -I. -I/www/server/panel/install/redis-6.3.0 -I/www/server/panel/install/redis-6.3.0/include -I/www/server/panel/install/redis-6.3.0/main -I/www/server/panel/install/redis-6.3.0 -I/www/server/php/83/include/php -I/www/server/php/83/include/php/main -I/www/server/php/83/include/php/TSRM -I/www/server/php/83/include/php/Zend -I/www/server/php/83/include/php/ext -I/www/server/php/83/include/php/ext/date/lib -I/www/server/php/83/include/php/ext -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /www/server/panel/install/redis-6.3.0/redis.c -o redis.lo -MMD -MF redis.dep -MT redis.lomkdir .libs cc -I. -I/www/server/panel/install/redis-6.3.0 -I/www/server/panel/install/redis-6.3.0/include -I/www/server/panel/install/redis-6.3.0/main -I/www/server/panel/install/redis-6.3.0 -I/www/server/php/83/include/php -I/www/server/php/83/include/php/main -I/www/server/php/83/include/php/TSRM -I/www/server/php/83/include/php/Zend -I/www/server/php/83/include/php/ext -I/www/server/php/83/include/php/ext/date/lib -I/www/server/php/83/include/php/ext -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /www/server/panel/install/redis-6.3.0/redis.c -MMD -MF redis.dep -MT redis.lo -fPIC -DPIC -o .libs/redis.oIn file included from /www/server/panel/install/redis-6.3.0/redis_cluster.h:4:0, from /www/server/panel/install/redis-6.3.0/redis.c:27:/www/server/panel/install/redis-6.3.0/cluster_library.h:381:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ REDIS_NODISCARD PHP_REDIS_API int cluster_map_keyspace(redisCluster *c); ^make: *** [redis.lo] Error 1error|-Successify --- 命令已执行! ---
|
|