dan_l
dan_l

Reputation: 1692

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 ?

Upvotes: 2

Views: 1475

Answers (2)

Jon
Jon

Reputation: 437326

You can get the errors logged into the file of your choice by appropriately setting the value of error_log.

Upvotes: 2

Ignacio Vazquez-Abrams
Ignacio Vazquez-Abrams

Reputation: 798436

That's what error_log is for.

Upvotes: 3

Related Questions