IT-Wissen/atom/atom-settings.md
2024-10-12 22:44:17 +02:00

498 B
Executable File

Table of Contents

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;