因为要安装 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` 是什么?
因为要安装 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` 是什么?
bottle block是指bottle代码块,是brew用来直接下载二进制包进行安装的代码,加上-fs的意思是--build-from-source,也就是从源代码编译安装
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
C++高性能并发应用_C++如何开发性能关键应用
Java AI集成Deep Java Library_Java怎么集成AI模型部署
Golang后端API开发_Golang如何高效开发后端和API
Python异步并发改进_Python异步编程有哪些新改进
C++系统编程内存管理_C++系统编程怎么与Rust竞争内存安全
Java GraalVM原生镜像构建_Java怎么用GraalVM构建高效原生镜像
Python FastAPI异步API开发_Python怎么用FastAPI构建异步API
C++现代C++20/23/26特性_现代C++有哪些新标准特性如modules和coroutines
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号