Local AMP Setup
This document is intended to be a minimum requirement recommendation for local development software.
It is not intended to replace more robust developing environments such as Vagrant or Dev server.
Apache
-
Apache version
2.2.x
or greater.
MySQL
-
MySQL version
5.6.x
or greater.
PHP
-
PHP version
5.5.x
or greater. - Install PHP extensions: mcrypt, xdebug, gettext, gd, intl, mbstring
Instructions for Mac OS X
All of the installations on the Mac rely on Homebrew.
1. install homebrew
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
You may be asked to install the Xcode developer tools at some point in the installation, make sure you install them and try to run Xcode in the GUI if possible afterward.
2. tap dupes (essentially register a repo)
brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
If you need to unsinstall Homebrew
uninstall homebrew
cd `brew --prefix`
rm -rf Cellar
brew prune
rm -rf Library .git .gitignore bin/brew README.md share/man/man1/brew
rm -rf ~/Library/Caches/Homebrew