Skip to content

Instantly share code, notes, and snippets.

@marek-pietrzak-tg
Last active June 10, 2020 12:08
Show Gist options
  • Select an option

  • Save marek-pietrzak-tg/defbacaaee696c0ac80ef49159ee76e0 to your computer and use it in GitHub Desktop.

Select an option

Save marek-pietrzak-tg/defbacaaee696c0ac80ef49159ee76e0 to your computer and use it in GitHub Desktop.
Switch between PHP versions on Mac OS (after https://getgrav.org/blog/macos-catalina-apache-multiple-php-versions)
brew install php@7.3
brew install php@7.4
#!/bin/bash
brew unlink php@7.4 && brew link --force --overwrite php@7.3
#!/bin/bash
brew unlink php@7.3 && brew link --force --overwrite php@7.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment