Merge pull request #174295 from etu/php-default-to-php81

php: Upgrade from PHP 8.0 to 8.1 as default PHP

authored by Aaron Andersen and committed by GitHub 137121f7 cef38c94

+9 -2
+6 -1
nixos/doc/manual/from_md/release-notes/rl-2211.section.xml
··· 10 In addition to numerous new and upgraded packages, this release 11 has the following highlights: 12 </para> 13 - <itemizedlist spacing="compact"> 14 <listitem> 15 <para> 16 During cross-compilation, tests are now executed if the test ··· 29 built for <literal>stdenv.hostPlatform</literal> (i.e. 30 produced by <literal>stdenv.cc</literal>) by evaluating 31 <literal>stdenv.buildPlatform.canExecute stdenv.hostPlatform</literal>. 32 </para> 33 </listitem> 34 </itemizedlist>
··· 10 In addition to numerous new and upgraded packages, this release 11 has the following highlights: 12 </para> 13 + <itemizedlist> 14 <listitem> 15 <para> 16 During cross-compilation, tests are now executed if the test ··· 29 built for <literal>stdenv.hostPlatform</literal> (i.e. 30 produced by <literal>stdenv.cc</literal>) by evaluating 31 <literal>stdenv.buildPlatform.canExecute stdenv.hostPlatform</literal>. 32 + </para> 33 + </listitem> 34 + <listitem> 35 + <para> 36 + PHP now defaults to PHP 8.1, updated from 8.0. 37 </para> 38 </listitem> 39 </itemizedlist>
+2
nixos/doc/manual/release-notes/rl-2211.section.md
··· 17 built for `stdenv.hostPlatform` (i.e. produced by `stdenv.cc`) by evaluating 18 `stdenv.buildPlatform.canExecute stdenv.hostPlatform`. 19 20 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 21 22 ## New Services {#sec-release-22.11-new-services}
··· 17 built for `stdenv.hostPlatform` (i.e. produced by `stdenv.cc`) by evaluating 18 `stdenv.buildPlatform.canExecute stdenv.hostPlatform`. 19 20 + - PHP now defaults to PHP 8.1, updated from 8.0. 21 + 22 <!-- To avoid merge conflicts, consider adding your item at an arbitrary place in the list instead. --> 23 24 ## New Services {#sec-release-22.11-new-services}
+1 -1
pkgs/top-level/all-packages.nix
··· 14357 # PHP interpreters, packages and extensions. 14358 # 14359 # Set default PHP interpreter, extensions and packages 14360 - php = php80; 14361 phpExtensions = php.extensions; 14362 phpPackages = php.packages; 14363
··· 14357 # PHP interpreters, packages and extensions. 14358 # 14359 # Set default PHP interpreter, extensions and packages 14360 + php = php81; 14361 phpExtensions = php.extensions; 14362 phpPackages = php.packages; 14363