1.停止apache server
service httpd stop
解除安装的php5.1.x的版本
yum remove php-*
安装php5.3
yum install php53
yum install php53-cli
yum install php53-common
yum install php53-devel
yum install php53-gd
yum install php53-mbstring
yum install php53-mysql
yum install php53-soap
yum install php53-xml
yum install php53-xmlrpc
yum install php53-bcmath
yum install php53-snmp
重启apache server
service httpd start
以上就介绍了 yum升级php501->php530,包括了方面的内容,希望对php教程有兴趣的朋友有所帮助。