Skip to content

Allowed memory size of [X] bytes exhausted #55778

Answered by AsmitNepali
AsmitNepali asked this question in Q&A
Discussion options

You must be logged in to vote

@Sophist-UK Thank you for your reply. I’ve figured out that in the testing environment, Laravel uses the .env.testing file, but when config:cache is run, it actually caches values from the default .env file instead. That seems to be the root of the issue.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@AsmitNepali
Comment options

Answer selected by AsmitNepali
@Sophist-UK
Comment options

@AsmitNepali
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants