Installing ColdFusion9, MAMP, Snow Leopard [UPDATED - 10/29/2009]

There’s 2 types of Installs. The first one will go with “Single Install”

For this install, I tried it with MAMP 1.8.2

1) Go to System Preferences/Sharing. Uncheck Web Sharing – This ensures that you’re not using Snow Leopards’s Apache 2 server

2) Download & Install MAMP 1.8.2

3) Click on the Properties of MAMP, & remove the “/MAMP/” from the settings. Also, use default ports, 80 & 3306.

4) On the last tap, type the place where you’re going to isntall ColdFusion. ie. I used /usr/username/sites

5) Install ColdFusion 9. When the time comes to install the webserver, have the following parameters inputted

Configuration Directory:
/Applications/MAMP/conf/apache

Directory & Filter name of Server binary:
/Applications/MAMP/bin/apache2/bin/httpd

Directory & File Name of server script:
/Applications/MAMP/bin/apache2/bin/apachectl

Make sure that you’ve put the Administrator to where you set yoru webroot pointed from MAMP

6) Open a Terminal Window.

cd /Applications/ColdFusion9/runtime/lib

unzip – d src wsconfig.jar

Restart your computer

go to localhost/cfide/administrator – should commence the ColdFusion 9 configuration it self.

THIS DOESN’T WORK, and the main problem lies in the conf/httpd.conf

This line doesn’t execute with MAMP

LoadModule jrun_module /Applications/JRun4/lib/wsconfig/1/mod_jrun20.so within Snow Leopard.

UPDATED*

More Reasons

MAMP is a 32 BIT program, and when CF9 was installed, it installed the 64 BIT connectors.

FIX

Have a look at this awesome video – http://www.vimeo.com/7308877

There’s option in the Web Server Configuration dialog for configuring 32 BIT version of connect on 64 BIT OS – running 32bit web server. From command line, provide ‘ws32=true’ to configure 32 bit connector

_______________________________________________________________________________

Multi-Server Install. I didn’t use MAMP’s apache with this install.

1) Make sure Web Sharing is ON – in the System Preferences

2) Install ColdFusion 9

Configuration Directory:
/etc/apache2

Directory & Filter name of Server binary:
/usr/sbin/httpd

Directory & File Name of server script:
/usr/sbin/apachectl

3) Open a Terminal Window

cd /Applications/JRun4/Lib

unzip -d src wsconfigjar

4) Restart your Computer

5) go to Localhost/cfide/administrator – should commence the ColdFusion 9 configuration itself.

THIS WORKS!