IIS php.ini display_errors = stderr to a file?
I am running a php app on microsoft IIS . I am debugging a problem and wants to use the php.ini 开发者_高级运维directive display_errors = stderr . I want to see the errors messages in a file . Is it possible in php.ini to redirect the stderr (or stdout) to a file ?
That's what error_log
is for.
You can get the errors logged into the file of your choice by appropriately setting the value of error_log
.
精彩评论