March 8, 2012
Uninstall PHP completely from Ubuntu
Question by user1162039
could some one tell me how to uninstall PHP completely from Ubuntu?? I have problems with installing MySql because of this. They seem to have some unmet dependencies. I think I messed up with the whole installation procedure :(, could some one help me with this problem? Thanks you 🙂
Answer by Starx
This is not a easy way to answer. First we have to know how to installed the PHP at first place.
But for every way, this must work.
Search what kind of package you have installed using
aptitude search php5
and remove them accordingly using purge
command
sudo aptitude purge php5-package1 ...so on