php 编译安装选项

时间:2014-10-05 18:12:38   收藏:0   阅读:325

./configure  --prefix=/usr/local/php/ --with-config-file-path=/etc/php5/cli/  --with-config-file-scan-dir=/etc/php5/mods-available/  --with-apxs2=/usr/local/apache243/bin/apxs  --with-mysql   --with-libxml-dir=/usr/local/libxml2/ --with-png-dir=/usr/local/libpng/ --with-jpeg-dir=/usr/local/jpeg8/ --with-freetype-dir=/usr/local/freetype/ --with-gd=/usr/local/gd/ --with-zlib-dir=/usr/local/zlib/ --with-mcrypt=/usr/local/libmcrypt/ --with-mysqli  --enable-soap --enable-mbstring=all --enable-sockets  --with-pdo-mysql --with-pdo-pgsql --with-pgsql --with-curl

--with-XX 中不带文件路径的文件是通过apt-get 方式添加的。

原文:http://www.cnblogs.com/timelesszhuang/p/4007200.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!