Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

apt-cache policy php5-dev

and got

Candidate: 5.3.2-1ubuntu4.7

How can i get the latest stable version (5.35) using apt, i understand i need to add a repository to my sources but how do i find one?

share|improve this question

You could add the Dotdeb repository, which has PHP 5.3.5 packaged. Here is how.

I just noticed you use Ubuntu. Those repositories are designed for Debian but many users report success using them with Ubuntu.

share|improve this answer

Ubuntu as debian stores all packages into a pool, so you can just search for php in the ubuntu packages, right now for natty you have 5.3.3 (

Another way would be to build your own deb package, you can start doing so by downloading the packages you see on the natty release and play with dpkg-buildpackage

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.