Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2016-09-13 15:42:52 +0300
committerJoas Schilling <coding@schilljs.com>2016-09-13 17:50:36 +0300
commita3c8534b7b0a9446cf6fdb0a5a3cb7e5b69745de (patch)
tree59cdbadeb0928892b79d58a7bd73c2b1bbba538a /.htaccess
parent0543661064b00c27c2e9a1780acf34c8a364f6ce (diff)
Make sure memory limit is > post size and upload filesize
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess8
1 files changed, 4 insertions, 4 deletions
diff --git a/.htaccess b/.htaccess
index 5b864643565..206d2be33bc 100644
--- a/.htaccess
+++ b/.htaccess
@@ -26,8 +26,8 @@
</FilesMatch>
</IfModule>
<IfModule mod_php5.c>
- php_value upload_max_filesize 513M
- php_value post_max_size 513M
+ php_value upload_max_filesize 511M
+ php_value post_max_size 511M
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value always_populate_raw_post_data -1
@@ -38,8 +38,8 @@
</IfModule>
</IfModule>
<IfModule mod_php7.c>
- php_value upload_max_filesize 513M
- php_value post_max_size 513M
+ php_value upload_max_filesize 511M
+ php_value post_max_size 511M
php_value memory_limit 512M
php_value mbstring.func_overload 0
php_value default_charset 'UTF-8'