logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: new installation - httpd.conf problem
Author
DeniseFaun



Joined: 20 Nov 2006
Posts: 3

PostPosted: Mon 20 Nov '06 22:43    Post subject: new installation - httpd.conf problem Reply with quote

Hi. I'm trying to set up Apache/PHP/MySQL on my computer. When I run httpd at the command prompt I'm getting the following error:

httpd: Could not open configuration file C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: The system cannot find the file specified.

some general info:
Windows XP Tablet PC Edition v5.1 w/Service Pack 2
Apache HTTP Server 2.2.3
MySQL Server 5.0
PHP 5.2.0-Win32

Any thoughts?
Back to top
Brian



Joined: 21 Oct 2005
Posts: 209
Location: Puyallup, WA USA

PostPosted: Mon 20 Nov '06 22:57    Post subject: Reply with quote

The problem is with the missing (apparrently missing) file:

C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf

Does this file exist?
Back to top
DeniseFaun



Joined: 20 Nov 2006
Posts: 3

PostPosted: Mon 20 Nov '06 23:03    Post subject: Reply with quote

sorry, yes. i guess i should have stated the obvious.

C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf

is there but for some reason it isn't recognizing it.

d
Back to top
Brian



Joined: 21 Oct 2005
Posts: 209
Location: Puyallup, WA USA

PostPosted: Mon 20 Nov '06 23:47    Post subject: Reply with quote

Quote:
httpd: Could not open configuration file C:/Program Files/Apache Software Foundation/Apache2.2/conf/httpd.conf: The system cannot find the file specified.


Other than the file not being there, maybe it is saved under a slightly different but similar looking name?

I am sure you doubled checked, but if you open up any window, oh like My Computer or My Documents and then you literally paste the entire line as you see it, it should open that document, or at least ask you which executible you would like to select to view this document.

If it can find the document but Apache cannot, well I am not able to assist but there are far more knowledgable folks here who can assist you I am sure.

Just as an after thought, I assume you used an Apache Installer, right?
Back to top
DeniseFaun



Joined: 20 Nov 2006
Posts: 3

PostPosted: Tue 21 Nov '06 0:11    Post subject: Reply with quote

Thanks for the input Brian. Update: It turns out that the httpd.conf file needed to just be named httpd (no .conf). When I rename it, I can start and stop Apace with no problem. Now if I can just figure out why I'm getting a Not Found when I try http://localhost/test.php ...

d
Back to top
pips



Joined: 03 May 2006
Posts: 65
Location: Manchester, UK

PostPosted: Tue 21 Nov '06 0:29    Post subject: Reply with quote

sounds like you have got file extensions hidden.... so basically your httpd file was called httpd.conf.conf (but one of the .conf 's was hidden).

To turn on file extensions, open MY COMPUTER, click on VIEW then FOLDER OPTIONS, then click on the VIEW tab, scroll down and remove the tick from the option "hide extensions for known file types"
Phil
Back to top


Reply to topic   Topic: new installation - httpd.conf problem View previous topic :: View next topic
Post new topic   Forum Index -> Apache