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.

  • 3.x? Do you mean 5.3.x? – Renan Oct 9 '12 at 21:35
  • 1
    Yes, sorry, edited my question to fix the mistake. – PJ McCormick Oct 9 '12 at 23:45
  1. 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
  2. [root@redhat~]# yum update php php-*

  3. you also can compile php5.3 from sourse

| improve this answer | |
  • Chosen as answer because, unfortunately, I am stuck on RHEL 5.1 – PJ McCormick Oct 11 '12 at 16:56

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.

| improve this answer | |
  • Thanks. Unfortunately I'm on RHEL 5.1. How else can I get the php53 packages? – PJ McCormick Oct 9 '12 at 23:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.