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
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.
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.
Check if you changed the Document Root Location or Renamed it. At least this was my mistake.
MAMP > Preferences > Web Server > Document Root
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