Mac Apache web server won't start anymore and can't find any web directories

后端 未结 6 1583
广开言路
广开言路 2021-02-09 01:07

I\'m on Mac Yosemite 10.10.5. Apache web server suddenly no longer starts. I tried changing the port to 8080. Also tried sudo apachectl stop and sudo apachectl start. Still won\

6条回答
  •  野性不改
    2021-02-09 01:44

    After 48 hours of research, I found this working solution, I found the solution here: disable OSX's built-in Apache server.

    sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist
    

    This allowed XAMPP to start on 80, while POW runs on 20559.

提交回复
热议问题