This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps -lef|grep -i nginx:|awk '{ print $2}'|xargs kill -9 | |
nginx -t && brew services stop nginx && brew services start nginx | |
Current = PHP 7.3.24-(to be removed in future macOS) (cli) (built: Dec 21 2020 21:33:25) ( NTS ) | |
brew update && brew install mailhog | |
brew unlink php@7.2 && brew link --force --overwrite php@7.4 | |
где для unlink указывается версия PHP которую вы хотите отключить у себя, а для link версия которую требуется подключить | |
==== PHP 8 | |
brew install php@8.0 |