Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

2 Answers 2

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

Your Answer

 
discard

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.