当前位置:论坛首页 > Linux面板 > 求助

【已回复】PHP 8.3安装redis扩展失败

发表在 Linux面板6 天前 [复制链接] 1 55

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:13.1

系统版本:centos 7.9

问题描述:直接在面板中安装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 --- 命令已执行! ---

使用道具 举报 只看该作者 回复
发表于 6 天前 | 显示全部楼层
您好,非常感谢反馈和支持!如需咨询宝塔面板相关问题,可通过官方微信客服进行在线咨询。
操作方式:复制下方链接,在微信中打开: https://docs.bt.cn/wechat-service
进入后即可在线与客服沟通。
为提高沟通效率,建议您在微信咨询前先填写以下信息,将信息一并发送给客服,以便客服快速定位您的问题:
问题描述(请尽量详细):
论坛帖子地址:
操作系统:
面板版本:
感谢您的支持!
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表