Macos – XAMPP Apache Webserver localhost not working on MAC OS

apachemacosxampp

I install XAMPP server on MAC OS 10.6 it was working fine.
After a lot of days I checked it, but not working this time, localhost not opening this time.

after some R&D I reinstall XAMPP server after uninstall

When I start the apache after reinstall it giving port 80 running a another webserver Then I restart system, then apache start ok, but same local host not working

Then I check Web Sharing in my System Preference then it was already Tuned Off …

Please anybody tell me where I am wrong?

Best Answer

This is what helped me:

sudo apachectl stop

This command killed Apache server that was pre-installed on MAC OS X.