Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

migrated from Oct 26 '11 at 14:24

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

up vote 4 down vote accepted

I used this tutorial

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

This was Discussed in ServerFault

share|improve this answer
I'm on 9.04, not 8.10 – Webnet Feb 8 '11 at 18:13

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

and here

share|improve this answer

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 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

Your Answer


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.