Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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. I've tried several tutorials and have had no luck. Can anyone help me out with this?

share|improve this question
    
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
add comment

2 Answers

up vote 2 down vote accepted
  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

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

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.

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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