docker-library / php

Docker Official Image packaging for PHP
https://php.net
MIT License
3.77k stars 2k forks source link

docker-compose - php:7.2-fpm-alpine - error log is not printed to stdout / stderr? #1517

Closed Martin-Eckleben closed 1 month ago

Martin-Eckleben commented 1 month ago

I'm almost sure I do something stupid and this is a rookie mistake :) Sorry in advance...

500 but no error is logged

image

No logs in container:

image

/usr/local/etc/php-fpm.d/docker.conf

image

Where is the classic php error.log? Why is it not printed to stdout / stderr ?

EDIT: Dockerfile nothing spectacular

image

Martin-Eckleben commented 1 month ago

Maybe this?

https://stackoverflow.com/a/69509768/2427701

Martin-Eckleben commented 1 month ago

SOLUTION:

RTFM

image