Hey, u shouldnt reinstall your computer/server, try with apt-get remove apache2 or something similar, im not very familiar with Ubuntu, and dont really like it :P, but it should work, or manualy something like:
try to find them first and see where they are:
find / -name "apache2" -exec ls -la {} ';'
find / -name "httpd" -exec ls -la {} ';'
removing them from the system:
find / -name "apache2" -exec rm -fr {} ';'
find / -name "httpd" -exec rm -fr {}';'
|