Last active
May 4, 2023 19:53
-
-
Save InFog/59c99e59c9ab4052f8ad83a55469e89b to your computer and use it in GitHub Desktop.
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
# Get openssl-1.1.1 tar gz | |
wget https://github.com/openssl/openssl/releases/download/OpenSSL_1_1_1t/openssl-1.1.1t.tar.gz | |
./config shared enable-ec_nistp_64_gcc_128 -Wl,-rpath=/usr/local/openssl/lib --prefix=/usr/local/openssl | |
make -j 4 | |
make test && sudo make install | |
# Then finally install PHP 7 | |
cd /usr/local/openssl | |
export PHP_OPENSSL_DIR=yes | |
export LDFLAGS="-L$(pwd)/lib" | |
export CPPFLAGS="-I$(pwd)/include" | |
phpbrew install 7.2 +default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment