osc上一位哥们的 php编译参数

Ubuntu 12.04, GCC 4.6.3, i5-3230M 编译安装 PHP 5.5.8 耗时6分40多秒
time sh -c “./configure.sh && make && make install” > configure.log

configure.sh

!/bin/bash

./configure \
–prefix=/png/php/5.5.8 \
–enable-opcache \
–enable-fpm \
–enable-pdo \
–enable-sockets \
–enable-exif \
–enable-soap \
–enable-ftp \
–enable-wddx \
–enable-pcntl \
–enable-soap \
–enable-bcmath \
–enable-mbstring \
–enable-dba \
–enable-gd-native-ttf \
–enable-zip \
–enable-calendar \
–enable-shmop \
–enable-sysvmsg \
–enable-sysvsem \
–enable-sysvshm \
–with-mysql \
–with-mysqli \
–with-pdo-mysql \
–with-pdo-sqlite \
–with-iconv \
–with-zlib \
–with-bz2 \
–with-gettext \
–with-xmlrpc \
–with-openssl \
–with-mhash \
–with-mcrypt \
–with-xsl \
–with-curl \
–with-pcre-regex \
–with-gd \
–with-freetype-dir=/usr \
–with-jpeg-dir=/usr \
–with-png-dir=/usr \
–with-ldap \
–with-pear \
–with-fpm-user=png \
–with-fpm-group=png \
–with-apxs2=/png/httpd/2.2.26/bin/apxs

你可能感兴趣的:(osc上一位哥们的 php编译参数)