tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Changing to a more recent-ish PHP_VERSION_DEFAULT ?



Greetings everyone,

PHP 7.4 was EOL about a year ago, and 8.0 would follow in the next few days (source [1]):

Version   EOL
8.0 	  26 Nov 2023
8.1 	  25 Nov 2024
8.2 	  8 Dec 2025

Any reason not to switch PHP_VERSION_DEFAULT to 8.1 or 8.2?

I admit I am dodging all things PHP-related each time deemed possible, and I am barely using it besides FPM and roundcube (and to some extent davical), but so far I have been running 8.2 on pkgsrc-current without not much hiccup to report

I Would like to hear from others who use PHP more broadly

Cheers,

[1] https://www.php.net/supported-versions.php

--
jym@
https://www.NetBSD.org
Index: php/phpversion.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/php/phpversion.mk,v
retrieving revision 1.412
diff -u -p -r1.412 phpversion.mk
--- php/phpversion.mk   27 Oct 2023 15:04:30 -0000      1.412
+++ php/phpversion.mk   7 Nov 2023 15:45:45 -0000
@@ -11,7 +11,7 @@
 #      the package.
 #
 #      Possible: 56 74 80 81 82
-#      Default: 74
+#      Default: 81
 #
 # === Infrastructure variables ===
 #
@@ -108,7 +108,7 @@ _SYS_VARS.php=      PKG_PHP_VERSION PKG_PHP P

 .include "../../mk/bsd.prefs.mk"

-PHP_VERSION_DEFAULT?=          74
+PHP_VERSION_DEFAULT?=          81
 PHP_VERSIONS_ACCEPTED?=                74 56 80 81 82
 .for pv in ${PHP_VERSIONS_ACCEPTED}
 .  if empty(PHP_VERSIONS_INCOMPATIBLE:M${pv})


Home | Main Index | Thread Index | Old Index