Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How different is it from Snow Leopard to create a MySQL, Apache, PHP install from scratch (not MAMP) on Mac OSX 10.7 Lion?

share|improve this question

Apache+PHP is pretty simple. All you have to do is...

  1. Start the Apache server from System Preferences->Sharing->Web Sharing.
  2. Uncomment the php5_module in /etc/apache2/httpd.conf. Load that file up in your favorite plaintext editor, search for the string "php", and remove the # from the beginning of the line.
  3. Run $ sudo apachectl graceful in Terminal to reboot the Apache server with the new module active.

Installing MySQL can be slightly more hairy, but your best bet is to grab a DMG/PKG installer file from (download the Mac OS X 10.6 64-bit DMG Archive) and follow your nose. There are some good Googlable resources for that (try install mysql mac) if you run into trouble, but once you've got the server running and automatically starting after reboot, it should be pretty easy to get PHP to talk to it.

share|improve this answer
Many thanks NReilingh, I will try this! – Steve Kirkendall Jul 26 '11 at 21:17
@Steve For a long time, there were no MySQL install packages for OS X. If you search the web for instructions, make sure they explain how to set it up after installing the installer packages NReilingh linked to before following their instructions. Or do you want to install Apple's developer tools if you don't have to? – Daniel Beck Nov 12 '11 at 12:31

I just did this last weekend so it's still fresh in my mind. I found this to be the most [helpful guide]( ), Everything besides PEAR worked for me. And if you want some side-reading or what not I found these two just okay.

But really you should be fine. I'm totally enjoying my new environment following the first guide.

share|improve this answer
I forgot to mention that OS X Lion made some large changes to custom MAMP structure. It was quite annoying if you came from Snow Leopard like I did so those links also helped explain those changes to me. Cheers! :) – victoroux Nov 12 '11 at 15:31

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.