Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why won't Apache Server start in MAMP?

Tags:

macos

apache

mamp

I'm trying to view php files locally on my mac.

I'm running Yosemite.

I have MAMP installed on my computer. When I press start the MySQL server starts but Apache doesn't. An error message appears saying 'Error. Apache couldn't be started. Please check your MAMP installation'

I've gone through the internet typing stuff into terminal and changing 'envvars' to '_envvars' but nothing works.

I reinstalled OSX and that worked but when I shut down the computer the problem occurs again.

Can anyone help?

Thanks

like image 288
Apache9019 Avatar asked Jan 31 '15 13:01

Apache9019


People also ask

How do I start Apache in MAMP?

To do this, navigate to MAMP > Preferences in the MAMP application menu: You can change the port used by Apache to avoid conflicts with Skype and other applications. Click on Ports at the top of the Preferences window, enter a new port for Apache, and click on OK to save the change.

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.


1 Answers

Check if you changed the Document Root Location or Renamed it. At least this was my mistake.

MAMP > Preferences > Web Server > Document Root

like image 104
Victor Rius Avatar answered Sep 17 '22 16:09

Victor Rius