开发者

Is there an free alternative to MAMP PRO? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.

开发者_开发问答

Closed 9 years ago.

Improve this question

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.?


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.


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.


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.


You can always use a package manager like MacPorts or Homebrew and follow their guides to getting set up.


There is a solid, open source, alternative to MAMP called MNPP. It has everything MAMP has, but updated.

Edit: 7 years later the project looks to be abandoned and the main domain is gone. The repo is still around but hasn't been updated in ages, so I would not recommend using it. For reference here's the repo url: https://github.com/jyr/MNPP


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜