Skip to content

Instantly share code, notes, and snippets.

@remarkablemark
Last active September 14, 2023 23:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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