This repository was archived by the owner on Nov 2, 2024. It is now read-only.
-
Just discovered this repo and tried right away the NextcloudPi which was super easy to install and the image already includes SMB support not like the Docker one. Inside the NextcloudPi I`m getting this msg : "The PHP memory limit is below the recommended value of 512MB" any suggestion to fix it? |
Beta Was this translation helpful? Give feedback.
Answered by
tteck
Apr 18, 2023
Replies: 1 comment 1 reply
-
changed the following in /etc/php/8.1/CLI and FPM upload_max_filesize=1G restart |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in
/etc/php/8.1/cli/php.ini
the default ismemory_limit = -1
which means unlimitedHowever, it is generally a good practice to set a reasonable memory limit for your scripts to avoid issues with excessive memory usage.
in
/etc/php/8.1/fpm/php.ini
the default ismemory_limit = 128M
which needs to be increased tomemory_limit = 512M
This command sets both to
memory_limit = 512M
Will be adding to the install script