Ubuntu – How to downgrade PHP from 5.3.x to 5.2.x

downgradePHP

I need to downgrade my PHP to 5.2.x from 5.3.x Certain software I currently use requires it.
I found all these link explaining how to do it but they no longer work because they show you how to use the Karmic archives to downgrade but as those archives no longer exist on archive.ubuntu.com

Best Answer

I found this script on the ubuntu forums which worked for me

http://ubuntuforums.org/showthread.php?t=1566808

On ubuntu 10.10 you'll need to install aptitude as it is no longer installed by default.

sudo apt-get install aptitude
Related Question