The current PHP memory limit is below the recommended value of 512MB?

Nextcloud is an open source, self-hosted file sync and share and communication app platform. Access & sync your files, contacts, calendars & communicate and collaborate across your devices. You decide what happens with your data, where it is and who can access it!

Moderator: Lillian.W@AST

Post Reply
wde
Posts: 224
youtube meble na wymiar Warszawa
Joined: Sun Jun 16, 2013 5:00 pm

The current PHP memory limit is below the recommended value of 512MB?

Post by wde »

Whenever I update nextcloud I get the warning "The current PHP memory limit is below the recommended value of 512MB"
Everytime it takes me ages to find out the location of the php.ini file that I need to update, so for my reference and anyone elses, for php7 it can be found here:

/volume1/.@plugins/AppCentral/php7/etc/php.ini
My NAS: Flashtor 6 FS6706T ADM: 4.2.7.RRD1 Router: Technicolor CGM4331COM (XB7)
DrMartinus
Posts: 34
Joined: Thu Jun 29, 2017 5:07 pm

Re: The current PHP memory limit is below the recommended value of 512MB?

Post by DrMartinus »

Thank you for this information. Where do you put the correct values? I tried to edit it manually, but I am afraid I did it the wrong way, because now it shows 0 Memory cache.
Asustor AS6104T
wde
Posts: 224
Joined: Sun Jun 16, 2013 5:00 pm

Re: The current PHP memory limit is below the recommended value of 512MB?

Post by wde »

I believe I just updated the code where I found it. I've copied the code, plus some above and below to help if you've lost the position. The note in brackets is mine.
From: /volume1/.@plugins/AppCentral/php7/etc/php.ini
Using: winSCP on Windows10

Code: Select all

; How many GET/POST/COOKIE input variables may be accepted
;max_input_vars = 1000

; Maximum amount of memory a script may consume (128MB changed to 512MB)
; http://php.net/memory-limit
memory_limit = 512M

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
My NAS: Flashtor 6 FS6706T ADM: 4.2.7.RRD1 Router: Technicolor CGM4331COM (XB7)
DrMartinus
Posts: 34
Joined: Thu Jun 29, 2017 5:07 pm

Re: The current PHP memory limit is below the recommended value of 512MB?

Post by DrMartinus »

Hi, thanks for the details! I changed the file, but now Nextcloud reports that there has been no limit set. phpinfo() reports 512M. Strange.
Asustor AS6104T
Post Reply

Return to “Nextcloud”