From 823e15725dbdc4598f80627c91660d339a9bc5d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=B4me=20Chilliet?= Date: Tue, 21 Feb 2023 15:59:45 +0100 Subject: [PATCH] Up minimum PHP version to 8.0 and maximum to 8.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Côme Chilliet --- admin_manual/installation/source_installation.rst | 12 ++++++------ admin_manual/installation/system_requirements.rst | 4 ++-- admin_manual/issues/general_troubleshooting.rst | 4 ++-- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/admin_manual/installation/source_installation.rst b/admin_manual/installation/source_installation.rst index 1f942a895..a8cb67853 100644 --- a/admin_manual/installation/source_installation.rst +++ b/admin_manual/installation/source_installation.rst @@ -307,18 +307,18 @@ ini file. This can be the case, for example, for the ``date.timezone`` setting. **php.ini - used by the Web server:** :: - /etc/php/7.4/apache2/php.ini + /etc/php/8.0/apache2/php.ini or - /etc/php/7.4/fpm/php.ini + /etc/php/8.0/fpm/php.ini or ... **php.ini - used by the php-cli and so by Nextcloud CRON jobs:** :: - /etc/php/7.4/cli/php.ini + /etc/php/8.0/cli/php.ini .. note:: Path names have to be set in respect of the installed PHP - (>= 7.3 or 7.4) as applicable. + (8.0, 8.1 or 8.2) as applicable. .. _php_fpm_tips_label: @@ -338,7 +338,7 @@ Here are some example root paths for these ini/config files: +-----------------------+-----------------------+ | Debian/Ubuntu/Mint | CentOS/Red Hat/Fedora | +-----------------------+-----------------------+ -| ``/etc/php/7.4/fpm/`` | ``/etc/php-fpm.d/`` | +| ``/etc/php/8.0/fpm/`` | ``/etc/php-fpm.d/`` | +-----------------------+-----------------------+ In both examples, the ini/config file is called ``www.conf``, and depending on @@ -365,7 +365,7 @@ you must add them. Alternatively it is possible to use the environment variables of your system by modifying:: - /etc/php/7.4/fpm/pool.d/www.conf + /etc/php/8.0/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 f12adfa8d..b688e88da 100644 --- a/admin_manual/installation/system_requirements.rst +++ b/admin_manual/installation/system_requirements.rst @@ -30,9 +30,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 | - 7.4 (*deprecated*) | -| | - 8.0 | +| PHP Runtime | - 8.0 | | | - **8.1** (*recommended*) | +| | - 8.2 | +------------------+-----------------------------------------------------------------------+ 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 6684f90e8..bc739ec0a 100644 --- a/admin_manual/issues/general_troubleshooting.rst +++ b/admin_manual/issues/general_troubleshooting.rst @@ -154,7 +154,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/7.4/apache2/php.ini``. +* The logfile of PHP can be configured in your ``/etc/php/8.0/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. @@ -178,7 +178,7 @@ these modules: * mod_security * mod_reqtimeout * mod_deflate -* libapache2-mod-php*filter (use libapache2-mod-php7.4 instead) +* libapache2-mod-php*filter (use libapache2-mod-php8.0 instead) * mod_spdy together with libapache2-mod-php5 / mod_php (use fcgi or php-fpm instead) * mod_dav