How can I completely uninstall php 5.3
I would like to have 5.2.10 instead of.
When I do php -v
PHP 5.3.4 (cli) (built: Dec 28 2010 17:00:24)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
How did you end up with such a recent version of php in this old version of Ubuntu? You could upgrade to Karmic (9.10) that includes php 5.2.10 (http://packages.ubuntu.com/search?keywords=php5&searchon=names&suite=all§ion=all)
Otherwise:
Set up apt-pinning to allow installing packages from the karmic repository as well. First, add the karmic repositories in etc/apt/sources.list (it’s the same as your current repositories, just copy them and replace the release name). Then edit /etc/apt/preferences :
For example this should work:
Remove any php packages installed (using synaptic). Then you can do:
But be careful with any dependancies of php in order not to break something else in your system.