Установка PHP70-FPM

$ brew install php70 --with-pear php70-amqp php70-event php70-igbinary php70-intl php70-mcrypt php70-mongodb php70-pcntl php70-pdo-pgsql php70-redis php70-ssh2 php70-xdebug php70-yaml php70-ssh2 php70-lua $ brew install --HEAD homebrew/php/php70-memcached

php70-memcached - Ставить только из HEAD

homebrew/php/php70-pthreads - Ломает подключение расширений к PHP, удаление пакета brew uninstall php70-pthreads не помогвет

Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php70-ssh2/ssh2.so' - dlopen(/usr/local/opt/php70-ssh2/ssh2.so, 9): Symbol not found: _executor_globals Referenced from: /usr/local/opt/php70-ssh2/ssh2.so Expected in: flat namespace in /usr/local/opt/php70-ssh2/ssh2.so in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php70-yaml/yaml.so' - dlopen(/usr/local/opt/php70-yaml/yaml.so, 9): Symbol not found: _basic_globals Referenced from: /usr/local/opt/php70-yaml/yaml.so Expected in: flat namespace in /usr/local/opt/php70-yaml/yaml.so in Unknown on line 0

Ставим из исходников

$ brew install --build-from-source php70 --with-pear php70-amqp php70-event php70-igbinary php70-intl php70-mcrypt php70-mongodb php70-pcntl php70-pdo-pgsql php70-redis php70-ssh2 php70-xdebug php70-yaml php70-ssh2 php70-lua php70-pthreads