摘要: CentOS 5.4环境下的php5.3.1手动安装
Cent自带的版本是5.1.16,现下载php5.3.1安装包tar.gz,解压到/usr/local/src中
执行下述命令:
./configure \
"--prefix=/usr/local/php" \
"--with-apxs2=/usr/sbin/apxs" \
"--with-config-file-path=/usr/local/php/etc" \
"--with-mysql=/usr/local/mysql" \
"--with-mysqli" \
"--with-libxml-dir=/usr/lib/libxml"
阅读全文