Skip to content

Commit 3239d66

Browse files
PHP 8.2
1 parent 3cf70a6 commit 3239d66

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
- name: Setup PHP
3939
uses: nanasess/setup-php@master
4040
with:
41-
php-version: 8.1
41+
php-version: 8.2
4242
env:
4343
ELASTICSEARCH_URL: 127.0.0.1:9200
4444

.symfony.insight.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
php_version: 8.1
1+
php_version: 8.2

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: php
22

33
php:
4-
- 8.1
4+
- 8.2
55

66
services:
77
- elasticsearch

Dockerfile

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
ARG ALPINE_VERSION=3.16
1+
ARG ALPINE_VERSION=edge
22
FROM alpine:${ALPINE_VERSION}
33
LABEL Maintainer="Tim de Pater <code@trafex.nl>"
4-
LABEL Description="Lightweight container with Nginx 1.22 & PHP 8.1 based on Alpine Linux 3.16"
4+
LABEL Description="Lightweight container with Nginx 1.22 & PHP 8.2 based on Alpine Linux edge"
55

66
ENV APP_ENV=prod
77
ENV INSTALLATION_TYPE=docker
@@ -15,13 +15,13 @@ ENV SSL_VERIFY_HOST=$SSL_VERIFY_HOST
1515
ENV SECRET_REGISTER=$SECRET_REGISTER
1616

1717
# Install packages and remove default server definition
18-
RUN apk --no-cache add php81 php81-fpm php81-opcache php81-json php81-openssl php81-curl php81-zlib \
19-
php81-xml php81-simplexml php81-phar php81-intl php81-dom php81-xmlreader php81-ctype php81-session \
20-
php81-tokenizer php81-pdo php81-pdo_mysql php81-pdo_pgsql php81-iconv php81-zip php81-gmp php81-mbstring \
18+
RUN apk --no-cache add php82 php82-fpm php82-opcache php82-json php82-openssl php82-curl php82-zlib \
19+
php82-xml php82-simplexml php82-phar php82-intl php82-dom php82-xmlreader php82-ctype php82-session \
20+
php82-tokenizer php82-pdo php82-pdo_mysql php82-pdo_pgsql php82-iconv php82-zip php82-gmp php82-mbstring \
2121
nginx supervisor nodejs npm curl
2222

2323
# Create symlink so programs depending on `php` still function
24-
RUN ln -s /usr/bin/php81 /usr/bin/php
24+
RUN ln -s /usr/bin/php82 /usr/bin/php
2525

2626
# Configure nginx
2727
COPY docker/nginx.conf /etc/nginx/nginx.conf
@@ -30,8 +30,8 @@ COPY docker/fullchain.pem /etc/nginx/fullchain.pem
3030
RUN rm -f /etc/nginx/conf.d/default.conf
3131

3232
# Configure PHP-FPM
33-
COPY docker/fpm-pool.conf /etc/php81/php-fpm.d/www.conf
34-
COPY docker/php.ini /etc/php81/conf.d/custom.ini
33+
COPY docker/fpm-pool.conf /etc/php82/php-fpm.d/www.conf
34+
COPY docker/php.ini /etc/php82/conf.d/custom.ini
3535

3636
# Configure supervisord
3737
COPY docker/supervisord.conf /etc/supervisor/conf.d/supervisord.conf

docker/supervisord.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ logfile_maxbytes=0
55
pidfile=/run/supervisord.pid
66

77
[program:php-fpm]
8-
command=php-fpm81 -F
8+
command=php-fpm82 -F
99
stdout_logfile=/dev/stdout
1010
stdout_logfile_maxbytes=0
1111
stderr_logfile=/dev/stderr

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ If you have SSL certificates, add ```-v /path/privkey.pem:/etc/nginx/privkey.pem
142142
[(Back to source installation)](#source-installation)
143143

144144
- Web server
145-
- PHP 8.1: [Visit](https://symfony.com/doc/current/setup/web_server_configuration.html)
145+
- PHP 8.2: [Visit](https://symfony.com/doc/current/setup/web_server_configuration.html)
146146
- Composer: [Visit](https://getcomposer.org/download/)
147147
- npm: [Visit](https://docs.npmjs.com/downloading-and-installing-node-js-and-npm)
148148

0 commit comments

Comments
 (0)