Skip to content

Instantly share code, notes, and snippets.

@remarkablemark
Last active August 21, 2024 18:57
Show Gist options
  • Save remarkablemark/69d385a039cd8258c642b377f6e55eb4 to your computer and use it in GitHub Desktop.
Save remarkablemark/69d385a039cd8258c642b377f6e55eb4 to your computer and use it in GitHub Desktop.
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