Last active
December 13, 2017 08:02
-
-
Save nimboya/b7bfdb7847c18de59ca77c9b6ee5e9be to your computer and use it in GitHub Desktop.
PHP Installation from Source (5.6x)
This file contains hidden or 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
wget http://uk1.php.net/get/php-5.6.32.tar.gz/from/this/mirror | |
mv mirror php-5.6.32.tar.gz | |
tar -xvf php-5.6.32.tar.gz | |
cd php-5.6.32 | |
apt-get install build-essential # Debian | |
yum groupinstall 'Development Tools' # Readhat, CentOS | |
./configure '--enable-fpm' '--with-pdo-sqlite' '--with-mysql' '--with-mysqli' '--enable-bcmath' '--with-curl' '--with-pdo-mysql' '--enable-ftp''--with-xml' '--with-gd' '--with-bz2' '--with-zlib' '--with-libdir=lib64' '--with-kerberos' '--with-openssl' '--with-png' '--with-mongo=/usr/local/lib/php/extensions/no-debug-non-zts-20131226' '--enable-mbstring' | |
make && make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment