Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

suneethshihab's avatar

Laravel error logs are not showing in docker

Set 'stderror' in env log channel Server: Nginx, PHP-FPM

In docker logs the php errors are not showing Errors are coming fine in php-fpm.log

Tried error_log = /proc/self/fd/2 ln -sf /dev/stderr /var/log/php8.0-fpm.log ln -sf /dev/stdout /var/log/nginx/access.log && ln -sf /dev/stderr /var/log/nginx/error.log

0 likes
1 reply

Please or to participate in this conversation.