Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On my dev environment I upgraded php with an msi, and my apache wouldn't load anymoreerror message.

Where can I find information about the reason it failed? I have the error logs for each virtual server, but no information there either, and I am not sure that I actually expect it to be found there.

share|improve this question
This question has been closed ass off topic on SO and SF. Let's see what happens here – shealtiel Jan 17 '13 at 9:37
up vote 1 down vote accepted

Starting Apache says

If Apache suffers a fatal problem during startup, it will write a message describing the problem either to the console or to the ErrorLog before exiting.

I would try Running Apache as a console application expecting to see console error messages saying that it can't parse the config file (and hence doesn't know where it's errorlogs are to be written) - it should give some reasons that will be helpful

I'd also try httpd.exe -k configtest in a command prompt window (I've no idea if this will work)

You may need to tell Apache where the main config file is by using the -f option e.g. -f "c:\my server files\anotherconfig.conf"

share|improve this answer
I don't seem to have httpd.exe anywhere in my apache folder – shealtiel Jan 17 '13 at 9:51
At the meanwhile I found the reason by trial and error. But will follow your guidence later, to learn for future. Thank you – shealtiel Jan 17 '13 at 9:52

Goto the Apache installation directory and look for logs/errors.log in some older apache versions the startup log should be enabled. Sometimes apache writes in to the application log in windows event viewer

share|improve this answer

I just found out that under :

compmgmt.msc > Event Viewer > Windows Logs > Application

You can easily see what logs are generated to Windows, like

tail -f /etc/syslog

on Linux systems.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .