Php
./configure –prefix=/usr/local/php –with-apxs2=/usr/local/apache2/bin/apxs –with-libxml-dir=/usr/include/libxml2 –with-config-file-path=/usr/local/php/etc/ –with-mysql=/usr/local/mysql –with-mysqli=/usr/local/mysql/bin/mysql_config –with-gd –enable-gd-native-ttf –with-zlib –with-mcrypt –with-pdo-mysql=/usr/local/mysql/bin/mysql –enable-shmop –enable-soap –enable-sockets –enable-wddx –enable-zip –with-xmlrpc –enable-fpm –enable-mbstring –with-zlib-dir –with-bz2 –with-curl –enable-exif –enable-ftp –with-png-dir=/usr/lib64 –with-freetype-dir=/usr/lib64 –with-iconv –enable-xml –enable-bcmath –enable-sysvsem –enable-inline-optimization –with-curlwrappers –enable-mbregex –with-openssl –enable-pcntl –with-gettext –enable-session

这个是php编译的常规参数,非常实用!对于不知道该怎么去配置php的来说非常方便啦

最后修改日期:2014年12月19日

作者

留言

撰写回覆或留言

发布留言必须填写的电子邮件地址不会公开。