macOS更新到13,php命令失效,brew install php安装php报错 Warning: You are using macOS 13. We do not provide support for this pre-release version.
### 问题:m1的mac本昨天更新至macOS Ventura 13后,命令行里的php命令失效。
尝试解决:使用brew install php命令重新安装失败,提示如下
警告:您正在使用macOS 13。 我们不提供对这个预发布版本的支持。 您将遇到某些公式的构建失败。 请创建拉请求,而不是在Homebrew的GitHub上寻求帮助,
~ $ php -v 127 ↵
zsh: command not found: php
~ $ brew install php 127 ↵
Warning: You are using macOS 13.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
pre-release version.
Error: m4: no bottle available!
You can try to install from source with:
brew install --build-from-source m4
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels.