梦醒小白 发表于 2026-7-10 15:53:47

php8.4安装redis扩展拉取旧版本

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:面板11.81,拉取redis-5.3.7
系统版本:
问题描述:
相关截图(日志、错误):/bin/sh /root/redis-5.3.7/libtool --tag=CC --mode=compile cc -I. -I/root/redis-5.3.7 -I/www/server/php/84/include/php -I/www/server/php/84/include/php/main -I/www/server/php/84/include/php/TSRM -I/www/server/php/84/include/php/Zend -I/www/server/php/84/include/php/ext -I/www/server/php/84/include/php/ext/date/lib -I/www/server/php/84/include/php/ext-DHAVE_CONFIG_H-g -O2 -D_GNU_SOURCE    -DZEND_COMPILE_DL_EXT=1 -c /root/redis-5.3.7/redis.c -o redis.lo-MMD -MF redis.dep -MT redis.lomkdir .libs cc -I. -I/root/redis-5.3.7 -I/www/server/php/84/include/php -I/www/server/php/84/include/php/main -I/www/server/php/84/include/php/TSRM -I/www/server/php/84/include/php/Zend -I/www/server/php/84/include/php/ext -I/www/server/php/84/include/php/ext/date/lib -I/www/server/php/84/include/php/ext -DHAVE_CONFIG_H -g -O2 -D_GNU_SOURCE -DZEND_COMPILE_DL_EXT=1 -c /root/redis-5.3.7/redis.c -MMD -MF redis.dep -MT redis.lo-fPIC -DPIC -o .libs/redis.o/root/redis-5.3.7/redis.c:30:10: fatal error: standard/php_random.h: No such file or directory   30 | #include <standard/php_random.h>      |          ^~~~~~~~~~~~~~~~~~~~~~~compilation terminated.make: *** Error 1error
页: [1]
查看完整版本: php8.4安装redis扩展拉取旧版本