Skip to content

Instantly share code, notes, and snippets.

@rikioy
Last active April 11, 2017 06:17
Show Gist options
  • Select an option

  • Save rikioy/ca290833a1d39a7b067a1769abf06aec to your computer and use it in GitHub Desktop.

Select an option

Save rikioy/ca290833a1d39a7b067a1769abf06aec to your computer and use it in GitHub Desktop.
sudo apt install libxml2
sudo apt install libxml2-dev
sudo apt install libssl-dev
sudo apt install pkg-config
sudo apt install libcurl4-gnutls-dev
sudo apt install libjpeg-dev
sudo apt install libpng-dev
./configure --prefix=/usr/local/php7 \
--with-config-file-path=/usr/local/php7/etc \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-mysql-sock=/var/run/mysqld/mysqld.sock \
--enable-mysqlnd \
--with-gd \
--with-iconv \
--with-zlib \
--enable-bcmath \
--enable-shmop \
--enable-sysvsem \
--enable-inline-optimization \
--enable-mbregex \
--enable-fpm \
--enable-mbstring \
--enable-ftp \
--enable-gd-native-ttf \
--with-openssl \
--enable-pcntl \
--enable-sockets \
--with-xmlrpc \
--enable-zip \
--enable-soap \
--with-gettext \
--with-curl \
--with-jpeg-dir \
--with-freetype-dir \
--with-png-dir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment