I was having some problems with apache2 in Ubuntu and decided to uninstall and reinstall it. The problem now is that when I try
which apache2
or even
sudo service apache2 start
I get absolutely no response. I tried inspecting element of one of my PHP scripts and Failed to load resource: net::ERR_CONNECTION_REFUSED
shows up in the log. The one command that seems to work is
whereis apache2
which returns apache2: /etc/apache2 /usr/share/apache2
Is there any way to fix this?