forked from gh-mirrors/docker-php-5.3
Add minimal PHP settings to shut to warnings
This commit is contained in:
@@ -321,6 +321,14 @@ RUN set -eux; \
|
||||
echo 'listen = ${PHP_FPM_LISTEN}'; \
|
||||
} | tee php-fpm.d/zz-docker.conf
|
||||
|
||||
RUN set -eux; \
|
||||
{ \
|
||||
echo '[Core]'; \
|
||||
echo 'log_errors="On"'; \
|
||||
echo 'error_log=/proc/self/fd/2'; \
|
||||
echo 'date.timezone=Asia/Bangkok'; \
|
||||
} | tee /usr/local/etc/php/conf.d/core.ini;
|
||||
|
||||
# Override stop signal to stop process gracefully
|
||||
# https://github.com/php/php-src/blob/17baa87faddc2550def3ae7314236826bc1b1398/sapi/fpm/php-fpm.8.in#L163
|
||||
STOPSIGNAL SIGQUIT
|
||||
|
||||
Reference in New Issue
Block a user