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
My solution: in /Applications/Mamp/Library/bin, find the file envvars and rename it to _envvars.
now it works.
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
Just reinstalled MAMP and changed the ports. Not sure what the problem was, but it's fixed now.
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!