Skip to content

Commit 900736a

Browse files
Add PHP 8.4 support (#497)
* add configuration for php 8.4 support * Changed a few spots to 8.4 and added placeholders * Added PHP 8.4 docker hub badges * Updated other examples to have 8.4 --------- Co-authored-by: Jay Rogers <[email protected]>
1 parent fc51ff5 commit 900736a

18 files changed

+61
-57
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

docs/content/docs/2.getting-started/2.installation.md

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

docs/content/docs/2.getting-started/3.default-configurations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Or you can simply use Docker's port mapping feature to map the container port to
3939
label: Run FPM NGINX on port 80 and 443
4040
---
4141
```bash
42-
docker run -p 80:8080 -p 443:8443 serversideup/php:8.3-fpm-nginx
42+
docker run -p 80:8080 -p 443:8443 serversideup/php:8.4-fpm-nginx
4343
```
4444
::
4545

docs/content/docs/2.getting-started/3.upgrade-guide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ If you do not select a specific patch version, then you will receive automatic P
99

1010
For example, you can select your version based on the different version numbers:
1111
- Major Version (example: `8` will give you the latest 8.x version)
12-
- Minor Version (example: `8.3` will give you the latest 8.3.x version)
13-
- Patch Version (example: `8.3.2` will always stay at the 8.3.2 version)
12+
- Minor Version (example: `8.4` will give you the latest 8.4.x version)
13+
- Patch Version (example: `8.4.1` will always stay at the 8.4.1 version)
1414

15-
If you use `latest`, you will always get the latest stable version of the CLI variation of PHP. For the best stability in production environments, you may want to pin to a specific patch version (example: `8.3.2`).
15+
If you use `latest`, you will always get the latest stable version of the CLI variation of PHP. For the best stability in production environments, you may want to pin to a specific patch version (example: `8.4.1`).
1616

1717
## Release process
1818
All source code is merged into the `main` branch, which automatically build our "beta" images.
@@ -29,7 +29,7 @@ Any updates that you apply have a risk of breaking other things inside the conta
2929
label: Example Dockerfile with manual updates for Debian
3030
---
3131
```dockerfile
32-
FROM serversideup/php:8.3.2-fpm-nginx
32+
FROM serversideup/php:8.4.1-fpm-nginx
3333

3434
RUN apt-get update \
3535
&& apt-get upgrade -y \
@@ -45,7 +45,7 @@ If you're running an Alpine-based image, you can use the following commands:
4545
label: Example Dockerfile with manual updates for Alpine
4646
---
4747
```dockerfile
48-
FROM serversideup/php:8.3.2-fpm-nginx-alpine
48+
FROM serversideup/php:8.4.1-fpm-nginx-alpine
4949

5050
RUN apk update \
5151
&& apk upgrade \
@@ -56,4 +56,4 @@ RUN apk update \
5656
## Subscribe to repository updates
5757
Regardless if you are choosing to use automatic updates or manual updates, it is highly advised to subscribe to our releases. You can do this through the "Watch" button on our [GitHub](https://github.com/serversideup/docker-php).
5858

59-
![Watch Repository](/images/docs/watch-repo.png)
59+
![Watch Repository](/images/docs/watch-repo.png)

docs/content/docs/2.getting-started/7.contributing.md

Lines changed: 11 additions & 11 deletions
Large diffs are not rendered by default.

docs/content/docs/3.guide/1.migrating-from-official-php-images.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ layout: docs
1111
## Changing the base image
1212
We follow the same naming convention as the official PHP images, so you can easily switch to our images by changing the base image in your `Dockerfile` or `docker-compose.yml` file.
1313

14-
For example: If you're running `php:8.3-cli-alpine`, you can simply change it to `serversideup/php:8.3-cli-alpine` and you're ready to go. It's that easy!
14+
For example: If you're running `php:8.4-cli-alpine`, you can simply change it to `serversideup/php:8.4-cli-alpine` and you're ready to go. It's that easy!
1515

1616
## Before making the change
1717
We encourage you to get familiar with our [default configurations](/docs/getting-started/default-configurations) and [environment variable specifications](/docs/reference/environment-variable-specification) before making the switch. We've improved the developer experience in a number of ways, so be sure you're evaluating how certain customizations are provided by default and that you're not duplicating conflicting customizations.

docs/content/docs/3.guide/100.migrating-from-v2-to-v3.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ All you need to do is add `-v2.2.1` to the end of the image tag. This will ensur
5151
We've been busy overhauling our PHP Docker Images to make them more production-ready and easier to use. Here are some of the new features we've added:
5252
- **Based on official PHP Images** - We're now building an improved developer experience on top of the official PHP Docker images.
5353
- **Unprivileged by default** - We're now running our images as an unprivileged user by default. This is a huge step forward in security and compatibility.
54-
- **PHP 8.3 support** - We're now shipping the latest and greatest.
54+
- **PHP 8.4 support** - We're now shipping the latest and greatest.
5555
- **Pin to the exact minor version** - Pin your app to the exact minor version of PHP that you want to use. This means you can pin to `8.2.12` instead of `8.2`.
5656
- **Easier start up script customization** - We now have a folder called `/etc/entrypoint.d` that allows you to easily customize your container with scripts. Just put them in numerical order and we'll execute any shell script you want. No S6 Overlay knowledge required.
5757
- **Expanded Laravel Automations** - We added automations to run `config:cache`, `route:cache`, `view:cache`, `event:cache`, `migrate --force --isolated`, and `storage:link`
@@ -131,7 +131,7 @@ label: Dockerfile
131131
132132
# Learn more about the Server Side Up PHP Docker Images at:
133133
# https://serversideup.net/open-source/docker-php/
134-
FROM serversideup/php:8.3-fpm-nginx AS base
134+
FROM serversideup/php:8.4-fpm-nginx AS base
135135
136136
## Uncomment if you need to install additional PHP extensions
137137
# USER root
@@ -181,4 +181,4 @@ USER www-data
181181

182182
#### Deployment
183183
- CI/CD with valid tests is always encouraged
184-
- After completing all steps above, you're now ready to deploy the new images
184+
- After completing all steps above, you're now ready to deploy the new images

docs/content/docs/3.guide/2.understanding-file-permissions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ label: Dockerfile
4343
############################################
4444
# Base Image
4545
############################################
46-
FROM serversideup/php:8.3-fpm-nginx-bookworm AS base
46+
FROM serversideup/php:8.4-fpm-nginx-bookworm AS base
4747

4848
############################################
4949
# Development Image

docs/content/docs/5.customizing-the-image/1.changing-common-php-settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Then in our Dockerfile, we can copy this file to the `/usr/local/etc/php/conf.d/
6969
label: "Dockerfile: Append to our default configuration"
7070
---
7171
```dockerfile
72-
FROM serversideup/php:8.3-fpm-nginx-bookworm
72+
FROM serversideup/php:8.4-fpm-nginx-bookworm
7373

7474
COPY zzz-custom-php.ini /usr/local/etc/php/conf.d/
7575
```
@@ -82,7 +82,7 @@ If you prefer to remove the default `php.ini` file, you can do so by adding the
8282
label: "Dockerfile: Remove our default configuration"
8383
---
8484
```dockerfile
85-
FROM serversideup/php:8.3-fpm-nginx-bookworm
85+
FROM serversideup/php:8.4-fpm-nginx-bookworm
8686

8787
RUN rm /usr/local/etc/php/conf.d/serversideup-docker-php.ini
8888
COPY zzz-custom-php.ini /usr/local/etc/php/conf.d/

docs/content/docs/5.customizing-the-image/2.installing-additional-php-extensions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ label: Dockerfile
137137

138138
# Learn more about the Server Side Up PHP Docker Images at:
139139
# https://serversideup.net/open-source/docker-php/
140-
FROM serversideup/php:8.3-fpm-nginx AS base
140+
FROM serversideup/php:8.4-fpm-nginx AS base
141141

142142
# Switch to root before installing our PHP extensions
143143
USER root

0 commit comments

Comments
 (0)