How do I turn on all error and warnings and log them to a file, but to set up all of that within the script (not changing anything in php.ini)?

I want to define a file name and so that all errors and warnings get logged into it.

7 Answers
7

Leave a Reply

Your email address will not be published. Required fields are marked *