无法在 mac os catalina 上将 php7.3 更新为 php7.4

unable to update php7.3 to php7.4 on mac os catlina

我已尝试将 php7.3 更新为 7.4 的所有解决方案,但无法安装


Running `brew update --preinstall`...
fatal: Could not resolve HEAD to a revision
Warning: No available formula with the name "httpd" (dependency of shivammathur/php/php@7.4).
==> 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.
haydaraliawan@Haydars-MBP ~ % 

请帮忙

httpd 公式是 homebrew/core 抽头的一部分。

确保您拥有核心存储库:

brew tap homebrew/core

此外,请 运行 brew doctor 并修复任何报告的问题。