]> source.dussan.org Git - nextcloud-server.git/commitdiff
Create .user.ini for PHP-FPM
authorOlivier Paroz <oparoz@users.noreply.github.com>
Wed, 10 Sep 2014 14:08:40 +0000 (16:08 +0200)
committerOlivier Paroz <oparoz@users.noreply.github.com>
Wed, 10 Sep 2014 14:08:40 +0000 (16:08 +0200)
PHP-FPM can't read .htaccess PHP settings unless a PECL extension is installed.
From version 5.3+ of PHP, settings can be set in .user.ini files

This is a .user.ini file mirroring what is included in the .htaccess file
TODO: Update the documentation if there are sections documenting how to change some PHP limits

.user.ini [new file with mode: 0644]

diff --git a/.user.ini b/.user.ini
new file mode 100644 (file)
index 0000000..9f3691e
--- /dev/null
+++ b/.user.ini
@@ -0,0 +1,4 @@
+upload_max_filesize=513M
+post_max_size=513M
+memory_limit=512M
+mbstring.func_overload=0