Apache Server Won't Start in MAMP

前端 未结 10 885
灰色年华
灰色年华 2021-02-02 11:10

Apache server won\'t start when in MAMP. Here are the error logs:

[Wed Aug 01 21:07:34 2012] [notice] Digest: generating secret for digest authentication ...
[W         


        
10条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-02-02 11:51

    If your existing MAMP PRO suddenly won't start Apache anymore, then it might be an error in vhosts settings which is not visible.

    There is often no indication in apache_error.log - it just comes up with the message.

    Apache wasn't able to start. Please check log for more information.
    

    In my case it was a wrong path in Customized virtual host settings such as

    Include /path/to/project/rewrite.conf
    

    Vhost config is saved in ~/Library/Application Support/appsolute/MAMP PRO/httpd.conf so you can check the settings there.

提交回复
热议问题