Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am trying to configure apache on a 64-bit system running Windows 7. I installed apache using a win-32 installer (32-bit installer, which I guess is the reason behind problems). The installation was successful and I can browse to localhost in the browser.

Problem
But, I am not sure where to do the apache config changes. There is one httpd-win file inside \Apache Group\Apache2\conf\ but no httpd.conf file. I did some changes inside the httpd-win file but the changes are not taking effect.

For example I tried to change the port number to fix one problem of apache not starting if skype is already running on my system. I changed the following line -

Listen @@Port@@

to

Listen 8080

But, still if skype is already running, apache does not start. Also, if I type some garbage in the file and restart apache, it works fine. I expected it to not run due to syntax errors.

Is it possible that all these problems are because I installed 32-bit apache on 64 -bit system. I also searched for 64-bit installer but did not find one yet. Can anybody tell me where to find one? Please correct me if I am wrong somewhere.

share|improve this question
    
What version of Apache did you install? Apache 2.2.19 installs httpd.conf into C:\Program Files (x86)\Apache Software Foundation\Apache2.2\conf. I could not find a httpd-win. –  Oliver Salzburg Jun 8 '11 at 12:10
    
@gencha - version 2.0.55. The installer file's name is apache_2.0.55-win32-x86-no_ssl.msi –  Sandeepan Nath Jun 8 '11 at 12:57
    
@gencha did you note that my system is 64-bit whereas I installed using a 32-bit installer? –  Sandeepan Nath Jun 8 '11 at 12:58
    
@Sandeepan Yeah, I have the same situation on my system. Apache Server 2.0.55 is outdated and potentially insecure. The Apache website recommends 2.0.64 as the latest in the 2.0 branch. Do you require that version specifically? –  Oliver Salzburg Jun 8 '11 at 13:05
    
No I dont specifically need that version. I am new in this team. All existing team members were using version 2.0.55 on a windows xp 32-bit system. The newer members are given a 64-bit system with windows 7. So, I am not sure how to go with the setup. We were considering Xampp installer but AFAIK, there are some cons of using XAMPP (if some more customizations are needed or what ...I don't exactly remember the cons.). What do you suggest? –  Sandeepan Nath Jun 8 '11 at 13:15

1 Answer 1

up vote 1 down vote accepted

Sadly I was unable to reproduce this issue with Apache Server 2.0.55, as I only had 2.0.64 available. But to my understanding from what I have observed, httpd-win.conf is not intended as a configuration file. During the Apache Server installation (or when it starts for the first time) the file will be translated into httpd.conf.

Given that that did not seem to have happened in your case, either it is an issue with the 2.0.55 installer or with your installation.

I tried this on an x64 system as well (and with the x86 installer like you described). I don't assume that this is somehow responsible for your issue.

I would recommend reinstalling Apache Server and, if possible, use 2.0.64. As that is the latest version in the 2.0 branch.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.