Is the above list to be expected?
Why do I have 2 php8* ports?
Should I do anything at all?
There are really only two reasons a port is installed:
1. Someone ran 'port install' to install that specific port, or
2. Some other port depends on it.
You can check whether any other installed port needs a given port with
'port dependents', e.g. 'port dependents php82-gd'. If a port has no
dependents and you don't need it for any other reason, it's fine to
uninstall it. See
<https://guide.macports.org/#using.common-tasks.finddepending> for more
info.
another way to look at things is first run
> port installed requested
that will list the ports you actively requested to be installed. If
there is anything there you feel you don't want to have as a requested
port, flag it as unrequested with
> sudo port setunrequested <portname>
note, this does not uninstall anything in itself.
Next run
> sudo port reclaim
and follow the instructions. This will prompt you to uninstall any ports
that are *both* no longer requested and also not in the deps tree of any
requested port.