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

I have a few Ubuntu boxes that run the newest version of PHP present in the Ubuntu package distributions (PHP 5.3.10). However, there is a bug in that PHP version that makes my application break.

Given that the version available in the Ubuntu package repo is broken and I haven't been able to find any kind of time as to when the package will be upgraded, I need to find an alternative.

I am not a very experienced sysadmin, so I am not very comfortable with compiling packages myself. Is there any alternative package repository where I can get PHP 5.3.11+ (preferably PHP 5.3.16)?

share|improve this question
What version of Ubuntu are you running? – voretaq7 Aug 25 '12 at 17:00
Ubuntu 12.04 :) – marsman Aug 25 '12 at 17:01
Unfortunately the PHP 5.4 version breaks a whole bunch of dependencies (APC, phpredis, etc.), so that won't work. – marsman Aug 25 '12 at 17:11

On Debian systems (so my guess on Ubuntu as well since it's also apt) you can install a specific (older) version of a package. Here you can find a nice description on how to do this. The commands used should be the same on Ubuntu.

share|improve this answer
Unfortunately, the Ubuntu package repo only contains the 5.3.10 version - nothing earlier than that. – marsman Aug 29 '12 at 14:33
Another way is to compile a specific version from scratch. Not as easy offcourse. – maartenh Aug 30 '12 at 9:30

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.