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

后端 未结 6 1598
广开言路
广开言路 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条回答
  •  Happy的楠姐
    2021-02-09 01:44

    In my previous experience running the command apachectl configtest will show any configuration errors you might have. If everything is ok it will print Status OK, otherwise it will show you the config error(s). Fix those and then retry apachectl start.

提交回复
热议问题