Jump to content

Redirect PHP Errors And Warning To Custom Log File


JustinK101

Recommended Posts

How do I redirect all PHP error and warning messages to a log file I created for a single script instead of displaying the error/warning on the screen?

 

Basically I am creating an installer script and I want to log any errors returned from any of the functions or classes.

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.