Maison >développement back-end >tutoriel php >yum升级PHP501->PHP530
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教程有兴趣的朋友有所帮助。