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: How do I get more useful error messages from apache?
Author
kentlewan



Joined: 04 Dec 2006
Posts: 1
Location: Oakland, CA

PostPosted: Mon 04 Dec '06 20:00    Post subject: How do I get more useful error messages from apache? Reply with quote

Hi,

I keep getting the message "Requested Operation has failed", whenever I make any change to my http.conf file (for instance, to add configuration lines for PHP). I see in this forum that other users seem to be getting useful error messages when there is a problem with their apache config. However, I am not. I only get the message "The requested operation has failed."

NOTE: I DID read apache documentation and I DID change logLevel in httpd.conf to LogLevel debug
****
#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog logs/error.log

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
# LogLevel warn
LogLevel debug

***
Can someone please tell me what I have to do to get more useful error messages for when I am modifying apache config? Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7373
Location: Germany, Next to Hamburg

PostPosted: Mon 04 Dec '06 20:30    Post subject: Reply with quote

You can start apache grom the console (cmd) with httpd -e debug -w

Which version of Apache and PHP do you use? What do you try to add to the httpd.conf?
Back to top


Reply to topic   Topic: How do I get more useful error messages from apache? View previous topic :: View next topic
Post new topic   Forum Index -> Apache