本文共 777 字,大约阅读时间需要 2 分钟。
wget
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本文转自 ppabc 51CTO博客,原文链接:http://blog.51cto.com/ppabc/776346
转载地址:http://nfebm.baihongyu.com/