I'm working with a RHEL5.1 box that has PHP 5.1.6 installed by default. I need to upgrade PHP to PHP 5.3.x.
- add a repo sourse that support php-5.3 you can see this link to know how to install a repo http://blog.famillecollet.com/pages/Config-en
[root@redhat~]# yum update php php-*
you also can compile php5.3 from sourse
Remove your php* packages and install the corresponding php53* packages -- they've been in the channels since RHEL 5.4. You might need to add the RHEL 5 Server Optional sub-channel to your server's entitlement, if it's not already there.