From 2e6479d8290c29a6800954080687ca6d248460a4 Mon Sep 17 00:00:00 2001
From: shinsenter <2082119+shinsenter@users.noreply.github.com>
Date: Fri, 22 Nov 2024 16:34:56 +0900
Subject: [PATCH] [5.x] FrankenPHP does not support PHP 8.4
---
README.md | 2 +-
build/config.sh | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 8226e0ac..95858d14 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ Examples:
> (*): The latest stable version.
> (1): PHP with RoadRunner server. The `roadrunner` variant supports PHP >= 8.0.
-> (2): FrankenPHP is still in BETA. The `frankenphp` variant supports PHP >= 8.2.
+> (2): FrankenPHP is still in BETA. The `frankenphp` variant supports PHP 8.2 and 8.3.
> (3): PHP with Nginx Unit server. The `unit-php` variant supports PHP >= 7.4.
Explore all available tags on our [Docker Hub](https://hub.docker.com/r/shinsenter/php/tags).
diff --git a/build/config.sh b/build/config.sh
index b5c26dfc..137f8528 100755
--- a/build/config.sh
+++ b/build/config.sh
@@ -142,6 +142,7 @@ with-unit)
;;
with-f8p)
verlt "$PHP_VERSION" "8.2" && SKIP_BUILD=1
+ verlte "8.4" "$PHP_VERSION" && SKIP_BUILD=1
PREFIX="frankenphp"
BUILD_NAME="$DEFAULT_REPO/frankenphp"
BUILD_SOURCE_IMAGE="dunglas/frankenphp:1-php$PHP_VERSION$SUFFIX"