PHP log errors

software development

#1

Does anyone know how to set up PHP in CGI mode so that I can get the errors logged to a file?
I’ve tried setting it up in a custom php.ini file, but nothing ever appears in the file.