Hello, can someone share with me which value is actually used by Mautic?
I have memory_limit value read as 2048M in Local and 128M on Master. There is no recommendation on increasing memory limit on the System Info tab. I assume having this local value as 2048M is good to go.
But then, when i let the cron job fire the cache clearing job, it hits this error.
PHP Error: Allowed memory size of <number> bytes exhausted (tried to allocate <number> bytes) - in file <filepath> - at line <number>
I would sugest to clear the cache with rm -rf var/cache/dev/* var/cache/prod/* as using the command cache:clear can sometimes lead to unnecessary troubles.
I do not think you will have the above error if yoyu choose approach suggested above.
Hey @mzagmajster , thanks very much for this. The folder is correct.
somehow, i can’t fire this command. Perhaps my web server does not support rm command.
I verified the list of available bin command that i can use are below. Do you have any suggestion?
Hmm… It does not let me issue this command. May be an access restriction. I will check with the server admin
I have one more issue with local vs master value. My zend.assertions remains “1” in both Master and Local. i have set zend.assertions = -1 inside custom user.ini and custom php.ini inside /saidhasyim.com/email/ folder.
But, sometimes my Loaded Configuration File points to /usr/php80/etc/php.ini (this php.ini is the server config that is beyond my control) and sometimes it points to my local custom config /home/sites/18b/5/5d5bde27d1/public_html/saidhasyim.com/email/php.ini
Do you know whether this is the correct behavior? or is there a way to force it to load my custom config?