<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>On 2024-09-08 23:27, Bernard via macports-users wrote: <br>
      <br>
    </p>
    <blockquote type="cite" style="color: #007cff;">When I type ‘port
      installed’, I notice I have 2 php8* ports (php82 @8.2.23_0 and
      php83 @8.3.11_0) and both are active. <br>
      ...[detail elided]... <br>
      Why do I have 2 php8* ports? <br>
      Should I do anything at all? <br>
    </blockquote>
    <br>
    Only two PHP8* ports? That's nothing! I have 8 Python* ports
    installed! <br>
    <br>
    Seriously, it is common in macports to have distinct ports or
    subports for different versions of software where users might want
    to keep multiple versions on hand for easy use. <br>
    <br>
    The `port select` command lets you switch between these versioned
    ports. Type `port help select` in your shell to find out more. <br>
    <br>
    Unfortunately, I do not see it described in the MacPorts Guide <a
      class="moz-txt-link-rfc2396E" href="https://guide.macports.org/"><https://guide.macports.org/></a>
    or the MacPorts wiki <a class="moz-txt-link-rfc2396E"
href="https://trac.macports.org/search?q=%22port+select%22&noquickjump=1&wiki=on"><https://trac.macports.org/search?q=%22port+select%22&noquickjump=1&wiki=on></a>.
    <br>
    <br>
    Does this answer your question? <br>
    <p>    —Jim DeLaHunt</p>
    <p><br>
    </p>
  </body>
</html>