bump php 8.4
This commit is contained in:
parent
4acb7e0aaf
commit
ed3ae04b8b
4 changed files with 8 additions and 8 deletions
|
@ -54,8 +54,8 @@ COPY etc/snippets_common.conf /etc/nginx/snippets/snippets_common.conf
|
|||
RUN apk add --no-cache --repository http://dl-cdn.alpinelinux.org/alpine/v3.12/community/ gnu-libiconv=1.15-r2
|
||||
ENV LD_PRELOAD=/usr/lib/preloadable_libiconv.so
|
||||
|
||||
# Use PHP 8.3 release
|
||||
ENV VER_PHP=php83
|
||||
# Use PHP 8.4 release
|
||||
ENV VER_PHP=php84
|
||||
|
||||
# Install PHP required packages
|
||||
RUN apk add --no-cache --update \
|
||||
|
|
|
@ -88,11 +88,11 @@ VERSION_INSTALLED=$(sed -n "s/^\s*\"release_version\":\s*\"\(.*\)\",/\1/p" relea
|
|||
echo >&2 "| Summary: "
|
||||
echo >&2 "| Alpine $(cat /etc/alpine-release)"
|
||||
echo >&2 "| Nginx $(nginx -v 2>&1 | sed 's/nginx version: nginx\///')"
|
||||
echo >&2 "| PHP $(php -r "echo PHP_VERSION;")"
|
||||
echo >&2 "| PHP $(php84 -r "echo PHP_VERSION;")"
|
||||
echo >&2 "| Dotclear ${VERSION_INSTALLED}"
|
||||
|
||||
# Start web server
|
||||
php-fpm83 -D # FPM must start first in daemon mode
|
||||
php-fpm84 -D # FPM must start first in daemon mode
|
||||
nginx # Then nginx in no daemon mode
|
||||
|
||||
exec "$@"
|
|
@ -104,9 +104,9 @@ session.referer_check =
|
|||
session.cache_limiter = nocache
|
||||
session.cache_expire = 180
|
||||
session.use_trans_sid = 0
|
||||
session.sid_length = 26
|
||||
#session.sid_length = 26
|
||||
session.trans_sid_tags = "a=href,area=href,frame=src,form="
|
||||
session.sid_bits_per_character = 5
|
||||
#session.sid_bits_per_character = 5
|
||||
|
||||
[opcache]
|
||||
opcache.enable=1
|
||||
|
|
|
@ -104,9 +104,9 @@ session.referer_check =
|
|||
session.cache_limiter = nocache
|
||||
session.cache_expire = 180
|
||||
session.use_trans_sid = 0
|
||||
session.sid_length = 26
|
||||
#session.sid_length = 26
|
||||
session.trans_sid_tags = "a=href,area=href,frame=src,form="
|
||||
session.sid_bits_per_character = 5
|
||||
#session.sid_bits_per_character = 5
|
||||
|
||||
[opcache]
|
||||
opcache.enable=1
|
||||
|
|
Loading…
Reference in a new issue