views:

1060

answers:

5

NetBeans is recommending to use MAMP for Apache + MySQL + PHP on the Mac. There's a MAMP and a MAMP PRO. The MAMP is actually nothing more than a collection of open source libraries and stuff like PHP, MySQL, etc. in one big directory that goes to /Application/MAMP/. It comes with a little GUI to start/stop the server and to do some very basic settings. However, it is extremely limited. There's a MAMP PRO which does some more things but costs like $65. As I'm not making any money with my web dev I look for free solutions.

So is there something else that's open source / free, which does the same thing like MAMP Pro? starting / stopping PHP / Apache / MySQL on the Mac, configuring hosts, ports, etc.?

+1  A: 

Is there something wrong with the software already built-in?

The official MySQL distro includes a graphical start/stop client. It's a single button, in fact.

The built-in copy of Apache can be startted and stopped in the file sharing settings area. Combine it with a not-ancient version of PHP and you're set.

Charles
well, the thing about MAMP PRO is, that it lets you easily configure hosts and stuff like that. But you're right, actually all the stuff is there already. But that's not the point.
openfrog
@Charles: One advantage of using MAMP is that it allows you to move your complete setup (files, databases, configurations, etc.) around easily because everything is stored within the MAMP application folder. If you need to switch to a different computer, you can simply drag the MAMP folder across and continue working.
Steve Harrison
A: 

I'm pretty sure XAMPP works on the mac. But it's not as good as MAMP.

sprugman
-1 He's looking for something *better* than MAMP.
donut
No, he's looking for something *CHEAPER* than MAMP Pro. Since I don't know his full needs, I provided a possibility, though, I agree, I wouldn't really recommend it.
sprugman
Sorry, I meant MAMP, not MAMP *Pro*. I think you were referring to MAMP Pro in your post but I read it has plain MAMP. If that's the case, then edit your post and I'll remove my down vote.
donut
A: 

You can always use a packetmanager like MacPorts and follow their guide to set it up

Jonas Wouters
+3  A: 

Learn how to edit the Apache config file, then you can do anything you want. All you'll need is a text editor. I have MAMP free and just edit my config file as necessary. My Apache config for MAMP is located at /Applications/MAMP/conf/apache/httpd.conf. The file is well commented and you can Google any of the settings in there to learn more about them. GUI tools are a nice luxury, but we shouldn't be completely dependent upon them.

Brandon
+2  A: 

One of the problems with using the built in packages of Apache etc is that they considered system software and are routinely updated by apple's software update. Most of the time this is fine, But sometime if you have a lot of custom tweaks or version updates or want to use a very specific version you can sometimes get tripped up by the software update. So that is one argument for alternative package like MAMP which can be more precisely managed like a production evironment.

Plus if one is "learning" apache and PHP administration it is less risk to bork an standalone package like MAMP or Macports.

As for alternatives to MAMP, macports it useful. But also there is the Bitnami project

http://bitnami.org/

They have nice installers for specific application bundles, and a vanilla LAMP type environments. There is also a clean uninstaller which is nice. So experiment away and you don't have to worry about break system software or configurations.

Gordon Potter