Skip to content

Commit 37a8fa9

Browse files
committed
Update documentation and container images to PHP 8.4
1 parent 4d47649 commit 37a8fa9

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

.github/workflows/ci.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ jobs:
103103
- uses: actions/checkout@v4
104104
- uses: shivammathur/setup-php@v2
105105
with:
106-
php-version: 8.3
106+
php-version: 8.4
107107
- run: composer install -d tests/integration/
108108
- run: docker build -f tests/integration/${{ matrix.dockerfile }} tests/integration/
109109
- run: docker run -d -p 8080:8080 -v "$PWD/composer.json":/app/composer.json $(docker images -q | head -n1)
@@ -127,7 +127,7 @@ jobs:
127127
- uses: actions/checkout@v4
128128
- uses: shivammathur/setup-php@v2
129129
with:
130-
php-version: 8.3
130+
php-version: 8.4
131131
- run: composer install -d tests/integration/
132132
- run: docker build -f tests/integration/Dockerfile-basics tests/integration/
133133
- run: docker run -d -p 8080:8080 -v "$PWD/composer.json":/app/composer.json $(docker images -q | head -n1)

docs/best-practices/deployment.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ If you're not already running an Apache server, you can run your X project with
229229
Apache in a temporary Docker container like this:
230230

231231
```bash
232-
$ docker run -it --rm -p 80:80 -v "$PWD":/srv php:8.3-apache sh -c "rmdir /var/www/html;ln -s /srv/public /var/www/html;ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled; apache2-foreground"
232+
$ docker run -it --rm -p 80:80 -v "$PWD":/srv php:8.4-apache sh -c "rmdir /var/www/html;ln -s /srv/public /var/www/html;ln -s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled; apache2-foreground"
233233
```
234234

235235
In order to check your web application responds as expected, you can use your
@@ -313,10 +313,10 @@ limit to match your concurrency workload. On Ubuntu- or Debian-based systems,
313313
you may change your PHP configuration like this:
314314

315315
```bash
316-
$ sudoedit /etc/php/8.3/cli/php.ini
316+
$ sudoedit /etc/php/8.4/cli/php.ini
317317
```
318318

319-
```diff title="/etc/php/8.3/cli/php.ini"
319+
```diff title="/etc/php/8.4/cli/php.ini"
320320
- memory_limit = 128M
321321
+ memory_limit = -1
322322
```
@@ -552,7 +552,7 @@ be achieved by using a `Dockerfile` with the following contents:
552552

553553
```docker title="Dockerfile"
554554
# syntax=docker/dockerfile:1
555-
FROM php:8.3-cli
555+
FROM php:8.4-cli
556556

557557
WORKDIR /app/
558558
COPY public/ public/
@@ -574,7 +574,7 @@ be achieved by using a `Dockerfile` with the following contents:
574574
COPY composer.json composer.lock ./
575575
RUN composer install --no-dev --ignore-platform-reqs --optimize-autoloader
576576

577-
FROM php:8.3-alpine
577+
FROM php:8.4-alpine
578578

579579
# recommended: install optional extensions ext-ev and ext-sockets
580580
RUN apk --no-cache add ${PHPIZE_DEPS} libev linux-headers \

tests/integration/Dockerfile-basics

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# syntax=docker/dockerfile:1
2-
FROM php:8.3-cli
2+
FROM php:8.4-cli
33

44
WORKDIR /app/
55
COPY public/ public/

tests/integration/Dockerfile-production

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ COPY composer.json composer.lock ./
88
# dev environment already has dependencies installed:
99
COPY vendor/ vendor/
1010

11-
FROM php:8.3-alpine
11+
FROM php:8.4-alpine
1212

1313
# recommended: install optional extensions ext-ev and ext-sockets
1414
RUN apk --no-cache add ${PHPIZE_DEPS} libev linux-headers \

0 commit comments

Comments
 (0)