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

Author: Nabin Nepal (Starx)

Hello, I am Nabin Nepal and you can call me Starx. This is my blog where write about my life and my involvements. I am a Software Developer, A Cyclist and a Realist. I hope you will find my blog interesting. Follow me on Google+

...

Please fill the form - I will response as fast as I can!