From 2929777efc7256d93b22b066de7c961840eb0c79 Mon Sep 17 00:00:00 2001 From: Richard Steinmetz Date: Mon, 8 Apr 2024 13:30:46 +0200 Subject: [PATCH] feat(admin): drop php 8.0 Signed-off-by: Richard Steinmetz --- admin_manual/installation/php_configuration.rst | 8 ++++---- admin_manual/installation/source_installation.rst | 4 ++-- admin_manual/installation/system_requirements.rst | 7 +++---- admin_manual/issues/general_troubleshooting.rst | 4 ++-- admin_manual/release_notes/index.rst | 1 + admin_manual/release_notes/upgrade_to_30.rst | 9 +++++++++ 6 files changed, 21 insertions(+), 12 deletions(-) create mode 100644 admin_manual/release_notes/upgrade_to_30.rst diff --git a/admin_manual/installation/php_configuration.rst b/admin_manual/installation/php_configuration.rst index c43885ca4..265f1af66 100644 --- a/admin_manual/installation/php_configuration.rst +++ b/admin_manual/installation/php_configuration.rst @@ -118,15 +118,15 @@ You can search for a parameter with the following command: ``grep -r date.timezo **php.ini - used by the Web server:** :: - /etc/php/8.0/apache2/php.ini + /etc/php/8.3/apache2/php.ini or - /etc/php/8.0/fpm/php.ini + /etc/php/8.3/fpm/php.ini or ... **php.ini - used by the php-cli and so by Nextcloud CRON jobs:** :: - /etc/php/8.0/cli/php.ini + /etc/php/8.3/cli/php.ini .. note:: Path names have to be set in respect of the installed PHP - (8.0, 8.1 or 8.2) as applicable. + (8.1, 8.2 or 8.3) as applicable. diff --git a/admin_manual/installation/source_installation.rst b/admin_manual/installation/source_installation.rst index 74a07fc8d..c74601efc 100644 --- a/admin_manual/installation/source_installation.rst +++ b/admin_manual/installation/source_installation.rst @@ -250,7 +250,7 @@ Here are some example root paths for these ini/config files: +-----------------------+-----------------------+ | Debian/Ubuntu/Mint | CentOS/Red Hat/Fedora | +-----------------------+-----------------------+ -| ``/etc/php/8.0/fpm/`` | ``/etc/php-fpm.d/`` | +| ``/etc/php/8.3/fpm/`` | ``/etc/php-fpm.d/`` | +-----------------------+-----------------------+ In both examples, the ini/config file is called ``www.conf``, and depending on @@ -277,7 +277,7 @@ you must add them. Alternatively it is possible to use the environment variables of your system by modifying:: - /etc/php/8.0/fpm/pool.d/www.conf + /etc/php/8.3/fpm/pool.d/www.conf and uncommenting the line:: diff --git a/admin_manual/installation/system_requirements.rst b/admin_manual/installation/system_requirements.rst index 8ffd02bb5..5f0d340c9 100644 --- a/admin_manual/installation/system_requirements.rst +++ b/admin_manual/installation/system_requirements.rst @@ -31,10 +31,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.0 (*deprecated*) | -| | - 8.1 | -| | - **8.2** (*recommended*) | -| | - 8.3 | +| PHP Runtime | - 8.1 (*deprecated*) | +| | - 8.2 | +| | - **8.3** (*recommended*) | +------------------+-----------------------------------------------------------------------+ See :doc:`source_installation` for minimum PHP-modules and additional software for installing Nextcloud. diff --git a/admin_manual/issues/general_troubleshooting.rst b/admin_manual/issues/general_troubleshooting.rst index 074a478f1..178c41f68 100644 --- a/admin_manual/issues/general_troubleshooting.rst +++ b/admin_manual/issues/general_troubleshooting.rst @@ -171,7 +171,7 @@ Web server and Nextcloud itself. Linux distros or operating systems they can differ. * The logfile of Apache2 is located in ``/var/log/apache2/error.log``. -* The logfile of PHP can be configured in your ``/etc/php/8.0/apache2/php.ini``. +* The logfile of PHP can be configured in your ``/etc/php/8.3/apache2/php.ini``. You need to set the directive ``log_errors`` to ``On`` and choose the path to store the logfile in the ``error_log`` directive. After those changes you need to restart your Web server. @@ -195,7 +195,7 @@ these modules: * mod_security * mod_reqtimeout * mod_deflate -* libapache2-mod-php*filter (use libapache2-mod-php8.0 instead) +* libapache2-mod-php*filter (use libapache2-mod-php8.3 instead) * mod_spdy together with libapache2-mod-php5 / mod_php (use fcgi or php-fpm instead) * mod_dav diff --git a/admin_manual/release_notes/index.rst b/admin_manual/release_notes/index.rst index 8c7230cbc..13eb0e2f6 100644 --- a/admin_manual/release_notes/index.rst +++ b/admin_manual/release_notes/index.rst @@ -14,6 +14,7 @@ These sub pages will cover the most important changes in Nextcloud, as well as s .. toctree:: :maxdepth: 1 + upgrade_to_30.rst upgrade_to_28.rst upgrade_to_27.rst upgrade_to_26.rst diff --git a/admin_manual/release_notes/upgrade_to_30.rst b/admin_manual/release_notes/upgrade_to_30.rst new file mode 100644 index 000000000..6254d29ed --- /dev/null +++ b/admin_manual/release_notes/upgrade_to_30.rst @@ -0,0 +1,9 @@ +======================= +Upgrade to Nextcloud 30 +======================= + +System requirements +------------------- + +* PHP 8.1 is now deprecated but still supported. +* PHP 8.0 is no longer supported.