加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

Linux中安装redis的phpredis扩展

发布时间:2020-12-14 01:10:21 所属栏目:Linux 来源:网络整理
导读:下载phpredis扩展 http://pecl.php.net/package/redis wget http://pecl.php.net/get/redis-4.0.2.tgz 需要环境配置文件 /user/local/php/bin/phpize 会生成configure文件 错误解决 Cannot find autoconf. Please check your autoconf installation and the

下载phpredis扩展

http://pecl.php.net/package/redis

wget http://pecl.php.net/get/redis-4.0.2.tgz

需要环境配置文件

/user/local/php/bin/phpize

会生成configure文件

错误解决
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then,rerun this script

yum -y install autoconf

为redis扩展做configure配置

./configure --with-php-config=/usr/local/php/bin/php-config
make && make install




(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读