Skip to content

Commit ecea249

Browse files
committed
Add missing PHP8.4 updates
1 parent 45f547d commit ecea249

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Dockerfile

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -46,28 +46,28 @@ COPY --from=supervisord --chown=${UID}:${GID} /bin /usr/local/bin/supervisord
4646
# Install PHP and PHP system dependencies
4747
RUN apk add --update --no-cache \
4848
# PHP
49-
php83 \
49+
php84 \
5050
# Composer dependencies
51-
php83-phar \
51+
php84-phar \
5252
# PHP SQLite, MySQL/MariaDB & Postgres drivers
53-
php83-pdo_sqlite php83-sqlite3 php83-pdo_mysql php83-pdo_pgsql php83-pgsql \
53+
php84-pdo_sqlite php84-sqlite3 php84-pdo_mysql php84-pdo_pgsql php84-pgsql \
5454
# PHP extensions
55-
php83-xml php83-gd php83-mbstring php83-tokenizer php83-fileinfo php83-bcmath php83-ctype php83-dom php-redis \
55+
php84-xml php84-gd php84-mbstring php84-tokenizer php84-fileinfo php84-bcmath php84-ctype php84-dom php-redis \
5656
# Runtime dependencies
57-
php83-session php83-openssl \
57+
php84-session php84-openssl \
5858
# Nginx and PHP FPM to serve over HTTP
59-
php83-fpm nginx
59+
php84-fpm nginx
6060

6161
# PHP FPM configuration
6262
# Change username and ownership in php-fpm pool config
63-
RUN sed -i '/user = nobody/d' /etc/php83/php-fpm.d/www.conf && \
64-
sed -i '/group = nobody/d' /etc/php83/php-fpm.d/www.conf && \
65-
sed -i '/listen.owner/d' /etc/php83/php-fpm.d/www.conf && \
66-
sed -i '/listen.group/d' /etc/php83/php-fpm.d/www.conf
63+
RUN sed -i '/user = nobody/d' /etc/php84/php-fpm.d/www.conf && \
64+
sed -i '/group = nobody/d' /etc/php84/php-fpm.d/www.conf && \
65+
sed -i '/listen.owner/d' /etc/php84/php-fpm.d/www.conf && \
66+
sed -i '/listen.group/d' /etc/php84/php-fpm.d/www.conf
6767
# Pre-create files with the correct permissions
6868
RUN mkdir /run/php && \
69-
chown ${UID}:${GID} /run/php /var/log/php83 && \
70-
chmod 700 /run/php /var/log/php83
69+
chown ${UID}:${GID} /run/php /var/log/php84 && \
70+
chmod 700 /run/php /var/log/php84
7171

7272
# NGINX
7373
# Clean up

0 commit comments

Comments
 (0)