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.