Skip to content

Commit eae7f23

Browse files
committed
Update PHP version to 8.5 across configuration and documentation files
1 parent 84da520 commit eae7f23

File tree

8 files changed

+17
-10
lines changed

8 files changed

+17
-10
lines changed

compiled_starters/php/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Time to move on to the next stage!
2727

2828
Note: This section is for stages 2 and beyond.
2929

30-
1. Ensure you have `php (8.4)` installed locally
30+
1. Ensure you have `php (8.5)` installed locally
3131
1. Run `./your_program.sh` to run your program, which is implemented in
3232
`app/main.php`.
3333
1. Commit your changes and run `git push origin master` to submit your solution

compiled_starters/php/codecrafters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ debug: false
77
# Use this to change the PHP version used to run your code
88
# on Codecrafters.
99
#
10-
# Available versions: php-8.4
11-
buildpack: php-8.4
10+
# Available versions: php-8.5
11+
buildpack: php-8.5

dockerfiles/php-8.5.Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# syntax=docker/dockerfile:1.7-labs
2+
FROM php:8.5-cli-alpine3.22
3+
4+
# For ext-sockets installation
5+
RUN apk add linux-headers=~6.14.2-r0 --no-cache
6+
7+
RUN docker-php-ext-install pcntl sockets

solutions/php/01-oo8/code/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Time to move on to the next stage!
2727

2828
Note: This section is for stages 2 and beyond.
2929

30-
1. Ensure you have `php (8.4)` installed locally
30+
1. Ensure you have `php (8.5)` installed locally
3131
1. Run `./your_program.sh` to run your program, which is implemented in
3232
`app/main.php`.
3333
1. Commit your changes and run `git push origin master` to submit your solution

solutions/php/01-oo8/code/codecrafters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ debug: false
77
# Use this to change the PHP version used to run your code
88
# on Codecrafters.
99
#
10-
# Available versions: php-8.4
11-
buildpack: php-8.4
10+
# Available versions: php-8.5
11+
buildpack: php-8.5

solutions/php/02-cz2/code/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Time to move on to the next stage!
2727

2828
Note: This section is for stages 2 and beyond.
2929

30-
1. Ensure you have `php (8.4)` installed locally
30+
1. Ensure you have `php (8.5)` installed locally
3131
1. Run `./your_program.sh` to run your program, which is implemented in
3232
`app/main.php`.
3333
1. Commit your changes and run `git push origin master` to submit your solution

solutions/php/02-cz2/code/codecrafters.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ debug: false
77
# Use this to change the PHP version used to run your code
88
# on Codecrafters.
99
#
10-
# Available versions: php-8.4
11-
buildpack: php-8.4
10+
# Available versions: php-8.5
11+
buildpack: php-8.5

starter_templates/php/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
attributes:
2-
required_executable: "php (8.4)"
2+
required_executable: "php (8.5)"
33
user_editable_file: "app/main.php"

0 commit comments

Comments
 (0)