title: Error when install PHP with brew in OS Monterey
body: <p>I got php is deleted in OS Monterey, so I try to install it via Homebrew</p>
  <p>I already install Homebrew, update tap to shivammathur/php and use this command</p>
  <pre><code>brew install shivammathur/php/php@7.4
  </code></pre>
  <p>but I got this response code</p>
  <pre><code>fatal: Could not resolve HEAD to a revision
  Warning: No available formula with the name &quot;httpd&quot; (dependency of shivammathur/php/php@7.4).
  ==&gt; Searching for similarly named formulae...
  Error: No similarly named formulae found.
  ==&gt; Searching for a previously deleted formula (in the last month)...
  Error: No previously deleted formula found.
  ==&gt; Searching taps on GitHub...
  Error: No formulae found in taps.
  </code></pre>
  <p>When I check brew version with <code>brew --version</code> I got this info</p>
  <pre><code>Homebrew 3.3.2
  Homebrew/homebrew-core (no Git repository)
  Homebrew/homebrew-cask (git revision 5c43c2133d; last commit 2021-11-06)
  </code></pre>
  <p>is that <strong>no Git repository</strong> issue related with why I cant install php in my device? How to solve this issue</p>
  <p><strong>I need this to install composer and install Laravel,</strong> so install XAMPP I think is not clear solution right now</p>
  <p>Thankyou</p>