atom
This commit is contained in:
parent
83228b0bb9
commit
6b096a1294
@ -2,6 +2,11 @@
|
||||
gitea: none
|
||||
include_toc: true
|
||||
---
|
||||
|
||||
[PHP Settings](atom-settings.md)
|
||||
|
||||
---
|
||||
|
||||
# AtoM CLI
|
||||
|
||||
https://www.accesstomemory.org/en/docs/2.8/admin-manual/maintenance/cli-tools/#maintenance-cli-tools
|
||||
|
||||
17
atom/atom-settings.md
Executable file
17
atom/atom-settings.md
Executable file
@ -0,0 +1,17 @@
|
||||
---
|
||||
gitea: none
|
||||
include_toc: true
|
||||
---
|
||||
# AtoM Settings
|
||||
|
||||
## PHP Settings
|
||||
|
||||
To increase memory_limit for specific part in code:
|
||||
- In `/etc/opt/remi/php72/php-fpm.d/atom.conf` change `php_admin_value[memory_limit] = 2048M` to `php_value[memory_limit] = 2048M`, so that It can be overridden
|
||||
- somewhere in the code, for example in a plugin, get and set it with:
|
||||
```
|
||||
echo ini_get('memory_limit');
|
||||
ini_set('memory_limit', '4096M');
|
||||
echo ini_get('memory_limit');
|
||||
exit;
|
||||
```
|
||||
Loading…
Reference in New Issue
Block a user