Php7 Redis客户端在Alpine OS上 [英] Php7 Redis Client on 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屋!