Add "fastcgi.logging = Off" to fpm defaults

This should (finally) fix errors between FPM and NGINX.
This commit is contained in:
Tianon Gravi 2022-12-20 16:10:03 -08:00
parent 07ddc2eeca
commit f8c7370994
23 changed files with 138 additions and 23 deletions

View File

@ -246,7 +246,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -246,7 +246,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -246,7 +246,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -246,7 +246,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -246,7 +246,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -246,7 +246,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -246,7 +246,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -246,7 +246,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -246,7 +246,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -246,7 +246,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -261,7 +261,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163

View File

@ -482,7 +482,12 @@ RUN set -eux; \
echo; \
echo '[www]'; \
echo 'listen = 9000'; \
} | tee php-fpm.d/zz-docker.conf
} | tee php-fpm.d/zz-docker.conf; \
mkdir -p "$PHP_INI_DIR/conf.d"; \
{ \
echo '; https://github.com/docker-library/php/issues/878#issuecomment-938595965'; \
echo 'fastcgi.logging = Off'; \
} > "$PHP_INI_DIR/conf.d/docker-fpm.ini"
# Override stop signal to stop process gracefully
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163