Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 an Ubuntu 10.04 Server installation with PHP 5.3.2 installed, I want to upgrade it to PHP 5.3.5. I'm led to believe that apt-get upgrade will only install security updates, we're on this LTS release and don't plan on updating our servers until 12.04, so it's pretty important for us to be able to update PHP.

Any ideas?

Many thanks.

share|improve this question
Related, possible duplicate… – BullfrogBlues Apr 30 '12 at 14:44

Then you'll most likely have to build from source. Head to, download the sources and build your PHP version.

share|improve this answer
I'll give that a go and come back with an update. – Ben Everard Feb 28 '11 at 19:07

If you want to keep current with the latest upstream version, you should compile PHP from source. That allows you to tweak your installation even more, take time for reading through the extensions page for customizing PHP. Running ./configure --help in the source folder shows you a list of options too.

When compiling from source, it's strongly recommended to subscribe to the PHP announcements mailing list. Go to, check the radio button "Normal" at Announcements, fill your email address in the bottom form and press "Subscribe".

share|improve this answer

You could try the ppa listed here:

It points to ppa:nginx/php5

I haven't tried it, tho..

share|improve this answer

I installed Zend Server Community edition to get an updated version of PHP.

To me, this is a relatively easy way to keep PHP up to date. Not the latest and greatest, but Zend will eventually catch up IMHO.

The most important steps, for me, was making sure that all the unwanted parts didn't launch when the server rebooted. The Zend Server daemons are controlled via: /usr/local/zend/bin/ which is symlinked to /etc/init.d/zend-server. These can be turned on/off using a variation of update-rc.d zend-server defaults

PS: If you try this, make sure you type "CE" for "Community edition" during apt-get install, otherwise it's not free (as in beer).

share|improve this answer

Just install it from the source. There is not expected release data for the next version in the repository.

share|improve this answer
I'll give that a go and come back with an update. – Ben Everard Feb 28 '11 at 19:07

Security patches will be back ported. Features will not. This the entire point of LTS. Your alternative is to build from source.

share|improve this answer
This is essentially correct, but: (1) Serious stability/usability bugs may also be backported, (2) this policy is in no way specific to LTS releases (and actually, LTS releases have exceptions: kernels are backported, and drivers for some new hardware are backported), and (3) backports are often available outside of the default-enabled software sources, through the -backports repositories. – Eliah Kagan Aug 17 '12 at 23:19

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.