Trouble finding where memory_limit is set #218
-
Thanks for making this great app. Continuing my long standing horrible relationship with the php.ini file... PHPMON indicates the Memory limit is 512MB. If I use PHPMON -> Locate PHP Configuration File (php.ini) it opens If I run In the same folder there's also a Any more info you need let me know! So I'm still puzzled where the 512 comes from, and how I can increase it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @joostvanhoof, The default Homebrew install of PHP 8.1 (and other PHP versions as well) ship with the memory limits file at: In general, you can find out what .ini files are being used by running:
which will output:
You should be able to adjust the memory limit and PHP Monitor should immediately reflect the new limits. The last .ini file loaded will take precedence I believe, which is why you weren't seeing your memory limit changes apply. Hope that helps! |
Beta Was this translation helpful? Give feedback.
Hi @joostvanhoof,
The default Homebrew install of PHP 8.1 (and other PHP versions as well) ship with the memory limits file at:
/opt/homebrew/etc/php/8.1/conf.d/php-memory-limits.ini
.In general, you can find out what .ini files are being used by running:
which will output:
You shou…