PHP logo

请安装Homebrew先

# 添加源
brew tap josegonzalez/homebrew-php

# 一键安装php各个版本
brew install php54 php54-mcrypt
brew install php55 php55-xdebug
brew install php56