Skip to content

Instantly share code, notes, and snippets.

@wangchen
Created December 9, 2014 06:30
Show Gist options
  • Save wangchen/ad09853f290c434ae67e to your computer and use it in GitHub Desktop.
Save wangchen/ad09853f290c434ae67e to your computer and use it in GitHub Desktop.
./configure \
--prefix=/data1 \
--sysconfdir=/data1/etc/php \
--with-config-file-path=/data1/etc/php \
--with-config-file-scan-dir=/data1/etc/conf.d \
--with-iconv \
--enable-ftp \
--enable-sockets \
--enable-zip \
--enable-shmop \
--enable-sysvsem \
--enable-sysvshm \
--enable-sysvmsg \
--enable-mbstring \
--enable-mbregex \
--enable-bcmath \
--enable-calendar \
--with-zlib \
--with-gettext=/usr/local/opt/gettext \
--with-mhash \
--with-curl \
--with-bz2=/usr \
--enable-debug \
--with-openssl \
--enable-fpm \
--with-fpm-user=_www \
--with-fpm-group=_www \
--with-mysql-sock=/tmp/mysql.sock \
--with-mysqli=mysqlnd \
--with-mysql=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-pcntl \
--enable-zend-signals \
--disable-phpdbg \
--enable-opcache
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment