Skip to content

Instantly share code, notes, and snippets.

@fayland
Created October 18, 2014 02:49
Show Gist options
  • Save fayland/c3aba0bac46a9e4c9ede to your computer and use it in GitHub Desktop.
Save fayland/c3aba0bac46a9e4c9ede to your computer and use it in GitHub Desktop.
yosemite php54
~ brew reinstall php54 --homebrew-apxs
==> Reinstalling php54 with --homebrew-apxs
==> Downloading http://www.php.net/get/php-5.4.33.tar.bz2/from/this/mirror
######################################################################## 100.0%
Warning: Backing up all known pear.conf and .pearrc files
Warning: If you have a pre-existing pear install outside
of homebrew-php, or you are using a non-standard
pear.conf location, installation may fail.
==> ./configure --prefix=/usr/local/Cellar/php54/5.4.33 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.4 --with-config-file-path=/usr/loca
3. Apache was not built using --enable-so (the apxs usage page is displayed)
The output of /private/tmp/php54-rSUVVi/php-5.4.33/["sbin", "bin"] follows:
./configure: line 8421: /private/tmp/php54-rSUVVi/php-5.4.33/["sbin",: No such file or directory
configure: error: Aborting
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/josegonzalez/homebrew-php/issues
➜ ~ brew uninstall php54
Uninstalling /usr/local/Cellar/php54/5.4.33...
➜ ~ brew install php54
==> Downloading http://www.php.net/get/php-5.4.33.tar.bz2/from/this/mirror
Already downloaded: /Library/Caches/Homebrew/php54-5.4.33
Warning: Backing up all known pear.conf and .pearrc files
Warning: If you have a pre-existing pear install outside
of homebrew-php, or you are using a non-standard
pear.conf location, installation may fail.
==> ./configure --prefix=/usr/local/Cellar/php54/5.4.33 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.4 --with-config-file-path=/usr/loca
checking for krb5-config... /usr/bin/krb5-config
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... yes
checking for pkg-config... no
configure: error: Cannot find OpenSSL's <evp.h>
READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):
https://github.com/josegonzalez/homebrew-php/issues
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment