title: php -v always returns php@5.6
body: <p>Installed php@5.6 and php@8.1 with brew. <code>php -v</code> shows php@5.6 after <code>brew link php@5.6 --force --overwrite</code> (normal).</p>
  <p>Then, after using <code>brew unlink php@5.6</code> and <code>brew link php --force --overwrite</code> to switch to php@8.1, <code>php -v</code> <strong>still</strong> displays php@5.6.</p>
  <p>In other words, I'm stuck with php@5.6 and cannot switch to php@8.1.</p>
  <p>I know I edited a config file and added a line specifying php@5.6, but I can't remember which file it was.</p>
  <p><em><strong>How can I switch to php@8.1?</strong></em></p>
  <p>I'm using <em>brew</em> in <em>Ubuntu</em> via <em>WSL 2</em> under <em>Windows</em>. Thanks.</p>