Hey I want to build some web junk on OSX, I just want the software to be installed in a manageable package, like all the other good OSX stuff. preferably lighttpd but apache works too.

  • OSX already has Apache installed. – Paul Tomblin Dec 27 '10 at 0:07

The built in Apache server on OS-X is probably your best bet. It comes with the PHP module pre-installed and with OS-X having ruby, perl, and python; there's no CGI-configuration necessary.

you'll find the configuration files here:





Mac OS X comes with Apache pre-installed. You do not need to install anything.

Here's a link to a tutorial:


  • A decent guide, but I don't like how it abuses .local like that. – Ignacio Vazquez-Abrams Dec 27 '10 at 0:14
  • I agree. Technically speaking, any use of .local is abuse, because it is not reserved in RFC 2606. I would take it as a placeholder and use something sensible. – Skyhawk Dec 29 '10 at 3:31

I've been using MAMP on OSX which is pretty easy to set up and manage. You can use it for PHP/MySQL development served by Apache Web-server on your local machine.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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