Merge pull request #13748 from nextcloud/chore/drop-php-8.1

chore(platform): Drop PHP 8.1
This commit is contained in:
Joas Schilling
2025-10-02 16:16:09 +02:00
committed by GitHub
3 changed files with 37 additions and 8 deletions

View File

@@ -17,14 +17,14 @@ For best performance, stability and functionality we have documented some recomm
| Operating System | - **Ubuntu 24.04 LTS** (recommended) |
| (64-bit) | - Ubuntu 22.04 LTS |
| | - **Red Hat Enterprise Linux 9** (recommended) |
| | - Red Hat Enterprise Linux 8 |
| | - Debian 12 (Bookworm) |
| | - SUSE Linux Enterprise Server 15 |
| | - openSUSE Leap 15.6 |
| | - CentOS Stream |
| | - Alpine Linux |
+------------------+-----------------------------------------------------------------------+
| Database | - MySQL 8.0 / **8.4** or MariaDB 10.6/ **10.11** (recommended) / 11.4 |
| Database | - MySQL 8.0 / **8.4** (recommended) |
| | - MariaDB 10.6 / 10.11 / **11.4** (recommended) / 11.8 |
| | - Oracle Database 11g, 19c, 21c, 23ai |
| | (*only as part of an enterprise subscription*) |
| | - PostgreSQL 13/14/15/16/17 |
@@ -33,10 +33,9 @@ For best performance, stability and functionality we have documented some recomm
| Webserver | - **Apache 2.4 with** ``mod_php`` **or** ``php-fpm`` (recommended) |
| | - nginx with ``php-fpm`` |
+------------------+-----------------------------------------------------------------------+
| PHP Runtime | - 8.1 (*deprecated*) |
| | - 8.2 |
| | - **8.3** (*recommended*) |
| | - 8.4 |
| PHP Runtime | - 8.2 (*deprecated*) |
| | - 8.3 |
| | - **8.4** (*recommended*) |
+------------------+-----------------------------------------------------------------------+
See :doc:`source_installation` for minimum PHP-modules and additional software for installing Nextcloud.

View File

@@ -2,7 +2,10 @@
Upgrade to Nextcloud 33
=======================
System configuration
--------------------
System requirements
-------------------
* PHP 8.2 is now deprecated but still supported.
* PHP 8.1 is no longer supported.
If you configured restrictions on which domains can be contacted on the internet, you need to add connectivity.nextcloud.com to the allowlist, as its 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`.

View File

@@ -30,6 +30,33 @@ Removed APIs
Back-end changes
----------------
Support for PHP 8.1 removed
^^^^^^^^^^^^^^^^^^^^^^^^^^^
In this release support for PHP 8.1 was removed. Follow the steps below to make your app compatible.
1. If ``appinfo/info.xml`` has a dependency specification for PHP, increase the ``min-version`` to 8.2.
.. code-block:: xml
<dependencies>
<php min-version="8.2" max-version="8.4" />
<nextcloud min-version="31" max-version="33" />
</dependencies>
2. If your app has a ``composer.json`` and the file contains the PHP restrictions from ``info.xml``, adjust it as well.
.. code-block:: json
{
"require": {
"php": ">=8.2 <=8.4"
}
}
3. If you have :ref:`continuous integration <app-ci>` set up, remove PHP 8.1 from the matrices of tests and linters.
Added Events
^^^^^^^^^^^^