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
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
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.