Server Fault is a question and answer site for system and network administrators. 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

Quite simply, what is the easiest and most stable way to replace an apt-get installed PHP 5.2 with the new PHP 5.3 on an Ubuntu 8.10 server?

share|improve this question
up vote 5 down vote accepted

I've had success with these packages :)

Hope it helps!

share|improve this answer
Thanks - that did the trick! – Faisal Vali Mar 20 '10 at 16:59
installing from source is still buggy. this worked. – Elzo Valugi May 22 '10 at 22:33

well - most stable way is to stay with what distro provides.

2nd safest would be to use official backports, but it seems php 5.3 is not there.

otherwise you have to rely on your own [if you compile and build package by yourself or 3rd party contributors. quick googling returns this as one of repositories [ x86 only ] of php 5.3 for ubuntu 8.10 :

share|improve this answer
I could try compiling my own (have to learn it some time) but how will I prevent the rest of the system from complaining that the php5 package isn't there? – Bart van Heukelom Jul 5 '09 at 12:45
if you follow for instance follow compilation instruction i linked to - you'll get ubuntu/debian package that replaces original php5. so for instance phpmyadmin [ or anything else that depends on php ] should not complain. you'll probably have to compile from source other php libraries that you might need [ php5-gd, php5-snmp and whatever else ]. – pQd Jul 5 '09 at 13:01 packages (as linked in the best answer) are now up to PHP 5.3.5 - worth checking the PHP posts on the dotdeb site for the latest info. Have just installed 5.3.5 on Ubuntu 8.04 LTS and looking ok so far.

share|improve this answer

Ubuntu 8.10 is not supported any more so i would recormend upgrading it if you are still using it (since original question originates from jul-09). Ubuntu 8.04 (LTS) however is still supported 2 more year on server environment and couple more months on desktop.

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.