Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 29.0.5): 30.0.0
Operating system and version (eg, Ubuntu 24.04): Ubuntu 20.04.6 LTS
Apache or nginx version (eg, Apache 2.4.25): 2.4.41
PHP version (eg, 8.3): 8.1
The issue you are facing:
I keep getting the error " * The PHP memory limit is below the recommended value of 512 MB.". I found several php.ini files:
/home/myserver/etc/php.ini
/home/myserver/etc/php7.4/php.ini
/home/myserver/etc/php8.1/php.ini
/etc/php/7.4/cgi/php.ini
/etc/php/7.4/cli/php.ini
/etc/php/7.4/fpm/php.ini
/etc/php/8.1/cgi/php.ini
/etc/php/8.1/cli/php.ini
/etc/php/8.1/fpm/php.ini
/etc/php/8.3/cgi/php.ini
/etc/php/8.3/cli/php.ini
/etc/php/8.3/fpm/php.ini
I have replaced in all those ini files the directive memory_limit with
memory_limit = 1024M
I have restarted php.fpm, apache2 and even rebooted my server several times, without result.
I created a phpinfo test in the home directory of my nextcloud installation. This tells me:
Loaded Configuration File /etc/php/8.1/fpm/php.ini
(which is one of the files mentioned above). Strangely enough, also my phpinfo gives me:
memory_limit 128M 128M
Unfortunately, I’m getting close to insanity, because the loaded php.ini file and all other php.ini files have been changed.
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Change memory_limit of php.ini
- Reboot
- See that nothing has changed, although the mentioned ini file is correctly changed
The output of your Nextcloud log in Admin > Logging:
PASTE HERE
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
PASTE HERE
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
PASTE HERE