Created
May 30, 2021 11:48
-
-
Save lavrentiev/1b5a39a158a1f286ff93065add5a2c8e to your computer and use it in GitHub Desktop.
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 | |
brew unlink php@7.4 && brew link --force --overwrite php@8.0 | |
-- /usr/local/etc/php/8.0 | |
==== PHP 7.4 | |
brew install php@8.0 | |
brew unlink php@8.0 && brew link --force --overwrite php@7.4 | |
-- /usr/local/etc/php/8.0/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment