Unable to start XAMPP Apache server on MacOS-Sierra

xampp apache is not starting mac
xampp mysql not starting mac
/system/library/launchdaemons/org.apache.httpd.plist: could not find specified service
brew install xampp
how to start xampp in mac terminal
sudo /applications/xampp/xamppfiles/bin/mysql server start error
open xampp control panel mac
error starting "xampp" stack

Whenever I'm trying to start my Apache server from XAMPP on my Macbook (MacOS-Sierra) . I'm getting following application log :

Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started

And status remains Stopped. I re-install XAMPP and restarted my laptop multiple times, but I'm still having same issue. Couldn't find anything help to resolve this issue.

I found the solution:

  1. Make sure port 80 is not being used (Use Network Utility and scan for port 80. If you found any application using port 80, then kill it)
  2. Open terminal and execute

    sudo apachectl stop 
    

    (ignore, if you get any error)

  3. On the same terminal window execute

     sudo /Applications/XAMPP/xamppfiles/bin/apachectl start
    
  4. Open XAMPP control panel, your apache server might have started by now, if not then you can start manually by clicking start button.

This worked for me!!

XAMPP Apache Webserver localhost not working on MAC OS , This allowed XAMPP to start on 80, while POW runs on 20559. What had failed: I reconfigured /etc/apache2/httpd.conf to listen on an alternate  Go to a web browser and type localhost:8080/phpmyadmin/. (8080 is your change port number). Now your XAMPP server is ready for your use. In this process, you can easily use many software like XAMPP, Skype, Team viewer etc. at a time. If you will face any problem with XAMPP Apache server.

Another related issue, which I faced caused Apache sever failure. And failure logs is :

[Sun Jul 30 12:43:58.747822 2017] [unique_id:alert] [pid 9188] (EAI 8)nodename nor servname provided, or not known: AH01564: 
unable to find IPv4 address of "MacBook-Pro.local" AH00016: Configuration Failed

To solve this :

  1. Executed following command

    sudo -e /etc/hosts
    
  2. Then, changed following entries

    127.0.0.1    localhost
    ::1    localhost
    

    to

    127.0.0.1    localhost MacBook-Pro.local
    ::1    localhost MacBook-Pro.local
    

XAMPP won't start Apache on Mac OS X 10.10.3 Yosemite, After months of trying, I finally got it working. I found the solution here: disable OSX's built-in Apache server. sudo launchctl unload -w  deepak.201525 Posts: 1 Joined: 11. July 2017 15:18 XAMPP version: XAMPP-VM-7.1.6-0-preview Operating System: MacOS Sierra

I had the same Problem and fixed it by deleting the lib folder in Applications/XAMPP/xamppfiles/ and installing XAMPP again. It's probably due to old lib files from previous versions not being updated properly.

Solve XAMPP problems when Apache doesn't start, What is the meaning of the error messages I see when starting XAMPP? You may get several error messages while starting XAMPP: LAMPP-Apache is already  apache will not start without the configured ports free! port 443 in use by "unable to open process" with pid 4! 13:47:10 [Apache] Problem detected! 13:47:10 [Apache] Port 80 in use by "Unable to

I had the same issue when I update my XAMPP app, if you have to do this, you first have to uninstall your XAMPP (save your HTDOCS files in another folder, NOT in XAMPP folder, or you will lose it), and after that you can install the newest version of XAMPP. It worked for me, hope for you too.

xampp mac not working (how to install xampp on mac) solved , If you are getting error "Can't connect to local MySQL server through socket '/​Applications/XAMPP/xamppfiles/var/mysql/mysql.sock' (61. PHP; MySQL; Apache (61 "Connection refused")" when starting XAMPP on MACOS - here is the solution. How to update PHP version on your MacBook - macOS Sierra. The configuration file I’m going to create will start XAMPP’s Apache server as a service at system startup. In Terminal I’d type /Applications/XAMPP/xamppfiles/xampp startapache to start XAMPP’s Apache server, so this is the command I’ll include in my configuration file.

Simply goto your terminal and type:

sudo apachectl stop 

It'll ask for password. Enter your system password.

Go back to XAMPP control panel and start Apache. It should get started now.

XAMPP FAQs for Mac OS X, Before installing XAMPP, you should turn off any other web servers and instances of MySQL you have running on your Mac. XAMPP is a You should see the start page of XAMPP: XAMPP Start Page for OSX You should be able to get in. I also noted that my folder was named C:/Xampp1 while the server root in httpd.config was C:/Xampp/Apache so removed the 1 in my folder so it matches the http.config file I then started Xampp as administrator Shocked to see that it worked like a charm (Win firewall asked to allow access and now I am good to go)

Can not start XAMPP on MACOS Catalina, Set up localhost on macOS High Sierra (Apache, MySQL, and PHP 7) with SSL/​HTTPS Open Terminal and type sudo nano /etc/apache2/httpd.conf and press on MySQL and you'll see that it's turned off; Press Start MySQL Server to turn it XAMPP Apache Webserver localhost not working on MAC OS Solutions 1: Stop Conflicting Program And Start XAMPP Apache Server If you carefully read this XAMPP message, you’ll see they give a solution – to uninstall/disable or reconfigure the blocking program. For example most common programs for Apache not starting is Skype. If that is the case quit/stop Skype and run Apache and see.

How to install, start and test XAMPP on Mac OSX, XAMPP is a free distribution package that makes it easy to install Apache Web Server, PHP, PEAR, and MySQL. Before installing XAMPP, you should turn off any other web servers and instances of MySQL you have running on your Mac. Installing XAMPP on a Mac. Download XAMPP for Mac OSX - Be sure to select the proper version of PHP. For Webucator

Set up localhost on macOS High Sierra (Apache, MySQL, and PHP , Unable to START the Apache in the XAMPP server. Thread starter Rajashekar; [pid 3404:tid 652] AH00456: Apache Lounge VC15 Server built: Aug 11 2019 12:20:04

Comments
  • ahh.. thank you for saving my sanity. I am getting real drunk tonight.
  • just to add, to check which process is using port 80 on mac you can use $sudo lsof -i ':80'