Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Coldfusion 8 installation with Latest Wamp Server

New Here ,
May 13, 2009 May 13, 2009

Hello Guys

I need a very basic tutorial i am very new.....

How can i setup Coldfusion 8 with WampServer so that i can access My Sql database

N.B.  Please i need it quickly

Smin Rana

TOPICS
Getting started
3.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 13, 2009 May 13, 2009

Hi,

Found a web page that may just help you configure CF to your WAMP install:

http://www.tinkertech.net/tutor/wamp/index.html

General question, when you install(ed) CF8, what option did you choose (multi-server, etc.)? Did you run the web server connector toward the end of the install for Apache?

Mark Drew has a post on configuring CF8 for Apache via the CF installer. Granted it's for Mac Leopard but Apache is Apache and the general approach should work (specifically, check out Mark' screen shot of the Apache connector -- might be helpful).

For the MySQL part, CF8 should not have any trouble with that. Once CF is installed and working, you should be able to setup a MySQL datasource (CF8 Admin has two MySQL driver options: 1 for version 3 and 1 for versions 4 and 5) directly in the CF Administrator. I've never had an issue with using MySQL DBs in CF8 (CF7 required downloading a new connector, etc.).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 13, 2009 May 13, 2009

what is webserver connector and i couldnt find the screenshot you were talking about Did you mean i should stop wamp during cf installation

Smin Rana

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 13, 2009 May 13, 2009

You should absolutely have your WAMP system running when you install ColdFusion. The web server connector option (and screen) is presented to a user during installation, so you may need to reinstall CF8.

In brief, CF can be installed as a standalone web server (one that runs only on port 8500) or it can be tied in (connected) to your existing web server, be it IIS, Apache, etc. I think that most CF developers want CF tied into their system. I know that I prefer not to have to type or include or deal with port numbers in my URLs!

Here's a test: start the ColdFusion web service (since you're on Windows this should be easy to do from the 'Services' panel -- and CF may already be running, depending on your install options). Then open your browser and go to http://localhost:8500/CFIDE/administrator. If you see the administrator page, you've got CF running.

If it is running on port 8500, you can still connect to your MySQL databases and use CF. However, it's just not connected to Apache. You can manually connect CF to Apache but it isn't an easy thing to do, per se. It might be worth uninstalling CF and reinstalling using the tutorial link I posted previously.

When you get a chance, let me know if CF is running on port 8500 (above).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 13, 2009 May 13, 2009

Thank you

i reinstalling now  Lets see what happen

Smin Rana

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 13, 2009 May 13, 2009

PLEASE SEE THE ATTACHMENT

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 13, 2009 May 13, 2009

Okay, that's actually a good sign. ColdFusion is installed and running (the error you saw is the standard Error template served from CF itself)! And it's on port 80, so that's good, too.

Basically, it appears the ColdFusion mapping for the CFIDE directory is not set correctly. Before we get to that, try the following:

  1. Create a file called cf_test.cfm
  2. Include the following code in the file
    <cfset myvar = "hello world" />
    <cfoutput>#myvar#</cfoutput>
  3. Save the file to your web root
  4. Point your browser to: http://localhost/cf_test.cfm
  5. You should see the string hello world output on in the browser

If that works correctly, we definitely have CF working right and can address the mapping for CFIDE. But let's first verify that CF is truly working and configured, essentially, correctly.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 13, 2009 May 13, 2009

Excellent Thank you So much, it runs and i liked it

Smin Rana  

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 13, 2009 May 13, 2009

Nice!

You will want to address the ColdFusion Administrator not loading though. On your system, can you locate the CFIDE directory? If so, where is it ?!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 13, 2009 May 13, 2009

Hello Craig

It was awesome help  🙂 

can you tell me why Coldfusion is not popular but  it is very nice.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Valorous Hero ,
May 14, 2009 May 14, 2009

ColdFusion is quite popular. Just not as ubiquitous as some of the other choices.

But the rumors of it's death, pending death, or most other dispersions are just not true.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
May 14, 2009 May 14, 2009
LATEST

Ian's right. Rumors of ColdFusion's demise are vastly overrated. I think you'll see a huge uptick in ColdFusion users/developers/sites over the coming 18 months. In the last year, we've seen the release of two open source, and free, CFML servers: Railo and OpenBD. This will, in my opinion, remove a key barrier to ColdFusion's wider adoption (read: price). With how easy CFML makes building and maintaining sites, it's popularity should grow even further. Anyway, I hope you enjoy using CF and welcome!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources