@@ -229,7 +229,7 @@ If you're not already running an Apache server, you can run your X project with
229
229
Apache in a temporary Docker container like this:
230
230
231
231
``` 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"
233
233
```
234
234
235
235
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,
313
313
you may change your PHP configuration like this:
314
314
315
315
``` bash
316
- $ sudoedit /etc/php/8.3 /cli/php.ini
316
+ $ sudoedit /etc/php/8.4 /cli/php.ini
317
317
```
318
318
319
- ``` diff title="/etc/php/8.3 /cli/php.ini"
319
+ ``` diff title="/etc/php/8.4 /cli/php.ini"
320
320
- memory_limit = 128M
321
321
+ memory_limit = -1
322
322
```
@@ -552,7 +552,7 @@ be achieved by using a `Dockerfile` with the following contents:
552
552
553
553
```docker title="Dockerfile"
554
554
# syntax=docker/dockerfile:1
555
- FROM php:8.3 -cli
555
+ FROM php:8.4 -cli
556
556
557
557
WORKDIR /app/
558
558
COPY public/ public/
@@ -574,7 +574,7 @@ be achieved by using a `Dockerfile` with the following contents:
574
574
COPY composer.json composer.lock ./
575
575
RUN composer install --no-dev --ignore-platform-reqs --optimize-autoloader
576
576
577
- FROM php:8.3 -alpine
577
+ FROM php:8.4 -alpine
578
578
579
579
# recommended: install optional extensions ext-ev and ext-sockets
580
580
RUN apk --no-cache add ${PHPIZE_DEPS} libev linux-headers \
0 commit comments