centos 5.7 ZEND server php5.3.8升级5.3.10

wget http://www.php.net/get/php-5.3.10.tar.gz/from/cn.php.net/mirror

yum -y install libxml2-devel libidn-devel openssl openssl-devel libjpeg-devel libpng-devel libtiff-devel zlib-devel readline*
 

tar zxvf php-5.3.10.tar.gz

cd php-5.3.10

./configure --prefix=/usr/local/zend --with-config-file-path=/usr/local/zend/etc --disable-debug --enable-inline-optimization --disable-all --enable-libxml --enable-session --enable-spl --enable-xml --enable-hash --enable-reflection --with-pear --with-apxs2=/usr/local/zend/apache2/bin/apxs --with-layout=GNU --enable-filter --with-pcre-regex --with-zlib --enable-simplexml --enable-dom --with-libxml-dir --with-openssl --enable-pdo --with-pdo-sqlite --with-iconv --with-readline --with-sqlite3 --disable-phar --enable-xmlwriter

    make
    make install

你可能感兴趣的:(server,centos,local,升级,休闲)