Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XAMPP Apache Webserver localhost not working on MAC OS

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?

like image 635
Amit Battan Avatar asked Jan 03 '11 06:01

Amit Battan


People also ask

Why my XAMPP localhost is not working?

Resolve Apache port conflicts by changing your listening port to 8080. Include the listening port in the address when accessing localhost. Change your MySQL port to 3307 if another application is blocking the default port 3306.

Does XAMPP work on Mac?

XAMPP for OS X is a native installer for OS X. It installs Apache, PHP and other XAMPP components directly on your OS X system, in the /Applications/XAMPP folder. XAMPP-VM is a virtual machine for OS X.

Why is my Apache server not working?

There are several reasons your Apache server might fail to run. Something could be blocking the port it uses; there could be another instance of Apache already running; or there might be an incompatibility with the version of PHP you're using in MAMP.


1 Answers

This is what helped me:

sudo apachectl stop 

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

like image 156
Yakov Fain Avatar answered Sep 21 '22 01:09

Yakov Fain