php 编译安装

http://www.oschina.net/question/17_10674


make clean下

./configure --prefix=/usr/local/php --enable-sockets --enable-fpm --with-apxs2=/usr/local/apache2/bin/apxs --with-gd --enable-gd-native-ttf --enable-gd-jis-conv --enable-soap --enable-sockets --enable-zip  --enable-xml --with-curl --enable-mbregex --enable-sysvsem --enable-mbstring


yum -y install gcc automake autoconf libtool make
yum install libpng-devel

你可能感兴趣的:(PHP)