Last Updated: February 25, 2016
·
267
· aleemb

OSX Setup Nginx + MySQL + PHP + Node

Nginx + MySQL

via @Reinaldo

brew install nginx
// auto start on boot
ln -sfv /usr/local/opt/nginx/*.plist ~/Library/LaunchAgents
brew install mysql
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
brew install php55
brew install php55-mycrypt
brew install php55-memcache
brew install php55-memcached
brew install php55-phalcon
brew install php55-redis
brew install php55-sundown
brew install php55-xdebug

Node

  1. Install XCode Developer Tools.

  2. Install node
    brew install node

  3. Update NPM as needed. Do NOT use npm update, instead stick with:

    npm install -g npm@latest