From 061d860c0e711c3b4e9e08b2e67b34a4c33a1156 Mon Sep 17 00:00:00 2001 From: J0WI Date: Fri, 19 Feb 2021 13:57:58 +0000 Subject: Implement essential php.ini configuration via ENV (#1379) Signed-off-by: J0WI Co-Authored-By: Alexander Sosna Co-Authored-By: =?UTF-8?q?Alexander=20Gr=C3=BC=C3=9Fung?= Co-authored-by: Alexander Sosna Co-authored-by: =?UTF-8?q?Alexander=20Gr=C3=BC=C3=9Fung?= --- README.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index 76d91af4..a346e23f 100644 --- a/README.md +++ b/README.md @@ -182,6 +182,10 @@ To use an external OpenStack Swift object store as primary storage, set the foll Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/primary_storage.html#openstack-swift) for more information. +To customize other PHP limits you can simply change the following variables: +- `PHP_INI_MEMORY_LIMIT` (default `512M`) This sets the maximum amount of memory in bytes that a script is allowed to allocate. This is meant to help prevent poorly written scripts from eating up all available memory but it can prevent normal operation if set too tight. +- `PHP_UPLOAD_LIMIT` (default `512M`) This sets the upload limit (`post_max_size` and `upload_max_filesize`) for big files. Note that you may have to change other limits depending on your client, webserver or operating system. Check the [Nextcloud documentation](https://docs.nextcloud.com/server/latest/admin_manual/configuration_files/big_file_upload_configuration.html) for more information. + ## Using the apache image behind a reverse proxy and auto configure server host and protocol -- cgit v1.2.3