title: Brew not using right php version (CLI)
body: <p>I always get stuck on upgrading php... I have done:</p>
  <pre><code>brew link php@8.1 --force --overwrite
  </code></pre>
  <p>If I run it again I get</p>
  <pre><code>Warning: Already linked: /opt/homebrew/Cellar/php/8.1.9
  </code></pre>
  <p>When I run</p>
  <pre><code>valet use php@8.1 --force
  </code></pre>
  <p>and then</p>
  <pre><code>valet use php@8.1
  </code></pre>
  <p>I get</p>
  <pre><code>Valet is already using version: php@8.1
  </code></pre>
  <p>But when I run</p>
  <pre><code>php -v
  </code></pre>
  <p>I get</p>
  <pre><code>PHP 8.0.22
  </code></pre>
  <p>I have also done</p>
  <pre><code>valet restart
  </code></pre>
  <p>and restarted my computer.</p>
  <p>Previously in my zshrc I had:</p>
  <pre><code>export PATH=&quot;/opt/homebrew/opt/php@8.0/bin:$PATH&quot;
  export PATH=&quot;/opt/homebrew/opt/php@8.0/sbin:$PATH&quot;
  </code></pre>
  <p>I have commented these out and added:</p>
  <pre><code>export PATH=&quot;/opt/homebrew/sbin:$PATH&quot;
  </code></pre>
  <p>and then</p>
  <pre><code>brew services restart php &amp;&amp; valet restart
  </code></pre>
  <p>If I then run</p>
  <pre><code>brew doctor
  </code></pre>
  <p>I still get:</p>
  <pre><code>Warning: Homebrew's &quot;sbin&quot; was not found in your PATH but you have installed
  formulae that put executables in /opt/homebrew/sbin.
  Consider setting your PATH for example like so:
    echo 'export PATH=&quot;/opt/homebrew/sbin:$PATH&quot;' &gt;&gt; ~/.zshrc
  </code></pre>