Description
Summary (*)
I'd like to open a PR to avoid this issue, and curious if it will be accepted before writing.
The files .htaccess
and .htaccess.sample
both set php_value memory_limit 756M
.
This is below what Magento's install guide suggests (2048M):
As I understand it, Composer does some magic to raise or ignore the memory limit so its operations can complete installing modules.
This does not apply when Magento is serving requests, and keeping 756M fails on a simple user flow:
- Load the home page (works)
- Click "create account" (works)
- Submit the form (fails, out of memory)
I have limited system admin experience, and don't know the implications this change creates. This is a bad developer experience though, and it seems obvious that the recommended default memory limit should actually be used in default config files.
Proposed solution
Change the memory limit in these files to 2048M:
- .htaccess
- .htaccess.sample
This will reflect the documentation, and avoid a bad first experience as a developer.