Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have been looking around and have not found a good answer to my question. I currently have php 5.3.3 installed via yum on my centos 6.3 server. I need to upgrade to php 5.3.10 or later. It is my understanding that you need to find the correct mysql and apache packages that fit with the php install. Can someone please point me in the direction of a an update guide? Btw I am not looking for "yum update httpd php5" this gets me the old 5.3.3 version. Thanks, Kevin.

share|improve this question
2  
There is no php5.10 yet :) –  Hex Oct 12 '12 at 8:39
add comment

2 Answers 2

up vote 1 down vote accepted

You can either compile from source (I recommend creating your own RPM packages and installing those. It's not that difficult and it sure does make upgrading and uninstalling much easier.) or use someone else's repository.

The IUS community repo (created and managed by RackSpace) currently has PHP 5.3.16 available. To use the IUS repository, you need to download two .rpm files and install them manually. Instructions start here. You can also find the IUS repository linked from the official PHP downloads page.

share|improve this answer
add comment

I think you want php5.3.10 not php5.10.

On CentOS 6.3, there are no newer php5 versions available. You would have to compile the whole things by hand.

But to get php5.10 compiled, you will have to make sure that all dependencies are installed in the correct version. And i don't think that they are in the repository.

Maybe you should choose a different distribution.

share|improve this answer
    
Thomas is right, even-though I dont see a reason to upgrade to 5.3.10 while it is not supported by your distro yet. –  Hex Oct 12 '12 at 8: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.