Skip to content

Commit

Permalink
upgrate PHP version
Browse files Browse the repository at this point in the history
  • Loading branch information
jleonardolemos committed Jan 8, 2025
1 parent fb24b37 commit 1a3d829
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.3-fpm-alpine3.17
FROM php:8.4-fpm-alpine3.21
# Informações
LABEL maintainer="[email protected]"
LABEL company="Convenia"
Expand All @@ -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
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion docker/php-fpm.d/www.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
;php_admin_value[memory_limit] = 512M
;hide php version response header
php_admin_value[expose_php] = Off

0 comments on commit 1a3d829

Please sign in to comment.