Skip to content

Instantly share code, notes, and snippets.

@RRStoyanov
Created June 29, 2012 13:46
Show Gist options
  • Select an option

  • Save RRStoyanov/3018029 to your computer and use it in GitHub Desktop.

Select an option

Save RRStoyanov/3018029 to your computer and use it in GitHub Desktop.
brew install php3
rew install php53 -V --with-mysql --with-cgi --with-intl --with-imap --with-gmp | tee ~/brew-install-php53.log
==> Downloading http://www.php.net/get/php-5.3.13.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php53-5.3.13
==> ./configure --prefix=/usr/local/Cellar/php53/5.3.13 --disable-debug --with-config-file-path=/usr/local/etc/php/5.3 --with-config-file-scan-dir=/usr/local/etc/php/5.3/conf.d --with-iconv-dir=/usr --enable-dba --with-ndbm=/usr --enable-exif --enable-soap --enable-sqlite-utf8 --enable-wddx --enable-ftp --enable-sockets --enable-zip --enable-pcntl --enable-shmop --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-mbstring --enable-mbregex --enable-zend-multibyte --enable-bcmath --enable-calendar --with-openssl=/usr --with-zlib=/usr --with-bz2=/usr --with-ldap --with-ldap-sasl=/usr --with-xmlrpc --with-kerberos=/usr --with-libxml-dir=/usr/local/Cellar/libxml2/2.8.0 --with-xsl=/usr --with-curl=/usr --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr/X11 --with-mcrypt=/usr/local/Cellar/mcrypt/2.5.8 --with-jpeg-dir=/usr/local/Cellar/jpeg/8d --with-png-dir=/usr/X11 --with-gettext=/usr/local/Cellar/gettext/0.18.1.1 --with-snmp=/usr --with-tidy --with-mhash --with-libedit --mandir=/usr/local/Cellar/php53/5.3.13/share/man --enable-cgi --with-gmp=/usr/local/Cellar/gmp/5.0.5 --with-imap=/usr/local/Cellar/imap-uw/2007f --with-imap-ssl=/usr --enable-intl --with-icu-dir=/usr/local/Cellar/icu4c/4.8.1.1 --with-mysql-sock=/tmp/mysql.sock --with-mysqli=mysqlnd --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --with-iodbc --with-pdo-odbc=generic,/usr,iodbc
==> make
==> make install
==> /usr/local/Cellar/php53/5.3.13/bin/pear config-set php_ini /usr/local/etc/php/5.3/php.ini
==> Build Environment
CPU: dual-core 64-bit penryn
OS X: 10.7.4-x86_64
Xcode: 4.3.3 => /Developer
CC: /usr/bin/clang
CXX: /usr/bin/clang++ => /usr/bin/clang
LD: /usr/bin/clang
CFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.7
CPPFLAGS: -I/usr/local/Cellar/libxml2/2.8.0/include -I/usr/local/Cellar/icu4c/4.8.1.1/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include
LDFLAGS: -L/usr/local/Cellar/libxml2/2.8.0/lib -L/usr/local/Cellar/icu4c/4.8.1.1/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.7
PKG_CONFIG_PATH: /usr/local/Cellar/libxml2/2.8.0/lib/pkgconfig:/usr/local/Cellar/icu4c/4.8.1.1/lib/pkgconfig
Error: Failed executing: /usr/local/Cellar/php53/5.3.13/bin/pear config-set php_ini /usr/local/etc/php/5.3/php.ini (php53.rb:213)
If `brew doctor` does not, this may help you fix or report the issue:
https://github.com/josegonzalez/homebrew-php/issues/new
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment