Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Up minimum PHP version to 8.0 and maximum to 8.2
Signed-off-by: Côme Chilliet <[email protected]>
  • Loading branch information
come-nc committed Feb 21, 2023
commit 823e15725dbdc4598f80627c91660d339a9bc5d0
12 changes: 6 additions & 6 deletions admin_manual/installation/source_installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -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
Expand All @@ -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::

Expand Down
4 changes: 2 additions & 2 deletions admin_manual/installation/system_requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions admin_manual/issues/general_troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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
Expand Down