Skip to content

Instantly share code, notes, and snippets.

@kiler129
Created September 3, 2015 11:06
Show Gist options
  • Save kiler129/0bad4b46b70e2735ec40 to your computer and use it in GitHub Desktop.
Save kiler129/0bad4b46b70e2735ec40 to your computer and use it in GitHub Desktop.
PHP 7.0 compilation @ Linux
## COMPILATION OPTIONS ##
--with-libdir=/lib/x86_64-linux-gnu --with-curl --with-gd --enable-exif --enable-gd-native-ttf --with-freetype-dir=/usr/lib/x86_64-linux-gnu --with-ttf --with-gettext --with-jpeg-dir=/usr/include --with-libpng --with-openssl --with-mcrypt --with-mhash --with-mysql=/usr --with-mysqli --with-pdo-mysql --with-pdo-pgsql --with-pear --with-zlib --enable-zip --with-bz2 --with-iconv --enable-bcmath --enable-calendar --enable-ftp --with-gmp --enable-sockets --enable-intl --enable-mbstring --with-mcrypt=/usr --with-litespeed --enable-opcache
## PACKAGES ##
build-essential autoconf libxml2 libxml2-dev openssl libssl-dev libcurl4-openssl-dev libjpeg-dev libpng12-dev libfreetype6 libfreetype6-dev libmcrypt-dev libmhash-dev libmysql++-dev libgmp-dev libicu-* bzip2 libbz2-dev libpq-dev
## HACKS ##
ln -s /usr/include/x86_64-linux-gnu/gmp.h /usr/include/gmp.h
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment