PHP 7.0 in php.ini & php-fpm configuration notes

Path names have to be set in respect of the installed PHP (>= 7.0, 7.1 or 7.2) as applicable.
This commit is contained in:
TP75 2018-12-15 14:50:34 +01:00 committed by GitHub
parent ac277c81f6
commit d2ed7104e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -575,16 +575,17 @@ ini file. This can be the case, for example, for the ``date.timezone`` setting.
**php.ini - used by the Web server:**
::
/etc/php5/apache2/php.ini
/etc/php/7.0/apache2/php.ini
or
/etc/php5/fpm/php.ini
/etc/php/7.0/fpm/php.ini
or ...
**php.ini - used by the php-cli and so by Nextcloud CRON jobs:**
::
/etc/php5/cli/php.ini
/etc/php/7.0/cli/php.ini
.. note:: Path names have to be set in respect of the installed PHP (>= 7.0, 7.1 or 7.2) as applicable.
.. _php_fpm_tips_label:
@ -602,9 +603,9 @@ variables in the appropropriate ``php-fpm`` ini/config file.
Here are some example root paths for these ini/config files:
+-----------------------+-----------------------+
| Ubuntu/Mint | CentOS/Red Hat/Fedora |
| Debian/Ubuntu/Mint | CentOS/Red Hat/Fedora |
+-----------------------+-----------------------+
| ``/etc/php5/fpm/`` or | ``/etc/php-fpm.d/`` |
| | ``/etc/php-fpm.d/`` |
| ``/etc/php/7.0/fpm/`` | |
+-----------------------+-----------------------+