常用生产环境的PHP安装参数

./configure --prefix=/usr/local/php5.3 --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-gd=/usr --with-png-dir=/usr --with-jpeg-dir=/usr  --with-freetype-dir=/usr --with-zlib --with-openssl --enable-sockets --enable-mbstring --with-bz2 --enable-ftp --with-gettext --enable-sysvshm --enable-shmop --enable-gd-native-ttf --enable-gd-jis-conv --with-curl --with-config-file-path=/usr/local/php5.3/etc --enable-fastcgi --enable-fpm --with-fpm-user=www --with-fpm-group=www --with-libevent-dir

 

posted @ 2013-11-21 10:38  luffy_zhong  阅读(295)  评论(0编辑  收藏  举报