Installing ColdFusion8 on Leopard using MAMP
I had the hardest time getting ColdFusion 8 installed on my development machine. I am totally new to CF and I wanted to give it a try so it was a real bummer to install it and not getting it to work. The problem is that CF8 does not work on a Mac if you have upgraded to Leopard OS 10.5. There are tones of tutorials online on how to get this up and running. I was not able to get any of them to work. I think it may have something to do with the fact that my current machine is running a Powerpc chip and not one of the new Intel Chips. I am sure there are a host of other reason.
Well after 2 days of installing and reinstalling several different ways I choose to try and get CF working on both my PowerPC machine and my Intel based MacBook Pro. The following video will explain how it is done. I hope this saves someone a lot of trouble.
[...] http://www.flashalisious.com/2007/12/14/installing-coldfusion8-on-leopard-using-mamp/Â [...]
Thank you, thank you thank you!!! (I still haven’t rebooted my computer - as CF failed to respond after restarting with other installation methods)…but biding any disasters involved in a restart - you are a hero!
My pleasure Eric. It took me a few days to figure this out so I figured that someone else would end up needing to know how to do this too.
Thanks! Your solution is by far the easiest to deal with. Brand new to CF myself. Got it up and running on my Intel mini with Leopard. By the way, have you been able to use MAMP with Wordpress? I was using MAMP with WP before, but I only got CF working when I took WP out of the htdocs folder. Have not tried to put WP back on. Guess will focus on CF for the time being until Adobe gets 8.1 out and all of this will be sorted out…
I am so glad that this helped you Spirit Bear. I am really not sure about why the CF install with MAMP would screw with your WP install. They should run side by side ok? I have not used MAMP to do any WP development on my local machine. I usually develop Flash and Flex apps that need either a PHP or CF backend so MAMP helps me do that.
Many thanks for the Tutorial, but with me the installation seems to have functioned not properly. After the installation I can call no cfm file. This is offered to me always only to the download. After a reboot I still have this problem. I am use not only MAMP, but MAMP Pro. If this can be a problem?
I have run into this problem before in the past you need to make sure that you edit your Apache Server Config file so that it looks for the .cfm extension. Once you have edited this file you need to shut down the MAMP Apache server and the restart it. Also it would not hurt to restart CF too.
If that does not work I would recommend to you that you may need to try doing a complete uninstall of MAMP and CF and try the process again.
Usually on the make removing a program is as simple as dragging it to the trash but when removing MAMP I would recommend that you use a program called AppZapper. It will insure that all the system files that MAMP requires are removed.
Now this may or may not be an unnecessary step but I would first start with making sure that your Apache config file is set up to look for .cfm files.
You need to look in the MAMP > conf > apache > httpd.conf
Look around line 455 or so for the DirectoryIndex
It should already have index.html index.php next to it but my line looks like this
DirectoryIndex index.html index.php index.cfm index.htm
save the file and restart Apache and CF
I am running into the same problem as cbeier with my cfm files. I noted you advised him to “edit your Apache Server Config file so that it looks for the .cfm extension”…..as I’m a newbie to this, can you point me in the right direction to that file and how to change those settings?
Thank you again SO MUCH for your help!
This is really amazing!
). Nothing worked until I found this blog.
First I want to thank you for this video.
I spent about 3 days trying to get CF8 to somehow work on my MacBook (and I just switched from Windows to Mac
I’m sure I tried all possible ways of installing CF with Apache - XAMPP, MAMP, with build in server..
I thought “what the hack, try it following this movie step by step - you have nothing to lose”
And i won!
Thanx a lot!
Matthew: if you ever come to Germany and need anything, let me know!
Luggage,
Thanks for the comment I am so glad that this helped you. Only thing that I could ask for is some good old German Beer!
Thank you very much for this walk through. Absolutely worked for me.
Tim,
So glad to hear that this helped.
Just to let everyone know as well I have been able to install the stand alone server and launched it with the Terminal windows just fine as long as you are willing to test using http://localhost:8500/
Hey Matthew,
As soon as I discovered MAMP for myself I fell in love, but now that I can use CF with MAMP my Development on my Mac is 100% proficient. Thanks for the tip… BTW, I’m eagerly awaiting your Video on using Flex and CF together. I’m starting a project that is going to be built in Flex and will rely on CF as my server-side language, and your video would be of great importance for me.
Thanks for the tips, I hadn’t thought about installing MAMP as the solution to all of this until I ran into your site.
A quick question - have you had any luck adding the Coldfusion start and stop commands to MAMP’s start and stop scripts? I’ve tried it a couple of different ways, but haven’t yet found any that seem to work. It would be great if I could get MAMP to automatically start and stop ColdFusion with the rest of the services, as it seems that if I shut down the computer without stopping CF, I always have to jump through a number of hoops to get it working again.
Dan,
I have not had any luck with doing it that way but I did at one time create a file so that when OS X starts up it would start up the ColdFusion server. Also I am not sure but you may be able to some how write an apple script that will run the Terminal commands needed to start CF when MAMP starts up.
Let me know what you come up with.
-Matthew
Ugh.
I made a mistake somewhere. I first installed xampp and when that didn’t work I removed it…by dragging it to the trash. Since I’ve installed MAMP, following your instructions, it insists on making my ’start page’ http://localhost/xampp/index.html
Any idea why or where I can change it?
Also, perhaps for the same reason (misconfiguration?) trying to hit the cfadmin after install gives me a 500 server error every time.
“Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.”
Matthew, I followed your example to a “T” (after uninstalling and reinstalling several times!) I’m still getting the “index.cfm.class” being downloaded to my desktop when I try to go to:
http://localhost/CFIDE/administrator/
This is a new (to me) MacBook Pro. I have MAMP and Coldfusion8 running beautifully on my PowerBook G4.
Something is still not registering the ‘.cfm” extension to be handled by Leopard/MAMP (latest version, BTW).
If I get CF to “work” then Apache on MAMP won’t restart. The /MAMP/conf/apache/httpd.conf gets this (set up by CF install I presume):
# JRun Settings
… (about 20 lines of code)
If I delete these lines (comparing the original file before CF install changed it). Then the MAMP allows Apache to restart just fine. But no CF…
Help! I don’t want to carry two laptops around just to be able to use MAMP and Coldfusion 8.
I cannot see your excellent video anymore! Maybe something is broken? A rightmouse-click says ‘Movie not loaded’
Sorry for the video not showing up for a wile guys. I did not realize if for a wile. I am now hosting it via Blip.tv so all should be good now.
[...] error until I found this super great post by Matthew Wallace on how to do this. You can watch it here .. Thank you Matthew! Posted by jurlan Filed in [...]