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 ?
这就是error_log
目的。
通过适当设置error_log
的值,可以将错误记录到所选文件中。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.