Jump to content

PHP logging errors


Recommended Posts

Hello,

 

I am logging errors into a phperrors.log file and not anymore display them through the browser.

 

Only problem I have now is that it does not show errors generated by php scripts called from the browser, but only by those that are executed from the command line or through cron.

 

Does anyone have an idea if I am doing something wrong here?

 

display_errors = Off

 

log_errors = On

error_log = /home/user/domain/public_html/phperrors.log

 

Thanks,

twomt

Link to comment
https://forums.phpfreaks.com/topic/83722-php-logging-errors/
Share on other sites

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.