Author |
|
DeniseFaun
Joined: 20 Nov 2006 Posts: 3
|
Posted: Mon 20 Nov '06 22:43 Post subject: new installation - httpd.conf problem |
|
|
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
|
Posted: Mon 20 Nov '06 22:57 Post subject: |
|
|
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
|
Posted: Mon 20 Nov '06 23:03 Post subject: |
|
|
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
|
Posted: Mon 20 Nov '06 23:47 Post subject: |
|
|
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
|
Posted: Tue 21 Nov '06 0:11 Post subject: |
|
|
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
|
Posted: Tue 21 Nov '06 0:29 Post subject: |
|
|
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 |
|