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 ... [Wed Aug 01 21:07:34 2012] [notice] Digest: done [Wed Aug 01 21:07:34 2012] [notice] Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2 configured -- resuming normal operations [Wed Aug 01 21:08:00 2012] [notice] caught SIGTERM, shutting down [Wed Aug 01 21:08:01 2012] [notice] Digest: generating secret for digest authentication ... [Wed Aug 01 21:08:01 2012] [notice] Digest: done [Wed Aug 01 21:08:01 2012] [notice] Apache/2.0.63 (Unix) PHP/5.3.2 DAV/2 configured -- resuming normal operations [Wed Aug 01 21:08:51 2012] [notice] caught SIGTERM, shutting down
I don't think I did anything our of the ordinary except create a new folder in htdocs. Any suggestions?
There are several reasons your Apache server might fail to run. Something could be blocking the port it uses; there could be another instance of Apache already running; or there might be an incompatibility with the version of PHP you're using in MAMP.
Starting MAMP If you don't see the Welcome page, go to http://localhost:8888/MAMP/ in your browser. From the control panel, you can stop your local servers by clicking Stop Servers, or start them by clicking Start Servers. You can also open the Welcome page, and access Preferences.
Step 1: Visit https://www.mamp.info/ and select Downloads in the top right corner of the website. Step 2: Select the MAMP & MAMP PRO button below the Apple Logo to begin downloading MAMP for the Macintosh Operating System. Step 3: Chrome will begin downloading MAMP.
There are several possible causes for the MAMP Apache server not starting error: Something is blocking the port used by the Apache server. Skype is a frequent culprit. Another instance of Apache is already running on your computer. There’s an incompatibility between the versions of Apache and PHP being used.
Quit MAMP PRO. Open the Activity Monitor located in your /Applications/Utilities folder. Type "httpd" into the search field on the top right. Quit every process you find after your search. Restart MAMP PRO. If Apache still refuses to start check the log file available through the General Tab in you MAMP PRO interface for error messages.
The most common problem with Apache Server not starting is another Apache service running on the same port. Quit MAMP PRO. Open the Activity Monitor located in your /Applications/Utilities folder. Type "httpd" into the search field on the top right. Quit every process you find after your search. Restart MAMP PRO.
From the MAMP window, navigate to MAMP > Preferences, and then click on the PHP tab at the top of the screen: You can try changing the PHP version used in MAMP to resolve issues with the Apache server not starting. Click on the dropdown menu next to “Standard Version”, and select a different version number from the list.
My solution: in /Applications/Mamp/Library/bin, find the file envvars and rename it to _envvars.
now it works.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With