Skip to content

Instantly share code, notes, and snippets.

@eporama
eporama / phpenv-osx.sh
Last active October 14, 2017 11:04 — forked from webbj74/phpenv-osx.sh
Setup multiple versions of PHP on OSX using homebrew
#!/usr/bin/env bash
# Use this script to install or re-install multiple versions of PHP
# You should be able to re-run the script multiple times; it will update/reinstall what it needs.
# Check OS
if [ "${OSTYPE//[0-9.]/}" != "darwin" ]; then
echo "This script is intended for OSX users."
exit