mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
feature: Added support for setting php memory_limit in config.php (#7704)
This commit is contained in:
committed by
Tony Murray
parent
29fc07f018
commit
8e61c6394a
@@ -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
|
||||
|
@@ -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>
|
||||
|
||||
|
Reference in New Issue
Block a user