Skip to content

Instantly share code, notes, and snippets.

View aminer's full-sized avatar

Amine Rihane aminer

  • IUGO Mobile Entertainment Inc
  • Vancouver, Canada
View GitHub Profile
@aminer
aminer / multiple-php-versions-os-x.md
Created June 28, 2016 19:35 — forked from rbotzer/multiple-php-versions-os-x.md
Installing PHP versions on Mac OS X Mavericks (10.9)

Installing PHP versions on Mac OS X Mavericks (10.9+) and Higher

Using Homebrew, Homebrew-PHP and the RVM-like brew-php-switcher you can easily switch between multiple installed versions of PHP on your OS X machine (Mavericks 10.9 to El-Capitan 10.11).

Install the command line tools

    xcode-select --install # install the command line tools, if missing

Install Homebrew

    ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
    brew update && brew doctor