Home >Backend Development >PHP Tutorial >yum upgrade PHP501->PHP530

yum upgrade PHP501->PHP530

WBOY
WBOYOriginal
2016-07-28 08:26:181223browse

1.StopApache Server

Service httpd stop

Uninstall the version of PHP5.1.x

Yum remove php -*

Installation 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

restartApache Server

service httpd start

The above introduces the yum upgrade to PHP501->PHP530, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn