Super User is a question and answer site for computer enthusiasts and power users. 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 recently upgraded my main development laptop to Lucid. Lucid upgraded PHP to 5.3 and as I'm mainly a PHP developer, this has caused quite a few problems. What's the easiest way to revert back to the the 5.2 series? Googling hasn't found any good solutions.

share|improve this question

migrated from Apr 5 '10 at 20:50

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

Uninstall php 5.3:

sudo apt-get remove libapache2-mod-php5 php5

Download this file:

Follow instructions in the INSTALL file: Chapter 2. Installation on Unix systems

share|improve this answer

you could "apt-get remove libapache2-mod-php5 php5" and change your sources.list back to karmic, install php (5.2) and change the sources.list back to lucid. remember not to upgrade the package.

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.