Replies: 5 comments
-
The I think the |
Beta Was this translation helpful? Give feedback.
-
So what's the solution here? Is there something that can be done to prevent permission denied when trying to open
|
Beta Was this translation helpful? Give feedback.
-
this answer has 28 upvotes and says to set:
which is also the setting in |
Beta Was this translation helpful? Give feedback.
-
I think the conclusion in docker-library/php#878 is that this is complicated and often doesn't work at all -- I don't think anyone's found a good generally applicable workaround for it. |
Beta Was this translation helpful? Give feedback.
-
what about this? |
Beta Was this translation helpful? Give feedback.
-
We are using the
wordpress:php7.4-fpm-alpine
image. We are logging to STDERR using following as example:but do not see the message in Docker logs. If we replace
/dev/stderr
with a local filename such as/var/www/html/wp-debug.log
the message does appear there.Things we tried (none of which worked):
/dev/stderr
with/proc/self/fd/2
/dev/stderr
with/proc/1/fd/2
we have verified
catch_workers_output
is set toyes
in/usr/local/etc/php-fpm.d/docker.conf
.below are the different kinds of error messages in wordpress logs:
the
/dev/stderr
does clearly exist:Beta Was this translation helpful? Give feedback.
All reactions