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
The current PHP memory limit is below the recommended value of 512MB?
Moderator: Lillian.W@AST
-
- 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?
My NAS: Flashtor 6 FS6706T ADM: 4.3.0.RSB1 Router: Technicolor CGM4331COM (XB7)
-
- Posts: 34
- Joined: Thu Jun 29, 2017 5:07 pm
Re: The current PHP memory limit is below the recommended value of 512MB?
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
-
- Posts: 224
- Joined: Sun Jun 16, 2013 5:00 pm
Re: The current PHP memory limit is below the recommended value of 512MB?
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
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.3.0.RSB1 Router: Technicolor CGM4331COM (XB7)
-
- Posts: 34
- Joined: Thu Jun 29, 2017 5:07 pm
Re: The current PHP memory limit is below the recommended value of 512MB?
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