Skip to content

Instantly share code, notes, and snippets.

@mklasen
Created March 16, 2020 15:59
Show Gist options
  • Save mklasen/12aaa9f48bc0d90c04ac143a136dddd4 to your computer and use it in GitHub Desktop.
Save mklasen/12aaa9f48bc0d90c04ac143a136dddd4 to your computer and use it in GitHub Desktop.
MAMP Pro bash profile / .zprofile settings
# Set MAMP's latest PHP version
PHP_VERSION=$(ls /Applications/MAMP/bin/php/ | sort -n | tail -1)
export PATH=/Applications/MAMP/bin/php/${PHP_VERSION}/bin:$PATH
# Add support for MYSQL (wp db commands)
export PATH=/Applications/MAMP/Library/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment