Skip to content

Instantly share code, notes, and snippets.

@bylatt
Created April 13, 2018 18:28
Show Gist options
  • Save bylatt/a3d05800c84655e031083654b9532bd7 to your computer and use it in GitHub Desktop.
Save bylatt/a3d05800c84655e031083654b9532bd7 to your computer and use it in GitHub Desktop.
# Due to deprecation of homebrew-php tap, I found no way to install php extensions from homebrew.
brew install php geoip
LDFLAGS=-L/usr/local/opt/openssl/lib \
CPPFLAGS=-I/usr/local/opt/openssl/include \
PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig \
pecl install redis geoip-1.1.1 mongodb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment