Super User is a question and answer site for computer enthusiasts and power users. 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 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 stackoverflow.com 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: http://php.net/get/php-5.2.13.tar.bz2/from/a/mirror

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .