From 08af4ef670782e911de76f89888de4e8e97557c9 Mon Sep 17 00:00:00 2001 From: "Quentin McGaw (desktop)" Date: Wed, 4 Aug 2021 10:10:23 -0400 Subject: [PATCH] Remove ignored directives from php-fpm pool config --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 670db4ed..b7fac15d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,6 +54,9 @@ RUN apt-get update && \ chown -R www-data /var/log/nginx /var/lib/nginx/ # PHP FPM configuration +# Remove ignored directives from php-fpm pool config +RUN sed -i '/user = www-data/d' /etc/php/7.3/fpm/pool.d/www.conf && \ + sed -i '/group = www-data/d' /etc/php/7.3/fpm/pool.d/www.conf # Pre-create files with the correct permissions RUN mkdir /run/php && \ touch /var/log/php7.3-fpm.log && \