Last active
August 10, 2018 12:59
-
-
Save syahman/13867eaecaeb9bbfa8407ae3953d3b7f to your computer and use it in GitHub Desktop.
Solaris 11.3 x86_64 PHP7 Apache2.4 Threaded Mode 64 bit
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
#!/bin/bash | |
export CC=gcc | |
export CFLAGS="-m64 -std=gnu99" | |
export CXX=gcc | |
export CXXFLAGS="-m64" | |
export LDFLAGS="-m64 -L/lib/64 -L/usr/sfw/lib/64" | |
export LD_LIBRARY_PATH="/usr/local/lib/sparcv9/:/usr/local/lib:/usr/local/apache2/lib:/usr/sfw/lib/sparcv9:/usr/local/lib/sparcv9:/usr/lib/sparcv9" | |
export LDFLAGS="-lrt" | |
./configure --with-apxs2=/usr/apache2/2.4/bin/apxs --with-pdo-mysql --with-pear --with-libdir=lib64 --with-openssl --with-zlib --enable-mbstring --enable-zip --enable-maintainer-zts | |
make clean | |
make | |
make install | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment