feature: Added support for setting php memory_limit in config.php (#7704)

This commit is contained in:
Neil Lathwood
2017-11-14 14:17:01 +00:00
committed by Tony Murray
parent 29fc07f018
commit 8e61c6394a
3 changed files with 12 additions and 1 deletions

View File

@@ -39,6 +39,14 @@ $config['db_port'] = NULL;
$config['db_socket'] = '/run/mysqld/mysqld.sock';
```
### Core
#### PHP Settings
You can change the memory limits for php within `config.php`. The value is in Megabytes and should just be an int value:
`$config['php_memory_limit'] = 128;`
### Programs
A lot of these are self explanatory so no further information may be provided. Any extensions that have dedicated

View File

@@ -85,7 +85,7 @@ We do indeed, you can find access to the demo [here](https://demo.librenms.org)
The first thing to do is to add /debug=yes/ to the end of the URI (I.e /devices/debug=yes/).
If the page you are trying to load has a substantial amount of data in it then it could be that the php memory limit needs to be increased in php.ini and then your web service reloaded.
If the page you are trying to load has a substantial amount of data in it then it could be that the php memory limit needs to be increased in [config.php](Configuration.md#core).
#### <a name="faq10"> Why do I not see any graphs?</a>