Skip to content

Instantly share code, notes, and snippets.

@godbout
Created August 7, 2012 11:23
Show Gist options
  • Save godbout/3284628 to your computer and use it in GitHub Desktop.
Save godbout/3284628 to your computer and use it in GitHub Desktop.
php 5.4.5 install failed with homebrew-php
guilllo-air:ums guill$ brew upgrade -V
==> Upgrading php54
==> Downloading http://www.php.net/get/php-5.4.5.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php54-5.4.5
==> ./configure --prefix=/usr/local/Cellar/php54/5.4.5 --disable-debug --localstatedir=/usr/local/var --sysconfdir=/us
==> make
==> make install
==> /usr/local/Cellar/php54/5.4.5/bin/pear config-set php_ini /usr/local/etc/php/5.4/php.ini
config.log was copied to /Users/guill/Library/Logs/Homebrew
==> Build Environment
HOMEBREW_VERSION: 0.9.2
HEAD: 017ae9827154d9d7639a5e5809a84fb7d2a4f642
CPU: quad-core 64-bit sandybridge
OS X: 10.8-x86_64
Xcode: 4.4
CLT: 4.4.0.0.1.1249367152
X11: XQuartz 2.7.2 in /opt/X11
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.8
CXXFLAGS: -Os -w -pipe -march=native -Qunused-arguments -mmacosx-version-min=10.8
CPPFLAGS: -I/usr/local/Cellar/zlib/1.2.7/include -I/usr/local/Cellar/libxml2/2.8.0/include -I/usr/local/Cellar/gettext/0.18.1.1/include -isystem /usr/local/include
LDFLAGS: -L/usr/local/Cellar/zlib/1.2.7/lib -L/usr/local/Cellar/libxml2/2.8.0/lib -L/usr/local/Cellar/gettext/0.18.1.1/lib -L/usr/local/lib
MACOSX_DEPLOYMENT_TARGET: 10.8
PKG_CONFIG_PATH: /usr/local/Cellar/zlib/1.2.7/lib/pkgconfig:/usr/local/Cellar/libxml2/2.8.0/lib/pkgconfig:/usr/local/Library/Homebrew/pkgconfig
ACLOCAL_PATH: /usr/local/Cellar/libxml2/2.8.0/share/aclocal:/usr/local/Cellar/gettext/0.18.1.1/share/aclocal
OBJC: /usr/bin/clang
PATH: /usr/local/Cellar/zlib/1.2.7/bin:/usr/local/Cellar/libxml2/2.8.0/bin:/usr/local/Cellar/gettext/0.18.1.1/bin:/Users/guill/.rvm/gems/ruby-1.9.3-p125/bin:/Users/guill/.rvm/gems/ruby-1.9.3-p125@global/bin:/Users/guill/.rvm/rubies/ruby-1.9.3-p125/bin:/Users/guill/.rvm/bin:/Users/guill/Dropbox/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/local/Library/Contributions/cmds
Error: Failed executing: /usr/local/Cellar/php54/5.4.5/bin/pear config-set php_ini /usr/local/etc/php/5.4/php.ini (php54.rb:238)
This may help you fix or report the issue if `brew doctor` does not:
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