Skip to content

Instantly share code, notes, and snippets.

@CyberStrike
Last active July 12, 2020 17:29
Show Gist options
  • Save CyberStrike/4c4dc93b83958d9b90fa6351e8ca5fc7 to your computer and use it in GitHub Desktop.
Save CyberStrike/4c4dc93b83958d9b90fa6351e8ca5fc7 to your computer and use it in GitHub Desktop.
OSX 10.14 Mojave - Install Php 7.4 w/ Phpbrew
#!/usr/bin/env bash

export PKG_CONFIG_PATH="/usr/local/opt/icu4c/lib/pkgconfig"

phpbrew --debug install 7.4 \
 +default \
 +dbs \
 +openssl="$(brew --prefix openssl)" \
 +bz2="$(brew --prefix bzip2)" \
 +zlib="$(brew --prefix zlib)" \
 +iconv="$(brew --prefix libiconv)" \
 +intl \
 +exif \
 +soap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment