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 [2012-02-08 15:38] – [FCGI Users] 212.234.218.50faq:uploadsize [2023-02-28 23:14] (current) Aleksandr
Line 22: Line 22:
  
 After modifying the global ''php.ini'' you will need to restart the webserver to have changes take effect. After modifying the global ''php.ini'' you will need to restart the webserver to have changes take effect.
 +
 +===== Apache Users =====
 +
 +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)
 +  
  
 ===== Suhosin Users ===== ===== Suhosin Users =====
Line 34: Line 41:
  
 An updated default FastCGI restriction, which limited the maximum body size of a HTTP request results in internal server errors. You may set new values in your apache, i.e. An updated default FastCGI restriction, which limited the maximum body size of a HTTP request results in internal server errors. You may set new values in your apache, i.e.
-7777+
 <code> <code>
 <IfModule mod_fcgid.c> <IfModule mod_fcgid.c>
Line 43: 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.1328711913.txt.gz · Last modified: 2012-02-08 15:38 by 212.234.218.50

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