title: PHP version different to CLI version using Homebrew MacOS Monterey
body: <p>I have installed PHP with homebrew, switch to PHP 8.0 but the browser phpinfo() is showing 7.4. I am on the latest version of Monterey.</p>
  <p><code>brew services stop httpd</code> is stopping the apache service.</p>
  <pre><code>% php -v
  PHP 8.0.19 (cli) (built: May 12 2022 02:25:19) ( NTS )
  Copyright (c) The PHP Group
  Zend Engine v4.0.19, Copyright (c) Zend Technologies
      with Zend OPcache v8.0.19, Copyright (c), by Zend Technologies
  </code></pre>
  <pre><code>% which php
  /opt/homebrew/bin/php
  </code></pre>
  <p>How would I get PHP 8.0 to work in the browser?</p>