学无先后,达者为师

网站首页 PHP其他 正文

docker alpine镜像 安装PHP扩展redis

作者:大肚晓东 更新时间: 2022-02-07 PHP其他

进入镜像执行 pecl install redis 报错:

configure: error: C compiler cannot create executables

解决方法

apk add gcc g++ make libffi-dev openssl-dev

原文链接:https://blog.csdn.net/oZhengTuoJiaSuo/article/details/113103302

栏目分类
最近更新