Is it possible to use coldfusion with apache, and mysql? - coldfusion

Is it possible to use coldfusion with apache server and mysql DB?

Absolutely, yes.
See the ACME guide - Apache Coldfusion, MySQL, Eclipse

i do not try but its seem possible:
http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/coldfusion-8-and-apache-on-windows-xp-116

Yes it is and it works fine. ColdFusion has a Apache Connector and can work with mysql as a datasource!

Definitely work, I use it, but it does differ in ease of install based on windows vs linux. I have gotten it to work on windows, not sure about linux.

Here's a guide I wrote for installing the ACME stack on Linux.

Ofcourse you can run under apache and use mysql as well.
I wrote blog about load balancing between two different of coldfusion but I have mention setting needs apply
http://www.thecfguy.com/post.cfm/load-balancing-with-apache-tomcat-on-coldfusion-standard-version

Related

Idiots guide to getting a django project onto the web please

Help! I think i've gone in a bit over my head. I'm making a website for a friend who has already got a domain/hosting on the website 123reg. Keen to learn them i've been picking up python and django as i go, figured getting it online would be no problem because 123reg supports python (unspecified version).
So far i've been doing everything with the django test-server locally, i went to look into uploading it somewhere as a test and realised there's an awful lot i don't know and even with google its a bit overwhelming.
I found this link which will help me later i'm sure but right now, could someone help me understand What is Apache? I thought the server was the hardware a site was physically hosted on but i can't understand it at all now.. So i download Apache and then what? Can i just copy it into the root directory for the website on 123reg? Is their an installer? Will 123reg allow it to "run" or "serve" or whatever word's appropriate or will there be permissions issues?
And then once that's sorted there's mod_wsgi to look into, a cursory glance at the installation guide shows commands to be run, which confuses me further as i was not aware that a standard host like 123reg have any sort of inbuilt console window to be run on in which case how are you expected to execute these commands?
And another thing I didn't really think through, I'm using the built in sqlite database technology.. How will i be able to install it on my webspace? and then how will that effect my django configuration? or maybe i'll have to change to MySql v5 which 123reg says it supports?
I know these must be idiotic questions, I just wasn't sure where best to ask for help and SO has one of the most helpful and knowledgeable communities around. I did try having a google but everything was a bit overly technical for me.
You can't upload a Django site using FTP on a shared hosting provider and expect it to run. You'll need to configure it to run with their installed Apache, including configuration like mod_wsgi.
I very much doubt that 123-reg support this. You are unlikely to be able to run a Django site there. You should look for a more Django-friendly site - I recommend Webfaction.
Apache is the webserver software. It's already running on their machines. Don't try and install it lol, or they will certainly laugh at you.
To "run commands" you need to get a remote shell (console). This is typically done via Secure Shell (SSH). See this page regarding 123reg specifically: How do I connect using SSH (Putty)?
Django supports different databases, including SQLite and MySQL. SQLite is typically for small, simple databases, as the "database" is really just a local file that is manipulated by the SQLite engine. MySQL is the database of choice for many websites.

Porting a GAE Django app to Azure AppFabric

I have a GAE+Django app and wanted to port it to Microsoft Azure AppFabric. What would be the best way to do this? It's sort of like a RESTful service with custom output that is neither JSON nor XML. All of the Azure samples force you to output either XML or JSON and I can't seem to find any samples outputting the raw output.
Any help/information will be appreciated. Thanks!
I believe it is possible, I haven't tried.
Here's a Channel 9 video on running Python on Windows Azure:
http://channel9.msdn.com/Shows/Cloud+Cover/Cloud-Cover-Episode-13-Running-Python-the-censored-edition
Yes it is possible. See https://www.windowsazure.com/en-us/develop/other/
Also https://github.com/smarx/pythonrole
So you should even be able to run django.
This is a bit late to the party, but here's a nicely packaged tutorial for running Django on Azure:
https://www.windowsazure.com/en-us/develop/python/tutorials/web-app-with-django/
Note that you can also run Linux instances raw in Azure if the rest of the PaaS isn't to your liking.

Can we use other database with wamp

Can we use other database like oracle with WAMP package? Or if I want to use PHP,oracle and apache to use then can I do this? How?
Short answer, yes.
PHP has support for connecting to Oracle, MySQL, PostgreSQL, MS-SQL, and various others. You just have to have the PHP extension installed for the database you wish to use.
Yes and no. You can access the Oracle DB from PHP, but then it won't be called WAMP anymore.
It is possible to use Oracle instead of MySQL follow this link and it will work more than fine and don't bother your self by knowing what will it be called as someone before said:
https://www.devside.net/wamp-server/connect-wamp-server-to-oracle-with-php-php_oci8_11g-dll
this link contain every thing you want I did those things and it is working gooood for me. The wamp will still be called wamp all the difference is that you will be using Oracle instead of MySQL. ;)

Coldfusion 9 issue

Just downloaded Coldfusion 9 developer for review purposes. I am at the administrator page 127.0.0.1:8300 and I think everything has worked fine. I want to do a simple "Hello World" example. One tutorial gave me a simple 6 line script to do this and it looks pretty simple and understandable. I went to notepad and created the following:
<html>
<head><title>Hello World</title></head>
<body>
<cfoutput>#ucase("hello world")#</cfoutput>
</body>
</html>
It told me to save it as helloworld.cfm in inetpub/wwwroot directory. I could not find such a directory on my system. So I saved it to C:\helloworld.cfm. Then it told me to go to my browser and type http://localhost/helloworld.cfm. I got something to the effect of a page not found error. Any help you can spare here.
Secondly, and more importantly, exactly where do I really need to be to be to create and run the above helloworld.cfm script above? Is there another tool I must have to create the above script to do this? I also understand that there is very little tutorial documentation on Coldfusion 9, why is that the case. Can you offer me any suggestions. I would really like to use this development tool. Adobe says it is the easiest development tool out there. You will have a tough time convincing me of that at this stage, however, I just might be missing a procedural/processing step thats real simple. I hope this is the case. Thanks for you valuable time.
When you installed ColdFusion did you hook it up to a webserver or did you install it in standalone mode?
Did you install it as standard ColdFusion or Multiserver?
The reason I ask is that depending on how you installed it will determine where you will find the web root.
For example, ColdFusion standard in stand alone mode will have the web root under something like C:\ColdFusion9\wwwroot
Multiserver standalone will be something like C:\Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
Installation with a connection to a web server will have asked you where you server's web root is and so on
To create scripts; notepad, but there are two eclipse based IDEs you might like to try. CFEclipse is free and ColdFusion Builder is adode's commercial product.
First of all, Welcome to the ColdFusion community!
I believe Jerry has done a default ColdFusion install. The CFAdmin URL as mentioned is 8300, so i guess it is a multi server installation.
As pointed out by stephen, your web root would be something like \Jrun4\servers\cfusion\cfusion-ear\cfusion-war\
You need to place your helloworld.cfm in the above path.
I recommend ColdFusion builder/ CFEclipse to start with.
CF is a easy language, you will realize that soon :)
http://localhost/ will point to where your web server is configured. So obvious question is did you configure a web server such as IIS or Apache? Which OS are you using and which install of ColdFusion did you pick (standard, multiserver, other...)?
If you don't want to use an external web server you can use the built-in one, I have never really used it much but here is a link that should get you going: http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=webservmgmt_3.html
To create CFM files you can use pretty much any editor, the most popular one is Eclipse (http://www.eclipse.org/) coupled with the CFEclipse plugin (http://www.cfeclipse.org/). Adobe now has a IDE based on Eclipse called CFBuilder (http://www.adobe.com/products/coldfusion/cfbuilder/features/) which is gaining speed quickly, but it is not free.

Does Hostmonster support Django

I know Hostmonster allows Python. Has anyone successfully run Django on there? Any problems?
I know this is an old question, but here is the answer: yes, Hostmonster does support Django
There used to be this Hostmonster KB article for details, including instructions on how to set it up, but that link appears to be dead these days, and the only article about Hostmonster article about Django is about troubleshooting. You can find instructions on how to set up Django on Hostmonster elsewhere.
http://www.hostmonsterforum.com/showpost.php?p=20003&postcount=7
I tried the archive the user posted there, and it worked like a charm.
Hostmonster uses cPanel (possible with CentOS), just like other host providers. If you research into cPanel , you are more likely to get your answer.
Generally, the answer is "no" since out-of-the-box cPanel does not support python 2.5 or mod_wsgi. But it does support Apache2, so it's possible that hostmonster could use mod_wsgi to run sites built with Django.
Well, if it support Python, you might be able to run Django using a FastCGI setup, as described here: FastCGI Docs. If it supports mod_python (which I guess it's what you mean), then sure, you can install it using the steps listed here: ModPython docs
There is a Github repository for hostmonster and Django it helps me:
hostmonster-django.markdown