Php7 Redis客户端在Alpine OS上 [英] Php7 Redis Client on Alpine OS

查看:104
本文介绍了Php7 Redis客户端在Alpine OS上的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用alpine 3.5作为基本映像制作了一个docker映像.我希望我的php apllication在容器内运行以与Redis服务器通信.但是我在Alpine中找不到任何php7-redis客户端.

I crafted a docker image using alpine 3.5 as base Image. I want my php apllication running inside container to communicate with a redis server.But I don't find any php7-redis client in Alpine.

是否有解决方法?我尝试使用pecl安装redis,但在高山地区没有pecl软件包.我尝试使用pear,但pear没有redis软件包.对这个问题有什么想法吗?

Is there a workway around it ?I tried to use pecl to install redis but there is no pecl package in alpine.I tried with pear but pear doesn't have redis package. Any thoughts on this issue ?

推荐答案

您可以在此处找到解决方案 https://pkgs.alpinelinux.org/package/edge/community/x86_64/php7-redis

You can find your solution here https://pkgs.alpinelinux.org/package/edge/community/x86_64/php7-redis

这篇关于Php7 Redis客户端在Alpine OS上的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆