Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
PHP Fatal error
« previous
next »
Print
Pages: [
1
]
Author
Topic: PHP Fatal error (Read 2333 times)
jorgevisentini
Jr. Member
Posts: 75
Karma: 6
PHP Fatal error
«
on:
June 24, 2021, 09:54:26 pm »
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!!
Logged
Fright
Hero Member
Posts: 1777
Karma: 164
Re: PHP Fatal error
«
Reply #1 on:
June 25, 2021, 06:57:59 pm »
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
Logged
jorgevisentini
Jr. Member
Posts: 75
Karma: 6
Re: PHP Fatal error
«
Reply #2 on:
June 25, 2021, 08:30:54 pm »
Oh thank you man.
It worked for me
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.1 Legacy Series
»
PHP Fatal error