What is the "correct" way to adjust the php max memory used by lighttp andp php?

Started by banym, September 13, 2019, 09:33:24 AM

Previous topic - Next topic
Hi,

some plugins request more memory usage on one of my boxes.
Is there a "correct" way to adjust the max memory value or what php.ini file would be the correct one?

If the value is adjusted is it a persistent change or will it be overritten with system updates?

Regards,

Dominik
Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de

Hi Dominik,

System updates will overwrite it. If anything it should be discussed on GitHub why the limit needs to change (beyond the explanation "some plugins").

Since i386 goes away in 20.1 we have a good window of opportunity at the moment.


Cheers,
Franco
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT

Hi Franco,

it is related to https://github.com/opnsense/plugins/issues/1482

But first I want to some testing, what php.ini would be the correct one to change for testing?

Twitter: banym
Mastodon: banym@bsd.network
Blog: https://www.banym.de


PS: I guess a bump to 512 MB is easily possible.
"AI has absolutely reduced the cost of creating technical debt." -- ChatGPT