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

  1. Instale as ferramentas de desenvolvedor XCode .

  2. Nó de instalação
    brew install node

  3. Atualize o NPM conforme necessário. NÃO use npm update, em vez disso, fique com:

    npm install -g npm@latest