docker icon indicating copy to clipboard operation
docker copied to clipboard

Separate PHP error log from NGINX error log

Open emanuelb opened this issue 7 years ago • 2 comments

if PHP error occur it will be added to nginx error file at (as STDERR used by default):

/var/log/nginx-error.log

I think it will be better to seperate them, and have unique error file for PHP errors, by using error_log directive with fullpath such as /var/log/php-error.log (will also require creating it in run.sh with chown to nobody): https://secure.php.net/manual/en/errorfunc.configuration.php#ini.error-log

emanuelb avatar May 17 '17 08:05 emanuelb

nginx is no longer part of the phpmyadmin image.

J0WI avatar Aug 30 '20 14:08 J0WI

nginx is no longer part of the phpmyadmin image.

apache is used instead by default, this issue may still be relevant (need to check logs of php errors for that)

emanuelb avatar Aug 30 '20 15:08 emanuelb