How to install MySQL/Apache/PHP on Mac OS X?

12,523

Follow the instructions on this page, works perfectly fine.

MAMP is good, but it's gonna install everything from scratch. The same goes for PHP via homebrew. I have tried all of those. But you have to remember that your Mac comes bundled with Apache and PHP out of the box. You just have to add MySQL to the mix and get rolling.

Share:
12,523
andrewpthorp
Author by

andrewpthorp

Rubyist, rails, HTML, and js developer. I desire to be an 80 percenter (www.handcraftedcss.com)

Updated on August 22, 2022

Comments

  • andrewpthorp
    andrewpthorp over 1 year

    Do you guys recommend using MAMP, or should I go about a manual install? I am savvy enough to do the install manually (I have done many manual Apache installs with Ruby on Rails in the past), but I am not sure if MAMP is worth it.

    Any guides, tips, or opinions are welcomed, as well!

    UPDATE

    This will be used for development purposes. Speed/Efficiency is not the most important thing. As long as php/apache/mysql are all available, I should be okay.

    Keep in mind, MySQL has already been installed (using Homebrew), and I prefer to install mysql/postgresql that way.

    Thanks!

  • andrewpthorp
    andrewpthorp over 12 years
    So are php/apache available formulae on homebrew? I wasn't aware of that, as it would definitely be my preferred method.
  • Pete Mitchell
    Pete Mitchell over 12 years
    There are non-official formulae available notfornoone.com/2010/07/install-php53-homebrew-snow-leopard
  • MarkSmits
    MarkSmits over 12 years
    Managing Virtual hosts on OSX is a piece of cake with VirtualHostX
  • andrewpthorp
    andrewpthorp over 12 years
    Good Resource. Exactly what I was looking for. Thanks!