php7.1 编译安装

优化性能版

./configure \
 --enable-inline-optimization \
 --disable-debug \
 --prefix=/Users/Questionfish/Projects/c/php-7.1.0/maked \
 --with-config-file-path=/Users/Questionfish/Projects/c/php-7.1.0/maked/etc \
 --disable-rpath \
 --enable-shared \
 --enable-opcache \
 --enable-fpm \
 --with-fpm-user=www \
 --with-fpm-group=www \
 --with-mysqli=mysqlnd \
 --with-pdo-mysql=mysqlnd \
 --with-gettext=/usr/local/Cellar/gettext/0.19.8.1 \
 --enable-mbstring \
 --with-iconv=/usr/local/Cellar/libiconv/1.15 \
 --with-mcrypt \
 --with-mhash \
 --with-openssl=/usr/local/Cellar/openssl/1.0.2q \
 --enable-bcmath \
 --enable-soap \
 --with-libxml-dir \
 --enable-pcntl \
 --enable-shmop \
 --enable-sysvmsg \
 --enable-sysvsem \
 --enable-sysvshm \
 --enable-sockets \
 --with-curl=/usr/local/Cellar/curl/7.63.0 \
 --with-zlib-dir=/usr/local/Cellar/zlib/1.2.11 \
 --enable-zip \
 --with-bz2=/usr/local/Cellar/bzip2/1.0.6_1 \
 --with-readline=/usr/local/Cellar/readline/7.0.5 \
 --with-gd \
 --with-jpeg-dir=/usr/local/Cellar/jpeg/9c \
 --with-png-dir=/usr/local/Cellar/libpng/1.6.36

开启调试版

./configure \
 --disable-inline-optimization \
 --enable-debug \
 --prefix=/Users/Questionfish/Projects/c/php-7.1.0/maked \
 --with-config-file-path=/usr/local/php56/etc \
 --disable-rpath \
 --enable-shared \
 --enable-opcache \
 --enable-fpm \
 --with-fpm-user=www \
 --with-fpm-group=www \
 --with-mysqli=mysqlnd \
 --with-pdo-mysql=mysqlnd \
 --with-gettext=/usr/local/Cellar/gettext/0.19.8.1 \
 --enable-mbstring \
 --with-iconv=/usr/local/Cellar/libiconv/1.15 \
 --with-mcrypt \
 --with-mhash \
 --with-openssl=/usr/local/Cellar/openssl/1.0.2q \
 --enable-bcmath \
 --enable-soap \
 --with-libxml-dir \
 --enable-pcntl \
 --enable-shmop \
 --enable-sysvmsg \
 --enable-sysvsem \
 --enable-sysvshm \
 --enable-sockets \
 --with-curl=/usr/local/Cellar/curl/7.63.0 \
 --with-zlib-dir=/usr/local/Cellar/zlib/1.2.11 \
 --enable-zip \
 --with-bz2=/usr/local/Cellar/bzip2/1.0.6_1 \
 --with-readline=/usr/local/Cellar/readline/7.0.5 \
 --with-gd \
 --with-jpeg-dir=/usr/local/Cellar/jpeg/9c \
 --with-png-dir=/usr/local/Cellar/libpng/1.6.36

发表评论

电子邮件地址不会被公开。 必填项已用*标注