Resolving Apache/ColdFusion connection error in MAMP Pro
I've been using MAMP Pro for a while to do local ColdFusion development on my Macbook. It makes installing, configuring, and connecting Apache, MySQL, and (shudder) PHP an absolute breeze. And with a little bit of know-how, you can add ColdFusion into the mix to make a stack that is not only easy to use, but fun. When I was consulting, it was well worth the $60 pricetag to be able to use multiple hostnames, but if you only need 1 hostname or are perfectly happy to work out of subfolders of http://localhost/, then the free version of MAMP would be fine for you.
I'm not going to show you how to install ColdFusion 9 into MAMP Pro, because there is already a great video that shows how to install ColdFusion 8 into MAMP Pro, and the install process for CF9 is not different enough to warrant a whole new video by itself. Instead, I'm going to show you how to fix an error that I consistently ran into during the installation process detailed in that video.
At right around the 19 minute mark of that video, the presenter has completed installing ColdFusion and configured MAMP to connect to it; so he restarts his MAMP services to give it a go. At this point, I get the error:
Start Apache failed
Apache wasn't able to start. Please check log for more information.
How do you fix this? Well, why don't I show you?
If this version is too small, you can view it full screen, or you can watch the HD copy on Vimeo.
Hopefully this proves helpful to others out there that want to run CF9 on MAMP or MAMP Pro. I know it drove me nuts for a while.
in Adobe | Apple | ColdFusion Posted 2009-10-28 09:32






3 responses:
I only like two baseball teams... The Cubs and anyone whoever's playing against the Yankees. :)
You using the latest MAMP? I can't seem to get it to work for me.. MAMP now uses Apache 64bit but your hack doesn't work... ideas?
I've since switched away from MAMP, sorry. I now just use the included Apache and MySQL installs in OSX.
Leave a comment: