Nextcloud on all-inkl.com: PHP memory limit

Updating Nextcloud installs a fresh .htaccess file. This can lead to an error message in the Administration/Overview page: “The PHP memory limit is below the recommended value of 512MB.”. To resolve the issue, add the following to the bottom of your .htaccess file:

php_value memory_limit 512M

Don’t forget to update the .htaccess after the next Nextcloud update!

Update: for php >= 8 you need the following in your .user.ini file:

memory_limit=512M