php 5.3编译参数

 yum install -y libxml2-devel libcurl-devel libjpeg-devel libpng-devel freetype-devel libmcrypt-devel libxslt-devel libtool-ltdl-devel



 ./configure \
 --prefix=/usr/local/php  \
 --with-config-file-path=/usr/local/php/etc  \
 --with-mysql=/usr/local/mysql  \
 --with-iconv-dir   \
 --with-freetype-dir  \
 --with-jpeg-dir   \
 --with-png-dir   \
 --with-zlib-dir   \
 --with-libxml-dir  \
 --disable-rpath \
 --enable-safe-mode \
 --enable-bcmath \
 --enable-shmop  \
 --enable-sysvsem \
 --enable-inline-optimization \
 --with-curl \
 --with-curlwrappers \
 --enable-mbregex \
 --enable-fpm   \
 --with-fpm-user=nginx  \
 --with-fpm-group=nginx \
 --enable-mbstring  \
 --with-mcrypt   \
 --with-gd   \
 --enable-gd-native-ttf \
 --with-openssl \
 --with-mhash \
 --enable-pcntl \
 --enable-sockets \
 --with-xmlrpc \
 --enable-zip \
 --enable-soap \
 --enable-short-tags \
 --enable-zend-multibyte \
 --enable-static \
 --with-xsl \
 --enable-ftp  \
 --enable-exif \
 --disable-ipv6 \
 --with-mysql-sock=/tmp/mysql.sock \
 --enable-zend-multibyte

本文出自 “一品殿阁大学士” 博客,谢绝转载!

你可能感兴趣的:(mysql,local)