More than 1 year has passed since last update.

php-build => ライブラリ不足の発見 => brew install => php-build... を繰り返すのは不毛なので、私がインストールした際の手順を残しておきます。

 # configure: WARNING: bison versions supported for regeneration of the Zend/PHP parsers
$ git checkout adf87c6f6f6f7fa93e85e0ce2ba1135582716f6c /usr/local/Library/Formula/bison.rb 
$ brew install bison
$ bison --version
$ brew link bison --force
$ source ~/.bash_profile
 # configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.
$ brew instal re2c
 # configure: error: jpeglib.h not found.
$ brew install libjpeg
 # configure: error: png.h not found.
$ brew install libpng
 # configure: error: mcrypt.h not found. Please reinstall libmcrypt.
$ brew reinstall libmcrypt



Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account log in.