Mac users: MAMP now recommended, not XAMPP
Dear Mac users,
There have been a number of issues with configuring XAMP on the Mac for use with NetBeans IDE, most significantly that XAMP sets the owners of MySQL databases to "nobody", blocking Apache access. Therefore I have changed the Mac OS setup tutorial to use MAMP instead of XAMP. In my opinion, the MAMP setup is more straightforward than the one for XAMP, anyway.

All MySQL files should be owned by the mysql user/group. But that's a security issue.
In terms of app servers accessing the database, that goes through the normal MySQL security system so filesystem security is irrelevant from that respect.
Posted by Arjen Lentz on January 29, 2009 at 12:46 AM CET #
A nod for MAMP. I've used it for some time now and it is very easy to work with (also much more Mac like).
Posted by Stuart on January 29, 2009 at 02:05 AM CET #
Arjen's right, file system security is irrelevant to database privileges. I don't have a vested interest in either MAMP or XAMP, I use MacPorts to manage my local MySQL development server, but I don't agree with recommending one over the other.
Posted by Chad Kieffer on January 29, 2009 at 09:59 PM CET #
I'm curious why people insist on using packaged apps like MAMP when you have all the pieces already available in the OS X (Apache, PHP) and all you need is MySQL.
I can see doing MacPorts to get more "up-to-date" versions of the AMP part of the stack as compared to trying to use the vendor provided Apache and PHP with a separate MySQL install.
Am I missing some value proposition here ?
Posted by Rob Weaver on January 30, 2009 at 07:31 PM CET #
Yes Rob you are missing something... having XAMPP or MAMP makes it easy to configure and package a development environment... you can put this on a thumbdrive, can have multiple versions of the environment - starting/stopping as needed.
In addition there are tons of plugins that the default Mac configuration doesn't have for apache etc. Try doing drupal development for example with out of the box MacOS + MySQL... frankly I don't want to bother compiling from source the extensions.
It is frankly simpler and cleaner to have this infrastructure packaged and configurable in one spot.
I do various web project and with XAMP/MAMP I can have a custom environment per project or per client.
I can't image not having this kind of setup.
If you have a single monolithic environment that is mostly static than yes by all means use MacPorts and the default AMP stack on Mac OS X.
cheers
Posted by Andrew Migliore on February 08, 2009 at 01:56 AM CET #
I go to a PHP users group in San Francisco and no one recommends MAMP or XAMPP. For one thing Apache comes on the Mac. Why do you want another apache configuration? That is confusing and the system downloads upgrades automatically on the mac installed version for you. It may be easier for some to use mamp but I would like instructions on how to install the compiled versions of xdebugger for use with compiled version of mysql and php. I could not get xdebugger working with your instructions either from the xdebugger page or the netbbeans for php mac instruction page and I followed the instructions carefully and understood what I was doing. I finally used the komodo compiled version. I now have the xdebugger showing up in the php_info() but when I run the debugger in netbeans I get an error saying xdebugger can't connect it isn't configured correctly. I compiled the xdebugger from source following the netbeans instructions and the xdebugger instructions with the correct path and set the correct extension in the php.ini. It never showed up in php_info().
Please give us mac users a break and give some options on installation for configurations besides MAMP. If mamp works for you fine but for some it doesn't, as I said I use mysql and php both compiled from source. I suppose not many people use the command line for mysql anyway but it doesn't mean it is better to use mamp it just means it is initally easier.
It has taken me 3 weeks to install xdebugger and it still doesn't work and I know how to compile the binaries on the command line.
Janis
Posted by Janis Rough on February 15, 2009 at 03:54 AM CET #
Please give us mac users a break and give some options on installation for configurations besides MAMP. If mamp works for you fine but for some it doesn't, as I said I use mysql and php both compiled from source. I suppose not many people use the command line for mysql anyway but it doesn't mean it is better to use mamp it just means it is initally easier.
Posted by oteller on July 02, 2009 at 05:55 PM CEST #
I go to a PHP users group in San Francisco and no one recommends MAMP or XAMPP. For one thing Apache comes on the Mac. Why do you want another apache configuration? That is confusing and the system downloads upgrades automatically on the mac installed version for you. It may be easier for some to use mamp but I would like instructions on how to install the compiled versions of xdebugger for use with compiled version of mysql and php. I could not get xdebugger working with your instructions either from the xdebugger page or the netbbeans for php mac instruction page and I followed the instructions carefully and understood what I was doing. I finally used the komodo compiled version. I now have the xdebugger showing up in the php_info() but when I run the debugger in netbeans I get an error saying xdebugger can't connect it isn't configured correctly. I compiled the xdebugger from source following the netbeans instructions and the xdebugger instructions with the correct path and set the correct extension in the php.ini. It never showed up in php_info().
Posted by haberler on July 02, 2009 at 05:55 PM CEST #
Yes Rob you are missing something... having XAMPP or MAMP makes it easy to configure and package a development environment... you can put this on a thumbdrive, can have multiple versions of the environment - starting/stopping as needed.
Posted by tatil yerleri on July 02, 2009 at 05:56 PM CEST #
A nod for MAMP. I've used it for some time now and it is very easy to work with (also much more Mac like).
Posted by tatil hotel on July 02, 2009 at 05:56 PM CEST #
Please give us mac users a break and give some options on installation for configurations besides MAMP. If mamp works for you fine but for some it doesn't, as I said I use mysql and php both compiled from source. I suppose not many people use the command line for mysql anyway but it doesn't mean it is better to use mamp it just means it is initally easier.
Posted by konteyner on July 02, 2009 at 05:56 PM CEST #
I could not get xdebugger working with your instructions either from the xdebugger page or the netbbeans for php mac instruction page and I followed the instructions carefully and understood what I was doing. I finally used the komodo compiled version. I now have the xdebugger showing up in the php_info() but when I run the debugger in netbeans I get an error saying xdebugger can't connect it isn't configured correctly.
Posted by istanbul airport transfer on July 10, 2009 at 09:54 AM CEST #
Arjen's right, file system security is irrelevant to database privileges. I don't have a vested interest in either MAMP or XAMP, I use MacPorts to manage my local MySQL development server, but I don't agree with recommending one over the other.
Posted by istanbul airport shuttle on July 10, 2009 at 09:55 AM CEST #
I compiled the xdebugger from source following the netbeans instructions and the xdebugger instructions with the correct path and set the correct extension in the php.ini. It never showed up in php_info().
Posted by peruk on July 10, 2009 at 09:55 AM CEST #
I suppose not many people use the command line for mysql anyway but it doesn't mean it is better to use mamp it just means it is initally easier.
Posted by istanbul turkey hotels on July 10, 2009 at 09:56 AM CEST #
http://www.allistanbultransfer.com
http://www.allistanbulshuttle.com
http://www.istanbul-airport-shuttle.com
http://www.istanbul-airport-transfer.com
http://www.istanbul-hotels-shuttle.com
http://www.istanbul-hotels-transfer.com
http://www.e-istanbultours.com
http://www.e-peruk.com
http://www.newistanbulshuttle.com
http://www.newistanbultransfer.com
http://www.istanbul-turkey-hotels.com
Posted by istanbul airport shuttle on July 12, 2009 at 11:36 AM CEST #
please give us the link to download the mamp
Posted by php web development on July 17, 2009 at 08:59 AM CEST #
please give us the link to download the mamp
Posted by Medyumlar on July 24, 2009 at 12:36 PM CEST #
I have used it for some time now and it is very easy.
Posted by Lida Fx15 Biber Hapı İkibindokuz Seo Yarışması on August 21, 2009 at 07:42 PM CEST #
Thank You By Admin
Posted by mirc on August 23, 2009 at 04:24 AM CEST #
thanks
Posted by nazi on September 03, 2009 at 02:18 AM CEST #
For one thing Apache comes on the Mac. Why do you want another apache configuration?
Posted by telefon dinleme on September 16, 2009 at 01:30 AM CEST #
I could not get xdebugger working with your instructions either from the xdebugger page or the netbbeans for php mac instruction page and I followed the instructions carefully and understood what I was doing. casus telefon dinleme cihazları
Posted by casus telefon on September 16, 2009 at 01:31 AM CEST #
I finally used the komodo compiled version. I now have the xdebugger showing up in the php_info() but when I run the debugger in netbeans
Posted by dinleme cihazları on September 16, 2009 at 01:32 AM CEST #
I get an error saying xdebugger can't connect it isn't configured correctly.
Posted by casus kamera on September 16, 2009 at 01:32 AM CEST #
nice i like it.. thank you .. ses kayıt cihazı casus kamera
Posted by ses kayıt cihazı on September 16, 2009 at 01:33 AM CEST #
Please give us mac users a break and give some options on installation for configurations besides MAMP.
Posted by telefon dinleme on September 16, 2009 at 01:34 AM CEST #
If mamp works for you fine but for some it doesn't, as I said I use mysql and php both compiled from source.
Posted by casus telefon on September 16, 2009 at 01:34 AM CEST #
I compiled the xdebugger from source following the netbeans instructions and the xdebugger instructions with the correct path and set the correct extension in the php.ini. It never showed up in php_info().
Posted by oyunadasi on September 25, 2009 at 04:17 PM CEST #
It was a very nice idea! Just wanna say thank you for the information you have shared. Just continue writing this kind of post. I will be your loyal reader. Thanks again.
Posted by links of london on October 31, 2009 at 03:30 AM CET #
I get an error saying xdebugger can't connect it isn't configured correctly.
Posted by ösym on November 05, 2009 at 01:46 AM CET #
saying xdebugger can't connect it isn't configured correctly.
Posted by domuz gribi on November 18, 2009 at 08:17 PM CET #
how can ı install the mamp?
Posted by divx film indir on November 25, 2009 at 02:12 AM CET #
saying xdebugger can't connect it isn't configured
Posted by haber on November 25, 2009 at 04:04 PM CET #
xdebugger can't connect it isn't configured
Posted by video on November 25, 2009 at 04:09 PM CET #
How you can install MAMP is desribe for example here: http://netbeans.org/kb/docs/php/configure-php-environment-mac-os.html#installMamp
Posted by Petr Pisl on November 25, 2009 at 05:42 PM CET #