Skip to content

Commit 94e2886

Browse files
committed
Upgrade to PHP 8.3
1 parent 552a876 commit 94e2886

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

builder/PostCreateScript.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ public function execute($workdir, $namespace, $composerName, $phpVersion, $mysql
5151
foreach ($files as $file) {
5252
$contents = file_get_contents("$workdir/$file");
5353
$contents = str_replace('ENV TZ=UTC', "ENV TZ=$timezone", $contents);
54-
$contents = str_replace('php:8.1-fpm', "php:$phpVersion-fpm", $contents);
55-
$contents = str_replace('php81', "php$phpVersionMSimple", $contents);
54+
$contents = str_replace('php:8.3-fpm', "php:$phpVersion-fpm", $contents);
55+
$contents = str_replace('php83', "php$phpVersionMSimple", $contents);
5656
file_put_contents(
5757
"$workdir/$file",
5858
$contents

docker/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM byjg/php:8.1-fpm-nginx
1+
FROM byjg/php:8.3-fpm-nginx-2025.03
22

33
# Refer to the documentation to setup the environment variables
44
# https://github.com/byjg/docker-php/blob/master/docs/environment.md
@@ -10,7 +10,7 @@ WORKDIR /srv
1010

1111
# Setup Docker/Fpm
1212

13-
COPY ./docker/fpm/php /etc/php81/conf.d
13+
COPY ./docker/fpm/php /etc/php83/conf.d
1414
COPY ./docker/nginx/conf.d /etc/nginx/http.d/
1515

1616
# Setup DateFile

docs/getting_started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Required PHP extensions:
2929

3030
```bash
3131
mkdir ~/tutorial
32-
composer create-project byjg/rest-reference-architecture ~/tutorial 4.9.*
32+
composer create-project byjg/rest-reference-architecture ~/tutorial 5.0.*
3333
```
3434

3535
or the latest development version:

0 commit comments

Comments
 (0)