DokuWiki

It's better when it's simple

User Tools

Site Tools


faq:uploadsize

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq:uploadsize [2014-03-05 15:35] 193.132.159.169faq:uploadsize [2023-02-28 23:14] (current) Aleksandr
Line 1: Line 1:
-====== Maximumm Upload File Size ======+====== Maximum Upload File Size ======
  
 :?: Is there an easy way to increase the maximum file upload size (currently 2 megabytes)? :?: Is there an easy way to increase the maximum file upload size (currently 2 megabytes)?
Line 27: Line 27:
 Set the following parameter to a reasonable value in your php.ini if you get "Upload Failed" errors after setting ''upload_max_filesize'' and ''post_max_size'' : Set the following parameter to a reasonable value in your php.ini if you get "Upload Failed" errors after setting ''upload_max_filesize'' and ''post_max_size'' :
  
- memory_limit = 256M     ; Maximum amount of memory a script may consume (default: 16MB)+  memory_limit = 256M     ; Maximum amount of memory a script may consume (default: 16MB)
      
  
Line 50: Line 50:
  
 for 25 MB and 60 sec timeout. for 25 MB and 60 sec timeout.
 +
 +===== nginx Users =====
 +
 +nginx has its own limit for the maximum request size. You want to increase it by adding the appropriate value in your ''nginx.conf'':
 +
 +<code>
 +client_max_body_size 25M;
 +</code>
 +
 +If you want to disable checking by nginx, set it to 0
 +<code>
 +client_max_body_size 0;
 +</code>
 +===== Known issues =====
 +
 +  * [[issue>1478|Media upload size limits effectless · Issue #1478]]
  
 ===== See Also ===== ===== See Also =====
faq/uploadsize.1394030129.txt.gz · Last modified: 2014-03-05 15:35 by 193.132.159.169

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki