Jump to content

[SOLVED] default location of the error log


TLawrence

Recommended Posts

I have a client who says their database stopped updating a month or two ago.  They don't receive any visible errors, it just doesn't update.  I have my ideas as to what the problem is, but the first thing I wanted to do was check the PHP error log to see if the problem is related to a permissions issue (can't write to the database).

 

In the php.ini file, they're using errror_reporting=E_ALL and they have error logging turned on, but they haven't specified a location. (;error_log = filename). Where is the default location of the error log if a location isn't specified?  Would it be in the PHP folder?

 

Or if there's no location specified, is an error log even created?

 

Thanks in advance for any help you can offer.

 

tlawrence

The default location is the web server's error log file. Since you posted your question in the IIS forum section, I'll assume the web server is IIS. To the best of my knowledge, IIS writes errors to the Windows event log.

Ok, thanks.  Yes, the web server is IIS.  I wasn't sure if it wrote errors to the event log or not...and I didn't want to send my client a wild goose chase looking for something that might not be there.

 

Thanks again!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.