Created
January 10, 2016 12:26
-
-
Save errogaht/01bfca291231326a8428 to your computer and use it in GitHub Desktop.
cent os 7 php 7 build
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
yum group install "Development Tools" | |
yum group install "Development Libraries" | |
yum install libxml2-devel openssl-devel git autoconf gcc bison bzip2-devel curl-devel libjpeg-devel freetype-devel libmcrypt libmcrypt-devel mhash \ | |
mhash-devel php-mysql mysql-devel aspell-devel libtidy libtidy-devel libxslt libxslt-devel glibc-utils libtool-ltdl-devel libpng-devel db4-devel libXpm-devel \ | |
gmp-devel libc-client-devel openldap-devel unixODBC-devel postgresql-devel sqlite-devel net-snmp-devel pcre-devel t1lib-devel recode-devel expat-devel | |
./configure \ | |
--prefix=/opt/php70 \ | |
--with-config-file-path=/opt/php70/etc \ | |
--with-config-file-scan-dir=/opt/php70/etc/php.d \ | |
--with-libdir=lib64 \ | |
--with-curl \ | |
--with-mcrypt \ | |
--with-iconv \ | |
--with-gmp \ | |
--with-pspell \ | |
--with-gd \ | |
--with-jpeg-dir=/usr \ | |
--with-png-dir=/usr \ | |
--with-zlib-dir=/usr \ | |
--with-xpm-dir=/usr \ | |
--with-freetype-dir=/usr \ | |
--with-openssl \ | |
--with-pdo-mysql=/usr \ | |
--with-gettext=/usr \ | |
--with-zlib=/usr \ | |
--with-bz2=/usr \ | |
--with-recode=/usr \ | |
--with-mysqli=/usr/bin/mysql_config \ | |
--enable-cli \ | |
--enable-pdo \ | |
--enable-mbstring \ | |
--enable-zip \ | |
--enable-bcmath \ | |
--enable-pcntl \ | |
--enable-ftp \ | |
--enable-exif \ | |
--enable-calendar \ | |
--enable-sysvmsg \ | |
--enable-sysvsem \ | |
--enable-sysvshm \ | |
--enable-wddx \ | |
--enable-gd-native-ttf \ | |
--enable-gd-jis-conv | |
make | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment