开发者

IIS php.ini display_errors = stderr to a file?

开发者 https://www.devze.com 2023-03-03 22:21 出处:网络
I am running a php app on microsoft IIS . I am debugging a problem and wants to use the php.ini开发者_高级运维directivedisplay_errors = stderr . I want to see the errors messages in 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消