I am trying to completely remove apache + phpmyadmin + php from my Ubuntu operating system. For phpmyadmin i tried
sudo apt-get autoremove phpmyadmin
but the files were still in the /etc/ folder. So I tried
sudo rm -rf phpmyadmin
However I am not sure if this does the job or still leaves stuff behind?
for Apache I opened the Ubuntu Software centre and tried to uninstall all the apache components but I can still go to localhost and it works? I also tried the same autoremove command but localhost still works.