PHP Fatal error

Started by jorgevisentini, June 24, 2021, 09:54:26 PM

Previous topic - Next topic
Hi all!

Is there any option to configure PHP parameters through the WEB interface or is there another way to make this adjustment?

I have the following error:
PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 119541760 bytes)

But if I change the /usr/local/etc/php.ini file in the cli, it doesn't work because it is generated by configd.

Thank you all!!


Hi
can try to change it in /usr/local/opnsense/service/templates/OPNsense/WebGui/php.ini
looks like @franco has already done it )
https://github.com/opnsense/core/commit/6d1b3ceaba90324afb9bb8a04a150250b4512c7b#diff-8ea9f70dc5eea4c345bfdd9fa60ebdb399dc163e1f832dbc2cad6d1c471315cc

Oh thank you man.

It worked for me ;D