git: 8f21d69a6057 - main - Mk/bsd.default-versions.mk: Change PHP default version to 8.1

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 26 Nov 2022 01:14:56 UTC
The branch main has been updated by bofh:

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

commit 8f21d69a60573aaa9c79deea78327a9283410b53
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-11-26 01:11:50 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-11-26 01:14:37 +0000

    Mk/bsd.default-versions.mk: Change PHP default version to 8.1
    
    Switching php DEFAULT_VERSION from 8.0 to 8.1. php 8.0 Active support
    ends on 2022-11-26. This will not be merged in quarterly.
    
    PR:             266854
    Tested by:      antoine
    Approved by:    ale
    Relnotes:       https://www.php.net/supported-versions.php
    Sponsored by:   Bounce Experts
---
 Mk/Uses/php.mk             |  2 +-
 Mk/bsd.default-versions.mk |  4 ++--
 UPDATING                   | 18 +++++++++++++++++-
 3 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/Mk/Uses/php.mk b/Mk/Uses/php.mk
index 09c2ecbe1184..099c1dfba03f 100644
--- a/Mk/Uses/php.mk
+++ b/Mk/Uses/php.mk
@@ -197,7 +197,7 @@ PHP_EXT_DIR=   20190902
 PHP_EXT_INC=    hash pcre spl
 .    else
 # (rene) default to DEFAULT_VERSIONS
-PHP_EXT_DIR=   20200930
+PHP_EXT_DIR=   20210902
 PHP_EXT_INC=    hash json openssl pcre spl
 .    endif
 
diff --git a/Mk/bsd.default-versions.mk b/Mk/bsd.default-versions.mk
index 433df2c95a1c..56bb2e00f0cf 100644
--- a/Mk/bsd.default-versions.mk
+++ b/Mk/bsd.default-versions.mk
@@ -118,8 +118,8 @@ PERL5_DEFAULT:=		${_PERL5_FROM_BIN:R}
 .  endif
 # Possible values: 10, 11, 12, 13, 14, 15
 PGSQL_DEFAULT?=		13
-# Possible values: 7.4, 8.0, 8.1
-PHP_DEFAULT?=		8.0
+# Possible values: 7.4, 8.0, 8.1, 8.2
+PHP_DEFAULT?=		8.1
 # Possible values: 2.7, 3.7, 3.8, 3.9, 3.10, 3.11
 PYTHON_DEFAULT?=	3.9
 # Possible values: 2.7
diff --git a/UPDATING b/UPDATING
index 8816cb7b9e06..e759bf0445f5 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.
 
+20221126:
+  AFFECTS: users of lang/php80
+  AUTHOR: bofh@FreeBSD.org
+
+  The default version of PHP has been switched from 8.0 to 8.1.
+
+  If you use binary packages you should make a list of php packages
+  before running 'pkg upgrade':
+
+  # pkg info \*php80\* > ~/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_php80 you need to deinstall it and install mod_php81.
+
 20221123:
   AFFECTS: x11-wm/jwm
   AUTHOR: fernape@FreeBSD.org
@@ -69,7 +85,7 @@ you update your ports collection, before attempting any port upgrades.
   AFFECTS: users of security/acme.sh
   AUTHOR: dvl@FreeBSD.org
 
-  This update may break your install if you were using a symlink to 
+  This update may break your install if you were using a symlink to
   %%EXAMPLESDIR%%/acme.sh.conf - that file is no longer installed. Instead,
   a log rotation configuration is now installed to etc/cron.d/acme.sh.sample
   you should modify etc/cron.d/acme.sh to needs.