php - brew install example -fs 中 -fs 用法是什么,bottle block 是什么?

 雪灵女子_826 发布于 2022-11-30 16:05

因为要安装 mcrypt ,所以使用 brew install php56-mcrypt,但是安装完后,查看phpinfo()中没有加载mcrypt,坚持下来发现:

安装的php开启了debug模式,而mcrypt没有,在github上找到一个issue:
https://github.com/Homebrew/h...
中 用 brew install php56-mcrypt -fs 就可以解决,实际操作确实可以解决,

issue中的解释是 Just pass -fs to your install arguments. brew install example -fs. It'll skip the bottle block entirely.
但是没有弄清楚,加上-fs参数就是跳过`bottle block` 吗?`bottle block` 是什么?

1 个回答
  • bottle block是指bottle代码块,是brew用来直接下载二进制包进行安装的代码,加上-fs的意思是--build-from-source,也就是从源代码编译安装

    2022-11-30 16:34 回答
撰写答案
今天,你开发时遇到什么问题呢?
立即提问
热门标签
PHP1.CN | 中国最专业的PHP中文社区 | PNG素材下载 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有