Last active
March 23, 2018 12:21
-
-
Save picasso250/56018073d053985c657139ea3309ef4b 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
#!/bin/bash | |
wget http://cn2.php.net/get/php-5.6.34.tar.gz/from/this/mirror | |
mv mirror php-5.6.34.tar.gz | |
tar xzvf php-5.6.34.tar.gz | |
cd php-5.6.34 | |
./configure' '--prefix=/data/software/php' '--with-pear' '--enable-bcmath' '--with-bz2' '--with-curl' '--enable-filter' '--enable-fpm' '--with-gd' '--enable-gd-native-ttf' '--with-freetype-dir' '--with-jpeg-dir' '--with-png-dir' '--enable-intl' '--enable-mbstring' '--with-mcrypt' '--enable-mysqlnd' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=mysqlnd' '--with-pdo-mysql=mysqlnd' '--with-pdo-sqlite' '--disable-phpdbg' '--enable-opcache' '--with-openssl' '--enable-simplexml' '--with-sqlite3' '--enable-xmlreader' '--enable-xmlwriter' '--enable-zip' '--with-zlib' | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment