爱就爱了

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
查看: 6638|回复: 0

配置OwnCloud支持大文件

[复制链接]
发表于 2016-4-28 13:29:23 | 显示全部楼层 |阅读模式
配置OwnCloud支持大文件
2014年09月05日
Uploading big files > 512MB (as set by default)
It’s usefull to know limiting factors, that make it impossible to exceed the values given by the ownCloud-system:

Not outnumberable upload limits:

< 2GB on 32Bit OS-architecture
< 2GB with Server Version 4.5 or older
< 2GB with IE6 - IE8
< 4GB with IE9 - IE10
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”. This is important, because you possibly could not watch otherwise, whether the desired
changes take effect.
Enabling uploading big files&#182;
Note: The order of the following steps is important! If you swap steps or substeps described below, the settings may fail.

Go to the admin section in the ownCloud-WebUI and do the following:

Under “File handling” set the Maximum upload size to the desired value (e.g. 16GB)
Klick the “save”-Button
Open the php.ini - file

Under Debian or Suse and their derivates this file lies at /etc/php5/apache2/php.ini
On Windows, you can find this file within C:/Program Files (x86)/PHP/PHP.ini
Do the following:

Set the following three parameters inside th php.ini to the same value as choosen 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)
output_buffering = 16384 (e.g., to stay consistent with the example value above)
whereas the “output_buffering” has to be given in MegaBytes but as a plain figure (without size-units as ‘M’ or ‘G’)

These configurations have been prooven by test up to filesizes of 16 GigaBytes.

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

小黑屋|手机版|Archiver|平龙认个人分站 - 爱就爱了 ( 豫ICP备14029057号-2、4、5 )
豫公网安备 41010502002156号

GMT+8, 2024-3-29 05:47 , Processed in 0.035966 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表