Tech

Blog post of extremely limited usefulness – ColdFusion 11, Mac OS X and MAMP

This post will admittedly have a very small audience, but for those of you who do stumble on to it while trying to get ColdFusion 11 installed and configured in a development environment on OS X using MAMP, you’ll hopefully find it very helpful.

By default, the web server connectors that ship with ColdFusion 11 (including the Apache connector for OS X) don’t play nicely with a MAMP setup. Attempting to run the connectors in their default state will result in the connector scripts trying to install themselves in to the default OS X apache installation in the /etc/apache2 directory.

Of course, with MAMP, what you’d like is for the connector to install itself to the Apache webserver embedded within MAMP, which on a default MAMP OS X installation is located within the /Applications/MAMP directory.

The easiest way to resolve the problem is by opening up the apache_connector_macosx.sh script (this is located in the /Applications/ColdFusion 11/cfusion/bin/connectors directory) and modifying it so that the -dir, -bin, and -script variables point to the Apache installation that you want to use with ColdFusion.

You can do this pretty easily yourself with any code editor, but in the event that you can’t or don’t want to do this, I’m sharing a pre-modified version of the apache_connector_macosx.sh script that you can download and run to get your installation up and running.

You can download the modified web server connector script here.

Share

4 thoughts on “Blog post of extremely limited usefulness – ColdFusion 11, Mac OS X and MAMP

  1. This is great info, but I can’t access your connection script. Is there a chance you could either update this post with the script? Or tweak the script URL so it still works?

    Thanks!

    bobby

    1. Hey Bobbytuck, sorry about that. I am not sure what happened to it, but if you want to send me your .sh file, and the location of your Apache installation, I’ll be happy to make the changes and send it back to you if you’re not comfortable doing so. Let me know.

  2. Howdy,

    Thanks for the offer to look at my file, but I’m wondering: if it’s not possible to host the file, could you edit the original post to show the actual code changes you made for the file?

    I suspect many (many, many) people have this issue — connecting CF to MAMP — and it’d be great to have an actual up-to-date step-by-step for doing this.

    I’m happy to write this up and send it to you — actual steps (not a video, not for CF8, not for Winows — but for CF 11, MAMP Pro on a Mac) but I’d like to actually see how it’s done — and then get it working on my end.

    The resources available for this (including a Vimeo video) are out of date versions of CF. Now that MAMP is available for Windows, too, it might be even more useful to finally offer an actual step-by-step for all MAMP users using CF11 for both Windows and Mac platforms.

    Email: bobbytuck at gmail dot com

Leave a Reply to Kai Pradel Cancel reply

Your email address will not be published. Required fields are marked *

Connect with Facebook

seventeen + 20 =

*