How to log errors and warnings into a file?

Holepater

New Member
How to 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.
 
Top