C6 P5.2
引用自 http://snippetinfo.net/media/117
下载源:php-5.2-x64.zip
wget 源包.zip
yum -y install httpd libXpm.so.4 libt1.so.5 autoconf automake gd rpm -ivh php-5.2.17-1.el6.art.x86_64.rpm rpm -ivh php-cli-5.2.17-1.el6.art.x86_64.rpm rpm -ivh php-common-5.2.17-1.el6.art.x86_64.rpm rpm -ivh php-devel-5.2.17-1.el6.art.x86_64.rpm rpm -ivh php-gd-5.2.17-1.el6.art.x86_64.rpm rpm -ivh php-ldap-5.2.17-1.el6.art.x86_64.rpm rpm -ivh php-mbstring-5.2.17-1.el6.art.x86_64.rpm rpm -ivh php-mysql-5.2.17-1.el6.art.x86_64.rpm rpm -ivh php-pdo-5.2.17-1.el6.art.x86_64.rpm rpm -ivh php-xml-5.2.17-1.el6.art.x86_64.rpm rpm -ivh t1lib-5.1.2-6.el6_2.1.x86_64.rpm ; 避免 yum 更新到 php 做以下設定 vi /etc/yum.conf 加入 exclude=php*