💾 Archived View for alaskalinuxuser.ddns.net › 2021-07-23_6.gmi captured on 2024-09-29 at 00:07:56. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
">
57w, https://alaskalinuxuser3.ddns.net/wp-content/uploads/2021/05/nc-
300x177.png 300w" sizes="(max-width: 757px) 100vw, 757px" />
I’ve really enjoyed running my own Nextcloud server. One of the big perks is
keeping my own data, well, to myself. The other big plus is that I’m learning
new things. While I’ve been in the tech world for a long time, I’ve been in my
own little corner of it, and branching out into home servers has really opened
up opportunities for me to learn more new things. And I just learned another
one of those new things today!
I like to check the dashboard of my Nextcloud to see what it’s own internal
diagnostics think of the installation. One of the warnings that has been
appearing over and over is this message about the PHP memory limit. It goes
like this:
The PHP memory limit is below the recommended value of 512MB.
So, I had no idea how to fix that, and I went on a small quest online. That
landed me at the NextCloud_help_forum,_where_another_user_asked_the_same
question_and_got_some_answers. A user named Dridhas had the answer I needed,
although for PHP 7.2 in his case, and 7.4 in mine:
128M\n# nano php.ini\n# systemctl restart apache2
With a quick edit of /etc/php/7.4/apache2/php.ini, I changed the value for
“memory_limit” to equal 512, and after a quick apache2 restart, the warning in
my Nextcloud dashboard was gone!
Linux – keep it simple.