Brew PHP 8 до 7,4
$ brew unlink php@7.1
$ brew link php@7.4 --force --overwrite
Graceful Gerbil
$ brew unlink php@7.1
$ brew link php@7.4 --force --overwrite
php 8.0.11 to 7.4 on windows