Last active
August 21, 2024 18:57
-
-
Save remarkablemark/69d385a039cd8258c642b377f6e55eb4 to your computer and use it in GitHub Desktop.
macOS brew install PHP 7: https://remarkablemark.org/blog/2022/10/06/mac-brew-install-php-7/
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
brew tap shivammathur/php | |
brew install shivammathur/php/php@7.4 | |
brew link --force --overwrite php@7.4 | |
brew services start php@7.4 | |
echo 'export PATH="/opt/homebrew/opt/php@7.4/bin:$PATH"' >> ~/.zshrc # or ~/.bashrc | |
echo 'export PATH="/opt/homebrew/opt/php@7.4/sbin:$PATH"' >> ~/.zshrc # or ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment