mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-04 10:46:21 +07:00
Up minimum PHP version to 8.0 and maximum to 8.2
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
@@ -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::
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user