一.源码安装
1.Configure-1
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysql-sock=/tmp --with-libxml-dir --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-iconv-dir --with-zlib-dir --with-mcrypt=/usr/local/libmcrypt --enable-soap --enable-gd-native-ttf --enable-ftp --enable-mbstring --enable-exif --enable-zend-multibyte --disable-ipv6 --enable-fastcgi --enable-fpm --with-vpx-dir=/usr/local/gd2
make && make install
2.Configure-2
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --datarootdir=/opt/data/php --enable-fpm --with-mysql --with-mysqli --with-zlib --enable-zip --with-gd --enable-mbstring --with-gd --with-mcrypt --with-jpeg-dir --with-freetype-dir --with-xmp-dir --with-mcrypt --with-mhash --with-bz2 --with-openssl
未完续待,要下班咯!
版权声明:本文为博主原创文章,未经博主允许不得转载|Copyright ©2011-2015, Kallen Ding, All Rights Reserved.