Quick install PHP 7.0: 1. Install depends PHP 7.0 $ brew install autoconf automake gmp homebrew/versions/bison27 gd freetype t1lib gettext zlib mcrypt 2. Configure PHP 7.0 $ git clone --depth=1 https://github.com/php/php-src.git $ cd php-src