Apache Server Won't Start in MAMP

前端 未结 10 878
灰色年华
灰色年华 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 12:00

    My solution: in /Applications/Mamp/Library/bin, find the file envvars and rename it to _envvars.

    now it works.

    0 讨论(0)
  • 2021-02-02 12:01

    In case above answers didn't fix it, you can check that Document Root isn't set on some non-existing directory. Go to MAMP Settings > Web-Server > Document Root

    0 讨论(0)
  • 2021-02-02 12:08

    Just reinstalled MAMP and changed the ports. Not sure what the problem was, but it's fixed now.

    0 讨论(0)
  • 2021-02-02 12:12

    Solution: MAMP 4 - Dec 2017, macOS High Sierra

    Had this issue with MAMP Pro 3.4.1 so i paid for a new license so i could upgrade to Version 4.2.1 and the problem still occurred. I tried the above solution and unfortunately had no luck.

    I did however get Apache running again by selection all options for the directory directive as shown in the image below:

    This issue occurred completely randomly, one day everything working fine then the next... Apache says no. I believe the issue is that like web browsers use a Cache and separately also hold open processes, i think sometimes when MAMP or MAMP Pro is not closed properly then it can screw up Apache because it is not stopped correctly.

    I hope this answer helps any persons experiencing this issue!

    0 讨论(0)
提交回复
热议问题