How to switch off php 8.1 on mac installed through brew?
Sometimes it is necessary to manually turn off a PHP version. sphp alone does not do the job. Here’s how to do it.
1 brew unlink php@8.1
Switching the versions when we have a different homebrew PHP tap!
1 brew link --overwrite --force shivammathur/php/php@8.0