无法在 macOS 上使用 Homebrew 安装 PHP

3
我正在尝试使用Homebrew(https://formulae.brew.sh/formula/php)在macOS上安装PHP,但每次都会出现以下错误:
Warning: No available formula or cask with the name "php".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.

当我使用 brew search php 时,我只能找到 phpstorm 和 eclipse-php。为什么我不能在 macOS 上使用 Homebrew 找到或安装 PHP 呢?先行致谢!
附注:我已经将 Homebrew 更新到最新版本,并检查了 GitHub 上的公式,最近一次提交是6天前 https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/php.rb

“brew doctor” 命令会打印什么内容? - OMi Shah
1
尝试访问此链接:https://githubmemory.com/repo/Homebrew/homebrew-core/issues/77629 - OMi Shah
谢谢你上次提供的链接,问题已经解决了! - Nick
1个回答

10

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接