标签:
cd php-5.6.0
yum -y install libcurl-devel bzip2-devel zlib-devel libjpeg-devel libpng-devel freetype-devel libiconv-devel libxml2-devel(安装系统环境)
./configure --prefix=/usr/local/php-5.6 --with-config-file-path=/usr/local/php-5.6/etc/ --with-bz2 --with-curl --enable-ftp --enable-ipv6 --with-gd --with-jpeg-dir=/usr/ --with-png-dir=/usr/ --with-freetype-dir=/usr/ --enable-gd-native-ttf --with-iconv-dir=/usr/ --enable-mbstring --enable-calendar --with-gettext --with-libxml-dir=/usr/ --enable-xml --enable-fpm --with-mysql=/usr/ --enable-dom --with-zlib --enable-fpm
make
make test
make install
标签:
原文地址:http://www.cnblogs.com/lmgsanm/p/5055206.html