Skip to main content
Participant
December 5, 2006
Question

Does IIS have to be running (Apache/PHP/Win2003)

  • December 5, 2006
  • 15 replies
  • 9260 views
Hi, very sorry for the incredibly dumb questions, but with all the short-term trials, I need to at least get things up and running so I can decide where to go from here.

Can someone please tell me if I need to have IIS running or, well, for that matter, exactly how do I install Coldfusion MX 7 when I already have PHP5/MySQL/Apache running fine...I get asked to enter 2 pieces of information but I'm not sure what the answer should be, regading the webserver ,once I choose Apache. The first seems to be the config file, the second, I don't know what it's supposed to be.

Everything is a brand new install, including the 180 day trial of Server 2003, and I used the old faithful Apache2Triad that always works for me on previous computers, it works instantly (at least on localhost).

I don't know what the binary file is though when I'm asked for the Apache info? Is that the Apache executable itself?

Do I need to turn on IIS?

Very sorry for the Q's, but I'm not a server guy at all, and my hosting only allows PHP, but I need to be able to create/utilize some Access and MySQL, so I'm trying to get fancy on my home testing server here.

Flex and all other apps are on my 'real computer' which is 64bit dual-opteron, so I am actually REALLY lost.
This topic has been closed for replies.

15 replies

Inspiring
December 10, 2006
Wow a little frustration and I revert to not even using capitals anymore. Maybe I should just grunt a bit and get it over with...after my banana. Sorry everyone.

Shawn
Inspiring
December 10, 2006
(replaced this post as I finally seem to be getting the ACME install to work...slowly. Required me to NOT use my XP64 and not use Server 2003 trial. Had to use good ole XP. At this rate, I should own shares in MS).

Following the instructions from ACME Guide exactly seems to be doing the trick, but I'm only half way there...

Shawn
Inspiring
December 10, 2006
i spoke too soon, absolutely nothing works on the machine with server 2003 on it. i give up. i own xp home, xp64 and have the free trial of server 2003, and i can't even get anything to work properly. with server 2003 running, i can't even get my reliable apache/php/mysql running anywhere except localhost, haven't even thought about CF...

can't even get the soundcard to work now...
December 10, 2006
Perhaps you should take a break for a couple days and/or bring in a hired gun.
Inspiring
December 10, 2006
Agreed:) Do you have any idea how much someone would charge to set this up? I have never had problems like this with a computer in my life. I regret buying 64bit this early...you need to be a lot better at configuring things than I am for this technology.

Anyone want a dual opteron/supermicro sc-832/h8dce? Real cheap...?
Participant
December 9, 2006
Has anyone ever gotten XP64 + Apache 2 + CF MX7.0.2 to work together?

I've given up trying to run a separate server, but now I can't even get it to work on my XP64 with everything on one machine, I get the following errors:

C:/apache2triad/conf/httpd.conf: LoadModule takes two arguments, a module name and the name of a shared object file to load it from

And again, here is the code in httpd.conf:

# JRun Settings
LoadModule jrun_module C:/CFusionMX7/runtime/lib/wsconfig/1/mod_jrun20.so<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore c:/CFusionMX7/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51011
#JRunConfig Errorurl <optionally redirect to this URL on errors>
AddHandler jrun-handler .cfm .cfml .cfc .jsp .jws .cfr .cfswf</IfModule>

Blah, I just SUCK at this.

Shawn


Participating Frequently
December 9, 2006
1. Read the ACME Guide (Apache / ColdfusionMX / MySQL / Eclipse)
2. Are you using a 64-bit JVM? If so, then ColdfusionMX won't run. You need a 32-bit JVM *
3. There's a hotfix for using Apache 2.2 with CFMX 7.0.2. This will solve your connector issue.

* You can use CF with a 64-bit JVM, but not with JRun. You'd have to deploy CF J2EE on JBoss, but that's a whole other ball of wax.

re: short term trials - Remeber that after 30 days, your local CF install will still function in developer mode. You still have all the functionality, but you'll just be limited to connections from 3 IPs IIRC.
Inspiring
December 9, 2006
Thanks, you're a God-send. I knew there was something majorly wrong here. So this trial of Server 2003 is now on my dual Opteron machine, at 32bit unfortunately. So all my development apps are still going to run like crap even though I've spend $7,000 on a computer. Grrr...What a waste of money both of XP64 and on a 64 bit dual processor machine that it seems I can't even use (half of my drivers didn't work!). Took me a year to come up with this money.

I'll see what I can do based on your info above. Ready to throw my computer out the window.

Thanks very much for your help. All I care about right now is getting this configuration to work.

Shawn
Participant
December 9, 2006
Starting to get very frustrated. Does anyone know what the error when trying to load the Apache Webserver means: "Apache must be configured for DSO support to install JRun"

I thought I did that by adding these lines to httpd.conf:

# JRun Settings
LoadModule jrun_module z:/runtime/lib/wsconfig/1/mod_jrun20.so<IfModule mod_jrun20.c>
JRunConfig Verbose false
JRunConfig Apialloc false
JRunConfig Ssl false
JRunConfig Ignoresuffixmap false
JRunConfig Serverstore z:/runtime/lib/wsconfig/1/jrunserver.store
JRunConfig Bootstrap 127.0.0.1:51011
#JRunConfig Errorurl <optionally redirect to this URL on errors>
AddHandler jrun-handler .cfm .cfml .cfc .jsp .jws .cfr .cfswf</IfModule>

and following these directions: http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19575

I'm way out of my league but my providor does not have CF hosting, must run it from home.

Is it possible the apache2Triad bundle is the problem somehow?

Should I install some other version of apache/mysql/php?

Any help would be greatly appreciated.

Shawn


Known Participant
December 8, 2006
I feel your pain, Shawn. Experienced that myself. Good luck and best wishes. Post here if you get it going, whatever path you follow. I'd be interested to hear how it goes.
Inspiring
December 8, 2006
You did, for sure, and in fact, if I can't find a comprehensive way to do this, but CAN find an ISP who will have high bandwidth, not block port 25, give me a couple of static IPs...I will turn the for-me-only-but-open-to-the-net server into a unix box and just have it doing only that - serving files as my REAL server for everything, and cancel my hosting. I've no idea how that will work, but I do know most hardcore people swear by it (unix/linux).

I just wish I wasn't so much under the gun, with all the trialwares, with work related things, and most of all, with being so ignorant with this stuff still. I am capable of doing it all in the end (I hope!...hey I got Windows Server 2003 configured pretty much in one night...basically) but this timeline is really tight.
Known Participant
December 8, 2006
Gotcha. As far as Flash is concerned, that's pretty much just pushed out by the server for the client/browser to run. It's just a simple object download with no real overhead to the server. The CF server should be able to handle that with no problem.

Can't answer to the PHP question, though. Never integrated the two on a Windows platform. I do know it works seamlessly on Unix platforms, though, so it may, quite possibly, work fine in Windows. Good luck and I hope I helped a little bit!
Inspiring
December 8, 2006
Thanks Jim. What I was hoping was to be able to get step 7 above (and the rest of course) as nothing more that a 1-time load to my hosting services, then add the CF/Flex stuff to that as required, on an Apache server, which is what they have. My hosting providor (internic.ca) is getting back to me.

I can try to keep all this running at home, but I'd never be able to do anything serious with it, so removing my own ignorance from the loop is probably a good thing, and passing everything up to my hosted services would save me a lot of worries.

I also, at this point, do have Flash/php needs (it's the only combo I'm not a compete doorknob in as of yet LOL), though I hope that changes as I learn Flex/CF...Shawn
Known Participant
December 8, 2006
Unless you're using Apache for other applications, I would actually keep it simple. ColdFusion has its own built-in web server which you can choose to install when putting it on your machine. It operates as a fully-functional web server which will preclude you from having to integrate CF with another third-party software. It's the quick way out, but it works.

NOTE: The built-in web server will be listening on either Port 8300 or 8500. To switch it to the standard Port 80, you must first uninstall Apache, as it's likely running on 80 already, and you don't want a listener conflict. Once that's done, open up the file cf_root/runtime/servers/coldfusion/SERVER-INF/jrun.xml search for the line which says "<attribute name="port">" and change it to 80 from whatever it is. Restart the service. Good to go.
Inspiring
December 7, 2006
ps by virtue of it NOT being port 8500 and the fact that it's the files I moved over to the apache web root (not the files in the CF directories), I'm assuming it works...

Shawn
December 7, 2006
Well, I see that link you posted and your server reports Apache 2.2 (A security risk to report versions BTW).

So it looks to be working!

Good luck.
Inspiring
December 7, 2006
Good to know it works, thanks! Good also to know I should do something to fix that, and figure out how to not show the version...along with half a million other things I need to learn (sigh...but fun!).

I'm guessing there is something in Flex to allow me, as in Flash, to allow either/or local/internet access, and I'm hoping that configuring it allows CF/Flex to work properly over the net, for such things as the above Adobe tutorial (the file uploading) and for entering/retrieving db info. There's a huge amount of 'sandbox' info on the site, so I'm not sure where to start to wholesale open up the address for typical internet uploading/downloading and reading/writing...

I have a lot to learn, and not enough time to learn it...but such is life.

Shawn