Skip to content

Commit c0f79b9

Browse files
Merge pull request #13748 from nextcloud/chore/drop-php-8.1
chore(platform): Drop PHP 8.1
2 parents f9a5e16 + 7da6a13 commit c0f79b9

File tree

3 files changed

+37
-8
lines changed

3 files changed

+37
-8
lines changed

admin_manual/installation/system_requirements.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ For best performance, stability and functionality we have documented some recomm
1717
| Operating System | - **Ubuntu 24.04 LTS** (recommended) |
1818
| (64-bit) | - Ubuntu 22.04 LTS |
1919
| | - **Red Hat Enterprise Linux 9** (recommended) |
20-
| | - Red Hat Enterprise Linux 8 |
2120
| | - Debian 12 (Bookworm) |
2221
| | - SUSE Linux Enterprise Server 15 |
2322
| | - openSUSE Leap 15.6 |
2423
| | - CentOS Stream |
2524
| | - Alpine Linux |
2625
+------------------+-----------------------------------------------------------------------+
27-
| Database | - MySQL 8.0 / **8.4** or MariaDB 10.6/ **10.11** (recommended) / 11.4 |
26+
| Database | - MySQL 8.0 / **8.4** (recommended) |
27+
| | - MariaDB 10.6 / 10.11 / **11.4** (recommended) / 11.8 |
2828
| | - Oracle Database 11g, 19c, 21c, 23ai |
2929
| | (*only as part of an enterprise subscription*) |
3030
| | - PostgreSQL 13/14/15/16/17 |
@@ -33,10 +33,9 @@ For best performance, stability and functionality we have documented some recomm
3333
| Webserver | - **Apache 2.4 with** ``mod_php`` **or** ``php-fpm`` (recommended) |
3434
| | - nginx with ``php-fpm`` |
3535
+------------------+-----------------------------------------------------------------------+
36-
| PHP Runtime | - 8.1 (*deprecated*) |
37-
| | - 8.2 |
38-
| | - **8.3** (*recommended*) |
39-
| | - 8.4 |
36+
| PHP Runtime | - 8.2 (*deprecated*) |
37+
| | - 8.3 |
38+
| | - **8.4** (*recommended*) |
4039
+------------------+-----------------------------------------------------------------------+
4140

4241
See :doc:`source_installation` for minimum PHP-modules and additional software for installing Nextcloud.

admin_manual/release_notes/upgrade_to_33.rst

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22
Upgrade to Nextcloud 33
33
=======================
44

5-
System configuration
6-
--------------------
5+
System requirements
6+
-------------------
7+
8+
* PHP 8.2 is now deprecated but still supported.
9+
* PHP 8.1 is no longer supported.
710

811
If you configured restrictions on which domains can be contacted on the internet, you need to add connectivity.nextcloud.com to the allowlist, as it’s now used by default to test internet connectivity instead of www.nextcloud.com. You can also configure any other URL to use in the configuration instead. See :ref:`connections_to_remote_servers`.

developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,33 @@ Removed APIs
3030
Back-end changes
3131
----------------
3232

33+
Support for PHP 8.1 removed
34+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
35+
36+
In this release support for PHP 8.1 was removed. Follow the steps below to make your app compatible.
37+
38+
1. If ``appinfo/info.xml`` has a dependency specification for PHP, increase the ``min-version`` to 8.2.
39+
40+
.. code-block:: xml
41+
42+
<dependencies>
43+
<php min-version="8.2" max-version="8.4" />
44+
<nextcloud min-version="31" max-version="33" />
45+
</dependencies>
46+
47+
48+
2. If your app has a ``composer.json`` and the file contains the PHP restrictions from ``info.xml``, adjust it as well.
49+
50+
.. code-block:: json
51+
52+
{
53+
"require": {
54+
"php": ">=8.2 <=8.4"
55+
}
56+
}
57+
58+
3. If you have :ref:`continuous integration <app-ci>` set up, remove PHP 8.1 from the matrices of tests and linters.
59+
3360
Added Events
3461
^^^^^^^^^^^^
3562

0 commit comments

Comments
 (0)