2009/10/02

CentOS 5.3 x64 更新PHP到5.3版的方法

wget http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/5/remi/x86_64/remi-release-5-7.el5.remi.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

rpm -ivh epel-release-5-3.noarch.rpm
rpm -ivh remi-release-5-7.el5.remi.noarch.rpm
rpm -Uvh remi-release-5.rpm

yum --enablerepo=remi update mysql php
yum --enablerepo=remi install php-mbstring

收工!

沒有留言: