Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

How can I do a version upgrade from 5.2 to 5.3? php update/upgrade is saying I'm using the latest version.

I'm using Ubuntu Server 9.04

share|improve this question
add comment

migrated from stackoverflow.com Oct 26 '11 at 14:24

This question came from our site for professional and enthusiast programmers.

4 Answers

up vote 4 down vote accepted

I used this tutorial http://atik97.wordpress.com/2010/06/12/how-to-upgrade-to-php-5-3-in-ubuntu-9-10/

share|improve this answer
    
This method didn't work for me, it's still show php 5.2.6 –  Webnet Feb 12 '11 at 14:45
add comment

to upgrade to 5.3.10 (or any other version as they become available in the ubuntu repositories) you can also add this line

deb http://de.archive.ubuntu.com/ubuntu/ precise main restricted

to /etc/apt/sources.list

the run apt-get update & apt-get install php5

you would probably want to remove the line from the sources.list after that, to make sure that the rest of the software stays the same.

also backup before.

share|improve this answer
add comment

you should upgrade your ubuntu version. you can get the .deb files for new versions if you want to use apt, and pin them but you are likely to enocuter dependency problems.

please do a dist upgrade. the utility that does all the work for you in ubuntu is called update-manager-core

read up here

http://www.ubuntu.com/desktop/get-ubuntu/upgrade

and here

https://help.ubuntu.com/community/LucidUpgrades

share|improve this answer
add comment

This was Discussed in ServerFault

share|improve this answer
    
I'm on 9.04, not 8.10 –  Webnet Feb 8 '11 at 18:13
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.