Tell me more ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

If I set up error_log = errors.log, php logs its error to file in current directory. It means for each directory one error.log file. I can set it up absolutely, but when I deploy application (by git), I must change this path.

How can I setup php by .user.ini file to log errors to application root directory file only?

I am running php on IIS and Apache2.

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.