Yosemite MAMP Issue Primer Tutorial

Yosemite MAMP Issue Primer Tutorial

Yosemite MAMP Issue Primer Tutorial

A few days ago we installed Mac OS X Yosemite 10.10.2 on our Macbook Pro laptop here and showed you the install with Mac OS X Yosemite and iOS 8.1.3 Install Tutorial.

Most operating system installs will impact on the things you do, and today we show you a small impact on our local MAMP Apache/PHP/MySql application on our Macbook Pro, that made it stop working after the Mavericks to Yosemite upgrade. The symptom of the issue is that, on booting MAMP, MySql starts okay but Apache (local web server) does not.

So did a Google search as per this search and arrived at this (third entry of search) very useful advice. Thanks everyone.

So, can you live without MAMP, as a local web server? Well, if you are doing a lot of work with PHP, in particular, but even if you are only writing HTML/Javascript/CSS, MAMP is very useful to test a unit of programming work before you make it live. The alternative, that only would be possible for HTML/Javascript/CSS is to point a web browser at some HTML via File->Open File. This fails to test the http protocol (while MAMP URLs coming off HTTP://localhost:8888/ do), and, as such, would get you a less accurate idea of how the HTML will perform when you (s)ftp upload your HTML to the live web server (if that is what you are doing). In short, MAMP is invaluable, and, for the three seconds I took to imagine my programming world without it, I’m glad I could lean on the great open source world for solutions, yet again.

Just to reiterate what the fix involved, after discovering a MAMP boot would start MySql but not Apache, with the Mac OS X Yosemite Terminal application with its Linux Bash environment, we typed …


cd /Applications/MAMP
cd bin
cd apache2
cd bin
mv envvars _envvars

Stop Press

If “envvars” does not exist, it may be called “envvars-std” ( so … mv envvars-std _envvars-std ) … macOS High Sierra

… retried MAMP, and … yay!!!! … MAMP boot starts MySql and Apache.

If this was interesting you may be interested in this too.

This entry was posted in eLearning, Hardware, Operating System, Tutorials and tagged , , , , , , , , , , , , , , , , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>