Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Apache Server Won't Start in MAMP

Tags:

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?

like image 466
user1114864 Avatar asked Aug 02 '12 04:08

user1114864


People also ask

Why Apache server is not starting in MAMP?

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.

How do I start my own MAMP server?

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.

How do I start MAMP server on Mac?

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.

Why is my MAMP server not starting up?

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.

How do I stop Apache from running on MAMP?

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.

How do I fix Apache server not starting up?

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.

How do I change the default PHP version in MAMP?

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.


1 Answers

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

now it works.

like image 133
Eimantas Gabrielius Avatar answered Nov 19 '22 06:11

Eimantas Gabrielius