From 1a3d8292b570142471b8143441d5a5246f6b84fc Mon Sep 17 00:00:00 2001 From: Leonardo Lemos Date: Wed, 8 Jan 2025 10:38:51 -0300 Subject: [PATCH] upgrate PHP version --- Dockerfile | 4 ++-- README.md | 5 +++++ docker/php-fpm.d/www.conf | 4 +++- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c3838d1..2de37f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM php:8.3-fpm-alpine3.17 +FROM php:8.4-fpm-alpine3.21 # Informações LABEL maintainer="leonardo.lemos@convenia.com.br" LABEL company="Convenia" @@ -17,7 +17,7 @@ RUN IPE_GD_WITHOUTAVIF=1 install-php-extensions bcmath bz2 calendar exif gd gett redis-stable \ mongodb-stable -RUN apk add --no-cache --update supervisor=~4.2 nginx=~1.22 nginx-mod-http-headers-more openssh-client git less curl +RUN apk add --no-cache --update supervisor=~4.2 nginx=~1.26 nginx-mod-http-headers-more openssh-client git less curl # Instalação do composer COPY --from=composer:2 /usr/bin/composer /usr/local/bin/composer diff --git a/README.md b/README.md index 09b3119..2c3e25e 100644 --- a/README.md +++ b/README.md @@ -97,6 +97,11 @@ docker run --rm easycron crond -l 2 -f ### Changelog #### PHP version 8.3 - We removed Imagick extension. If you wish to use Imagick extension add to your Dockerfile. +- PHP version to 8.3 +#### PHP version 8.4 +- Nginx changed to 1.26.2 +- PHP version to 8.4 +- expose_php directive disabled in the default php pool configuration For any suggestion or bug try to [open an issue on github](https://github.com/convenia/php-full-8.1-image) or [send a tweet](https://twitter.com/convenia) to us diff --git a/docker/php-fpm.d/www.conf b/docker/php-fpm.d/www.conf index 13dea8d..1db16f8 100644 --- a/docker/php-fpm.d/www.conf +++ b/docker/php-fpm.d/www.conf @@ -460,4 +460,6 @@ pm.max_requests = 500 ;php_flag[display_errors] = off ;php_admin_value[error_log] = /var/log/fpm-php.www.log ;php_admin_flag[log_errors] = on -;php_admin_value[memory_limit] = 512M \ No newline at end of file +;php_admin_value[memory_limit] = 512M +;hide php version response header +php_admin_value[expose_php] = Off \ No newline at end of file