sudo brew install homebrew/php/php53 \
--WITHOUT-SNMP \
--without-apache \
--with-debug \
--WITH-FPM \
--WITH-INTL \
--with-homebrew-curl \
--WITH-HOMEBREW-LIBXSLT \
--WITH-HOMEBREW-OPENSSL \
--with-imap \
--with-mysql \
--with-tidy \
==>./configure--prefix=/usr/local/cellar/php53/5.3.29--localstatedir=/usr/loc
==> make
==> make Install
Make install
Installing PHP CLI binary:/usr/local/cellar/php53/5.3.29/bin/
CP:/usr/local/cellar/php53/5.3.29/bin/#INST @22891#: No such file or directory
Make: * * * [INSTALL-CLI] Error 1
Reply content:
sudo brew install homebrew/php/php53 \
--WITHOUT-SNMP \
--without-apache \
--with-debug \
--WITH-FPM \
--WITH-INTL \
--with-homebrew-curl \
--WITH-HOMEBREW-LIBXSLT \
--WITH-HOMEBREW-OPENSSL \
--with-imap \
--with-mysql \
--with-tidy \
==>./configure--prefix=/usr/local/cellar/php53/5.3.29--localstatedir=/usr/loc
==> make
==> make Install
Make install
Installing PHP CLI binary:/usr/local/cellar/php53/5.3.29/bin/
CP:/usr/local/cellar/php53/5.3.29/bin/#INST @22891#: No such file or directory
Make: * * * [INSTALL-CLI] Error 1
Make install general use sudo, brew installation can not take sudo, macport can
I usually use this binary package.
http://php-osx.liip.ch
Feel Unix compiled without Linux cool
Recommended Phpbrew
http://phpbrew.github.io/phpbrew/