Powered by
PHP configuration recommendations
# ❓questions
m
millpreet
03/28/2023, 3:09 AM
Any advice on a baseline ram and execution time limit I should set for an ecommerce store?
i
ifox
03/28/2023, 10:49 AM
this depends on your traffic and the capacity of the server you're hosting your project on
ifox
03/28/2023, 10:53 AM
30s is usually the default execution time limit (that's what Laravel forge defaults fwiw)
ifox
03/28/2023, 10:54 AM
regarding ram, it really also depends on how efficient your code is
ifox
03/28/2023, 10:55 AM
256/512 is usually good for most use cases, PHP isn't really hungry for memory, traffic will eat your CPU more than anything
m
millpreet
04/01/2023, 4:06 AM
Sounds great, makes sense. Default for ram seemed to be 128mb I think from what I saw.
millpreet
04/01/2023, 4:07 AM
But I guess I’ll have to play, plus optimizing code will play into it likely
Previous
Next