【发布时间】:2021-09-26 13:22:13
【问题描述】:
我尝试使用自制软件 (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。
为什么我无法使用自制软件在 MacO 上找到或安装 php?
提前致谢!
旁注:我已经将自制软件更新到最新版本并检查了 github 上的公式,最后一次提交是 6 天前 https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/php.rb。
【问题讨论】:
-
brew doctor命令打印什么? -
感谢您最后的链接修复它!