I'm a beginner webdev using linux. I installed Xamp in my ubuntu 18.04 LTS. But when i make **sudo /opt/lampp/lampp start** so as to start apache, apache doesn't start. I tried to see if another webserver is running on the port 80 by tapping **telnet localhost 80** and remarked that another webserver is running. But i don't know how to stop it and get apache running in lieu of it. Of course i did a google search but i'm not getting a helping answer to my question. Does anybody know how i can fix my problem and get apache running ? thanks for helping
hello,
Sometimes you need to stop/start it from the bin/ folder. You have to check where exactly your apache is installed. For example if you installed apache in "/usr/local/apache2/". You have to start/stop the server as follow :
$cd /usr/local/apache2/bin/ $ sudo ./apachectl -k stop
if you want to start ==> replace stop by strat
I hope this can help you ;)