Created
September 26, 2017 08:31
-
-
Save mrjosh/453dd445d092730647801a8e973b50ad to your computer and use it in GitHub Desktop.
PHP 7 Installer
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
#!/bin/bash | |
wget http://de1.php.net/get/php-7.0.0.tar.bz2/from/this/mirror | |
tar -xvjf mirror | |
cd php-7.0.0/ | |
./configure \ | |
--with-readline \ | |
--enable-pcntl \ | |
--with-gettext \ | |
--enable-phpdbg \ | |
--enable-phpdbg-webhelper \ | |
--enable-mbstring \ | |
--enable-zip \ | |
--enable-bcmath \ | |
--enable-ftp \ | |
--enable-exif \ | |
--enable-calendar \ | |
--enable-sockets \ | |
--enable-sysvmsg \ | |
--enable-sysvsem \ | |
--enable-sysvshm \ | |
--enable-wddx \ | |
--with-curl \ | |
--with-mcrypt \ | |
--with-iconv \ | |
--with-pspell \ | |
--with-gd \ | |
--enable-gd-native-ttf \ | |
--enable-gd-jis-conv \ | |
--with-openssl \ | |
--enable-soap \ | |
--with-zlib-dir=/usr \ | |
--with-zlib=/usr \ | |
--with-bz2=/usr | |
make -j `nproc` | |
sudo make install | |
php -v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment