[Pkg-owncloud-commits] [owncloud-doc] 27/227: Correct error re: output_buffering. This should be propagated to all versions.

David Prévot taffit at moszumanska.debian.org
Sat Oct 11 17:20:30 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud-doc.

commit 96a87243d031a9d031963a107dfde3f0c887a2cb
Author: Carla Schroder <carla at owncloud.com>
Date:   Thu Aug 28 15:05:48 2014 -0700

    Correct error re: output_buffering. This should be propagated to all versions.
---
 .../configuration/configuring_big_file_upload.rst  | 61 ++++++++++++++--------
 1 file changed, 38 insertions(+), 23 deletions(-)

diff --git a/admin_manual/configuration/configuring_big_file_upload.rst b/admin_manual/configuration/configuring_big_file_upload.rst
index ba8d9c5..4d77cdb 100644
--- a/admin_manual/configuration/configuring_big_file_upload.rst
+++ b/admin_manual/configuration/configuring_big_file_upload.rst
@@ -1,6 +1,7 @@
 Uploading big files > 512MB (as set by default)
 ===============================================
-It's useful to know limiting factors, that make it impossible to exceed the values given by the ownCloud-system:
+It's useful to know limiting factors, that make it impossible to exceed the 
+values given by the ownCloud-system:
 
 Not outnumberable upload limits:
 --------------------------------
@@ -13,53 +14,67 @@ Other recommendable preconditions:
 ----------------------------------
 
 * Make sure, that the latest version of PHP (at least 5.4.9) is installed
-* Disable user quota. This means: set the user quota of the account, you are currently logged in, to "unlimited".
+* Disable user quota. This means: set the user quota of the account, you are 
+  currently logged in, to "unlimited".
 
-This is important, because you possibly could not watch otherwise, whether the desired changes take effect.
+This is important, because you possibly could not watch otherwise, whether the 
+desired changes take effect.
 
 Enabling uploading big files
 ============================
-Note: The order of the following steps is important! If you swap steps described below, the settings may fail.
+Note: The order of the following steps is important! If you swap steps described 
+below, the settings may fail.
 
 **Go to the admin section in the ownCloud Web Interface and do the following:**
 
-* Under "File handling" set the Maximum upload size to the desired value (e.g. 16GB)
+* Under "File handling" set the Maximum upload size to the desired value (e.g. 
+  16GB)
 * Click the "save"-Button
 
 **Configuring your webserver**
 
-ownCloud comes with a .htaccess - file which propagates all config to your webserver. To adapt those settings go to the ownCloud - Folder on your server and set the following two parameters inside the .htaccess file:
+ownCloud comes with a .htaccess - file which propagates all config to your 
+webserver. To adapt those settings go to the ownCloud - Folder on your server 
+and set the following two parameters inside the .htaccess file:
 
-* ``upload_max_filesize = 16G``   (e.g., to stay consistent with the example value above)
-* ``post_max_size = 16G``   (e.g., to stay consistent with the example value above)
+* ``upload_max_filesize = 16G``   (e.g., to stay consistent with the example 
+  value above)
+* ``post_max_size = 16G``   (e.g., to stay consistent with the example value 
+  above)
 
-If you don't want to use the shipped .htaccess - file, outcomment those options there and edit them in your global php.ini file:
+If you don't want to use the shipped .htaccess - file, outcomment those options 
+there and edit them in your global php.ini file:
 
-You can easily learn the loaded configuration file by saving ``<?php phpinfo(); ?>`` code piece
-into a php file and calling it with your browser. Then look for the **Loaded Configuration File** value.
+You can easily learn the loaded configuration file by saving ``<?php phpinfo(); 
+?>`` code piece into a php file and calling it with your browser. Then look for 
+the **Loaded Configuration File** value.
 
 Alternatively:
 
-* Under Debian or SUSE and their derivatives this file lies at /etc/php5/apache2/php.ini
+* Under Debian or SUSE and their derivatives this file lies at 
+  /etc/php5/apache2/php.ini
 * On Windows, you can find this file within C:/Program Files (x86)/PHP/PHP.ini
 
-Set the following two parameters inside the php.ini to the same value as chosen inside the admin-section one step before:
+Set the following two parameters inside the php.ini to the same value as chosen 
+inside the admin-section one step before:
 
-* ``upload_max_filesize = 16G``   (e.g., to stay consistent with the example value above)
-* ``post_max_size = 16G``   (e.g., to stay consistent with the example value above)
+* ``upload_max_filesize = 16G``   (e.g., to stay consistent with the example 
+  value above)
+* ``post_max_size = 16G``   (e.g., to stay consistent with the example value 
+  above)
 
-**Output Buffering** allows you to get performance benefits in some setups. Please make sure you know what you are doing before using it in production. As previously mentioned, add this option in your .htaccess file or edit your php.ini file:
+**Output Buffering** must be turned off in ``.htaccess`` or ``php.ini``, or PHP 
+will return memory-related errors.
 
-* ``output_buffering = 16384``	(e.g., to stay consistent with the example value above)
+* ``output_buffering = 0``
 
-As you can see, the "output_buffering" has to be given in MegaBytes but as a plain figure (without size-units as 'M' or 'G')
-
-**These client configurations have been proven by testing maximum file sizes of 16 GB:**
+**These client configurations have been proven by testing maximum file sizes of 
+  16 GB:**
 
 * Linux 32 Bit: Ubuntu, Firefox => 16GB
 * Windows 8  64 Bit: Google Chrome => 8GB
 
 **Note:**
-You will need a minimum of 16GB (e.g, to stay consistent with the example value above), in your upload_tmp_dir.
-Normally this points to /tmp. If your /tmp has not enough space,
-you can change the value of upload_tmp_dir in your php.ini
+You will need a minimum of 16GB (e.g, to stay consistent with the example value 
+above), in your upload_tmp_dir. Normally this points to /tmp. If your /tmp has 
+not enough space, you can change the value of upload_tmp_dir in your php.ini
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-doc.git



More information about the Pkg-owncloud-commits mailing list