Created
July 30, 2022 13:32
-
-
Save matthewbdaly/6ae0059c9e86cf97523419474fed4e46 to your computer and use it in GitHub Desktop.
How I got PHPBrew working on Mac OS Monterey on M1 silicon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export OPENSSL_PREFIX=$(brew --prefix openssl@1.1) | |
export OPENSSL_CFLAGS="-I${OPENSSL_PREFIX}/include" | |
export OPENSSL_LIBS="-L${OPENSSL_PREFIX}/lib -lcrypto -lssl" | |
phpbrew --debug install -j 12 8.1 +default -- --with-openssl="shared,${OPENSSL_PREFIX}" --without-pcre-jit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment