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.

link|improve this question

24% accept rate
OSX already has Apache installed. – Paul Tomblin Dec 27 '10 at 0:07
feedback

3 Answers

up vote 1 down vote accepted

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:

Apache:

/private/etc/apache2/httpd.conf

PHP:

/private/etc/php.ini
link|improve this answer
feedback

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

Here's a link to a tutorial:

http://shapeshed.com/journal/setting_up_local_websites_on_snow_leopard/

link|improve this answer
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. – Miles Erickson Dec 29 '10 at 3:31
feedback

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.

http://www.mamp.info/en/index.html

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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