Skip to content

Instantly share code, notes, and snippets.

@maijs
Last active August 29, 2015 14:08
Show Gist options
  • Save maijs/667a12c564b548041493 to your computer and use it in GitHub Desktop.
Save maijs/667a12c564b548041493 to your computer and use it in GitHub Desktop.
Homebrewed Apache + MySQL + PHP
# Add taps
brew tap homebrew/apache
brew tap homebrew/dupes
brew tap homebrew/php
# Install Apache
brew install httpd22
# Install PHP
brew install php55 --homebrew-apxs --with-apache --without-pcntl
brew install php55-pcntl
brew install php55-xdebug
# Install MySQL
brew install mysql
# Change mysql root password
mysqladmin -u root password NEWPASSWORD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment