vchris Posted November 12, 2006 Share Posted November 12, 2006 As everyone knows now I formatted my computer recently. I tried today to install IIS on Win XP but for some reason it's missing some files to complete the installation and I got the CD :)So I'm looking for an alternative to IIS. I know of apache but it seems a bit more complicated. I want something simple to use, that can run CF, PHP, mySQL, ASP and SQL. It's only use for development purposes. Link to comment Share on other sites More sharing options...
boen_robot Posted November 12, 2006 Share Posted November 12, 2006 Apache? Complicated? Now I'll never... who told you that? Apache is very simple to install and configure. Installing the additional modules you need to run is a bit harder, but once you do it, you'll understand the logic behind it and you'll see it's easy as 1,2,3. And to be able to do it the first time, there is us who can help you with that.There is one thing that Apache (or any other server!) can't run though. ASP(.NET). The reason is that it's a Microsoft thing, and as such, only Microsoft themselves support it.There are few alternatives that can run on Apache or other servers, but all of them are at least slightly different then the original. If not in terms of syntax, then in terms of processing methods, speed, etc.Cold Fusion can run on a few other servers as well. When you set it up, there should be a drop down box to list Apache, IIS and all the rest. Check those out.I'm not sure on what part of those servers can PHP run as well though. Apache remains the most worldwidely supported. Link to comment Share on other sites More sharing options...
jlhaslip Posted November 12, 2006 Share Posted November 12, 2006 XAMPP is easy to install. An Apache Server, MySql, PHP, Perl, Mercury Mail, phpAdmin, and more... for Windows OS's. There are a few (very few) things to Mod in the php.ini and httpd.conf files for XP, but basically a one-click install. Link to comment Share on other sites More sharing options...
vchris Posted November 12, 2006 Author Share Posted November 12, 2006 boen_robot: I went on the site of Apache but when I clicked the download link, I was redirected to a page where I could see all the docs in the folder.http://httpd.apache.org/download.cgi Link to comment Share on other sites More sharing options...
boen_robot Posted November 12, 2006 Share Posted November 12, 2006 You need the Win32 binary file. Link to comment Share on other sites More sharing options...
vchris Posted November 12, 2006 Author Share Posted November 12, 2006 Downloaded and installed. I noticed it added: c:/inetpub/wwwroot just like IIS does. Does it automatically support some server side scripting languages? If so which one? Link to comment Share on other sites More sharing options...
boen_robot Posted November 12, 2006 Share Posted November 12, 2006 Actually, that path should be IISs one. Apache is by default located in:C:\Program Files\Apache Software Foundation\Apache2.2unless you've specified otherwise during the installation.The documentRoot is by default the "htdocs" folder located there and the configuration file is called "httpd.conf" and it's inside the "conf" folder.No. Apache doesn't support any server side scripting language by default. It has a built in module to allow SSIs as well as some simple server side scripting functionality, but there isn't a powerful language included. Link to comment Share on other sites More sharing options...
aspnetguy Posted November 12, 2006 Share Posted November 12, 2006 Apache will not support ASP or ASP.Net (well not without MONO anyway). Link to comment Share on other sites More sharing options...
vchris Posted November 12, 2006 Author Share Posted November 12, 2006 that's fine I'm not that interested with asp. I prefer php and cf. Link to comment Share on other sites More sharing options...
vchris Posted November 13, 2006 Author Share Posted November 13, 2006 I am trying to install CF MX 7 developer edition. It's asking me about my server. I choose Apache in the drop down but what about the Configuration Directory and the Directory and file name of the server binary? Or should I just use CF as a stand alone server? Link to comment Share on other sites More sharing options...
boen_robot Posted November 13, 2006 Share Posted November 13, 2006 I am trying to install CF MX 7 developer edition. It's asking me about my server. I choose Apache in the drop down but what about the Configuration Directory and the Directory and file name of the server binary? Or should I just use CF as a stand alone server?The server binary is the "httpd.exe" file in the "bin" folder. In my last post I already told you where the configuration file is. The full paths are as follows:C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exeC:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf Link to comment Share on other sites More sharing options...
vchris Posted November 13, 2006 Author Share Posted November 13, 2006 Ok I got it installed but for some reason when it attempts to open the admin login page all I get is an option to download the page. As if CF was not supported by my web server. Link to comment Share on other sites More sharing options...
boen_robot Posted November 14, 2006 Share Posted November 14, 2006 The admin panel should be ran with CF's server. At least, that's how I do it. You may have done something wrong in setting up CF for Apache, so that's why it may not work there. Link to comment Share on other sites More sharing options...
vchris Posted November 14, 2006 Author Share Posted November 14, 2006 I don't know what could be wrong I set it up with the apache files you mentioned above... I'll try and reinstall it tonight. Link to comment Share on other sites More sharing options...
boen_robot Posted November 14, 2006 Share Posted November 14, 2006 Now I remember. After the installation, CF opens a browser and does some weird stuff to enable support on Apache. If you've terminated that window before it was done, then that is what caused the problem and for that, you'll need to reinstall CF. Link to comment Share on other sites More sharing options...
vchris Posted November 14, 2006 Author Share Posted November 14, 2006 Is that a command prompt? If it is I may have terminated that window since all I saw was a count down to exit the window.Anyway I'll try again tonight. Link to comment Share on other sites More sharing options...
vchris Posted November 14, 2006 Author Share Posted November 14, 2006 I reinstalled twice and didn't work.There is an option to install CF as a standalone server. Did that and works now. Link to comment Share on other sites More sharing options...
boen_robot Posted November 15, 2006 Share Posted November 15, 2006 You could now try to set up another instance of CF to run on Apache as well CF's own server. There was an application for that in the CF's start menu shortcuts somewhere. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now