From 7da6a13dd5cdf07d13b87930b2306569b74351e2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 2 Oct 2025 14:30:24 +0200 Subject: [PATCH] chore(platform): Drop PHP 8.1 Signed-off-by: Joas Schilling --- .../installation/system_requirements.rst | 11 ++++---- admin_manual/release_notes/upgrade_to_33.rst | 7 +++-- .../app_upgrade_guide/upgrade_to_33.rst | 27 +++++++++++++++++++ 3 files changed, 37 insertions(+), 8 deletions(-) diff --git a/admin_manual/installation/system_requirements.rst b/admin_manual/installation/system_requirements.rst index 4f09d42fc9f..41e241c320c 100644 --- a/admin_manual/installation/system_requirements.rst +++ b/admin_manual/installation/system_requirements.rst @@ -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. diff --git a/admin_manual/release_notes/upgrade_to_33.rst b/admin_manual/release_notes/upgrade_to_33.rst index 6ab67ac2a1a..b2a3ef50cd7 100644 --- a/admin_manual/release_notes/upgrade_to_33.rst +++ b/admin_manual/release_notes/upgrade_to_33.rst @@ -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 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`. diff --git a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst index fcef92d5a3f..d00c6bf685a 100644 --- a/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst +++ b/developer_manual/app_publishing_maintenance/app_upgrade_guide/upgrade_to_33.rst @@ -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 + + + + + + + +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 ` set up, remove PHP 8.1 from the matrices of tests and linters. + Added Events ^^^^^^^^^^^^