Changing memory_limit in php.ini does not apply to nextcloud

I changed the memory_limit in /etc/php/7.2/apace2/php.ini, but it will not be reflected
It was the same even after rebuilding
I really want to change memory limitation, but what should I do?

Nextcloud version (
Operating system and version (Ubuntu 18.04.1):
Apache or nginx version (2.4.29):
PHP version (7.2.10):

Have you restarted apache? (or was that what you meant with ‘rebuilding’)

Are you perhaps running php-fpm instead of mod_php?

Restarting apache will not take effect
I do not use php-fpm
Rebuilt rebuilt only nextcloud
It is reflected on phpinfo but it is not reflected when I look at the monitoring page of nextcloud

Limits are also defined in .htaccess, take a look there.

On a sidenote, running php-fpm is recommended (it performs better than mod_php).

I changed Allowoverride All to Allowoverride None
Thank you very much!

1 Like