简体   繁体   中英

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 ?

这就是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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM