php 5.6 编译参数

./configure --prefix=/usr/local/php56 --with-config-file-path=/usr/local/php56/etc --enable-fpm --with-fpm-user=php-fpm --with-fpm-group=php-fpm --with-mysql=mysqlnd --with-pdo-mysql=mysqlnd --with-mysql-sock=/tmp/mysql.sock --enable-sockets --enable-opcache --enable-zip --with-zlib --enable-bcmath --with-libxml-dir--with-gd --with-mysqli --with-jpeg-dir --with-png-dir --with-freetype-dir --with-iconv-dir --with-zlib-dir --with-mcrypt --enable-soap --enable-gd-native-ttf --enable-ftp --enable-mbstring --enable-exif --disable-ipv6 --with-pear --with-curl --with-openssl


make ZEND_EXTRA_LIBS='-liconv' 


make install


模块参数解释

http://www.oschina.net/question/17_10674

你可能感兴趣的:(php 5.6 编译参数)