In versions later than RedHat5.6, the RedHat Enterprise Edition version of php was released at 5.6? The operation is simple. remove the previous version and use the command line to make it easier. # yumremovephp? Then install version 5.3 (a php version upgrade only after Red Hat 5.6 ).
Red Hat Enterprise 5.6 released php version 5.3.x, which is much easier to upgrade.
?
The operation is simple. remove the previous version and use the command line to make it easier. # yum remove php
?
Then install version 5.3 (which is an independent package, so you cannot directly upgrade it with yum), # yum install php53? ?. There may be some conflicting old packages. The system will prompt you to use the yum remove package name.
?
?
The advantage of this upgrade is that if you have purchased the redhat service, redhat will continue to provide services, otherwise it is likely that they will not provide services to your server.
?
?
?
This upgrade method is also suitable for Centos 5.6 and later versions.