document that in case of php-fpm, .user.ini must be used

This commit is contained in:
Martin
2015-02-15 12:52:01 +01:00
parent c3ce1459ec
commit e5578dfae7
3 changed files with 9 additions and 5 deletions

View File

@@ -26,8 +26,10 @@ System Configuration
Configuring Your Webserver
--------------------------
ownCloud comes with its own ``owncloud/.htaccess`` file. Set the following
two parameters inside this ``.htaccess`` file::
| ownCloud comes with its own ``owncloud/.htaccess`` file.
| If PHP-FPM is used, it can't read ``.htaccess`` PHP settings unless a PECL extension is installed. If PHP-FPM is used without the PECL extension installed, settings and permissions must be set in the ``owncloud/.user.ini`` file.
Set the following two parameters inside the corresponding .ini file::
php_value upload_max_filesize = 16G
php_value post_max_size = 16G
@@ -41,7 +43,7 @@ increase the timeout values, which are in seconds::
Configuring PHP
---------------
If you don't want to use the ownCloud ``.htaccess`` file, you may
If you don't want to use the ownCloud ``.htaccess`` or ``.user.ini`` file, you may
configure PHP instead. Make sure to comment out any lines ``.htaccess``
pertaining to upload size, if you entered any.
@@ -67,7 +69,7 @@ Tell PHP which temp file you want it to use::
upload_tmp_dir = /var/big_temp_file/
**Output Buffering** must be turned off in ``.htaccess`` or ``php.ini``, or PHP
**Output Buffering** must be turned off in ``.htaccess`` or ``.user.ini`` or ``php.ini``, or PHP
will return memory-related errors:
* ``output_buffering = 0``

View File

@@ -99,3 +99,5 @@ Nginx Configuration
/etc/php5/fpm/php.ini**) and increase **upload_max_filesize** and
**post_max_size** values. Youll need to restart php5-fpm and nginx
services in order these changes to be applied.
.. note:: ownCloud comes with its own ``owncloud/.htaccess`` file. If PHP-FPM is used, it can't read ``.htaccess`` PHP settings unless a PECL extension is installed. If PHP-FPM is used without the PECL extension installed, settings and permissions must be set in the ``owncloud/.user.ini`` file.

View File

@@ -325,7 +325,7 @@ Example config for Apache 2.4:
* In order for the maximum upload size to be configurable, the
:file:`.htaccess` in the ownCloud folder needs to be made writable by the
server (this should already be done, see section ``Set the Directory
Permissions``).
Permissions``). If PHP-FPM is used, it can't read ``.htaccess`` PHP settings unless a PECL extension is installed. If PHP-FPM is used without the PECL extension installed, settings and permissions must be set in the ``owncloud/.user.ini`` file.
* You should make sure that any built-in WebDAV module of your web server is
disabled (at least for the ownCloud directory), as it will interfere with