CentOS 升级PHP

wget http://download.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm

 rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm

yum --enablerepo=remi update php php-*

你可能感兴趣的:(centos)