I want to upgrade to PHP 8 with Homebrew on Mac. But there is a problem!
1.php -v
PHP 7.3.11 (cli) (built: Jun 5 2020 23:50:40) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies
2.brew install shivammathur/php/php@8.0
Updating Homebrew...
Warning: shivammathur/php/php 8.0.3 is already installed, it's just not linked.
To link this version, run:
brew link php
3.brew link php
Error: Formulae found in multiple taps:
* shivammathur/php/php@5.6
* exolnet/deprecated/php@5.6
Please use the fully-qualified name (e.g. shivammathur/php/php@5.6) to refer to the formula.
4.brew untap exolnet/deprecated
Error: Refusing to untap exolnet/deprecated because it contains the following installed formulae or casks:
php@5.6
Nothing seems to work. I need to upgrade to PHP8. Any help is appreciated.