git: f22d3fff36a8 - main - **php**: Switch PHP default to 8.4

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 01 Dec 2025 19:47:03 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f22d3fff36a83b0fcf88a8146b449f7802c6aca6

commit f22d3fff36a83b0fcf88a8146b449f7802c6aca6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-12-01 19:44:19 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-12-01 19:46:34 +0000

    **php**: Switch PHP default to 8.4
    
    Tested by:      Local exp-run
    Approved by:    portmgr (blanket)
---
 Mk/Uses/php.mk             |  2 +-
 Mk/bsd.default-versions.mk |  2 +-
 UPDATING                   | 18 +++++++++++++++++-
 3 files changed, 19 insertions(+), 3 deletions(-)

diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk
index 3f2c1f3da1f2..f3798824b2be 100644
--- a/Mk/Uses/php.mk
+++ b/Mk/Uses/php.mk
@@ -196,7 +196,7 @@ PHP_EXT_DIR=   20210902
 PHP_EXT_INC=    hash json openssl pcre spl
 .    else
 # (rene) default to DEFAULT_VERSIONS
-PHP_EXT_DIR=   20230831
+PHP_EXT_DIR=   20240924
 PHP_EXT_INC=    hash json openssl pcre random spl
 .    endif
 
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index e17256e57325..0a2adc2a359c 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -133,7 +133,7 @@ PERL5_DEFAULT:=		${_PERL5_FROM_BIN:R}
 # Possible values: 13, 14, 15, 16, 17, 18
 PGSQL_DEFAULT?=		17
 # Possible values: 8.1, 8.2, 8.3, 8.4, 8.5
-PHP_DEFAULT?=		8.3
+PHP_DEFAULT?=		8.4
 # Possible values: rust, legacy
 .  if empty(ARCH:Naarch64:Namd64:Narmv7:Ni386:Npowerpc64:Npowerpc64le:Npowerpc:Nriscv64)
 PYCRYPTOGRAPHY_DEFAULT?=	rust
diff --git a/UPDATING b/UPDATING
index 45a61fc1e9ba..e2fd7a5200a6 100644
--- a/UPDATING
+++ b/UPDATING
@@ -5,6 +5,22 @@ they are unavoidable.
 You should get into the habit of checking this file for changes each time
 you update your ports collection, before attempting any port upgrades.
 
+20251201:
+  AFFECTS: users of lang/php83
+  AUTHOR: bofh@FreeBSD.org
+
+  The default version of PHP has been switched from 8.3 to 8.4.
+
+  If you use binary packages you should make a list of php packages
+  before running 'pkg upgrade':
+
+  # pkg info \*php83\* > ~/installed-php-ports-list
+
+  After the upgrade, check with such list if all your php extensions
+  are still installed, and reinstall them if needed.
+
+  If you use mod_php83 you need to deinstall it and install mod_php84.
+
 20251201:
   AFFECTS: users of sysutils/tmux
   AUTHOR: jrm@FreeBSD.org
@@ -260,7 +276,7 @@ you update your ports collection, before attempting any port upgrades.
   AUTHOR: mandree@FreeBSD.org
 
   The mail/bogofilter-bdb port has expired and will be removed.
-  
+
   1. BEFORE uninstallation or changing to a different mail/bogofilter*
   variant, please use bogoutil to export all user data bases (wordlist.db)
   to text files, bogoutil has a -d option for that.