宝塔用户_ubgzmx 发表于 2024-3-19 11:23:49

【待反馈】宝塔上面安装phpredis扩展,安装报错了

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:php5.6
系统版本:centos7
问题描述:宝塔上面安装phpredis扩展,但实际没有安装上,
相关截图(日志、错误):
zmalloc.h:55:2: error: #error "Newer version of jemalloc required"#error "Newer version of jemalloc required"^~~~~make: *** Error 1debug.c: In function ‘mallctl_int’:debug.c:333:18:
warning: implicit declaration of function ‘je_mallctl’ [-Wimplicit-function-declara

宝塔用户_ubgzmx 发表于 2024-3-19 11:49:41

报错了,求帮助!

大炮运维V587 发表于 2024-3-19 11:59:16

宝塔用户_ubgzmx 发表于 2024-3-19 11:49
报错了,求帮助!

您好,您的redis安装好了吗?看提示是按照jemalloc的时候报错了
您手动安装下这个依赖
yum install jemalloc -y
然后重新 安装Redis后,再到您的PHP扩展中安装redis扩展

宝塔用户_ubgzmx 发表于 2024-3-19 12:13:05

本帖最后由 宝塔用户_ubgzmx 于 2024-3-19 12:14 编辑

大炮运维V587 发表于 2024-3-19 11:59
您好,您的redis安装好了吗?看提示是按照jemalloc的时候报错了
您手动安装下这个依赖


您好,老师。 我按照您的提示已经手动安装了您给的依赖,但是我重新安装reids的时候同样报错:In file included from server.h:72:0,
from debug.c:31:
zmalloc.h:55:2: error: #error "Newer version of jemalloc required"
#error "Newer version of jemalloc required"
^~~~~ake: *** Error 1
make: *** Error 1
make: *** Error 1
debug.c: In function ‘mattach://169610.pngallctl_int’

宝塔用户_ubgzmx 发表于 2024-3-19 12:25:33

redis6.2版本的 启动服务失败了

宝塔用户_ubgzmx 发表于 2024-3-19 13:41:38

大炮运维V587 发表于 2024-3-19 11:59
您好,您的redis安装好了吗?看提示是按照jemalloc的时候报错了
您手动安装下这个依赖



reidis安装还是报错
页: [1]
查看完整版本: 【待反馈】宝塔上面安装phpredis扩展,安装报错了