RedHat Enterprise 5.6 released php version 5.3.x. Therefore, it is easy to Upgrade php version. To remove the previous version, it is easier to use the command line, # yumremovephp then installs Version 5.3 (which is an independent package, so you cannot directly upgrade it with yum), # yuminstallphp53. There may be some conflicting old packages. The system will prompt you to use the yumremove package name
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.