Support

Home Forums Event Espresso Premium Recommended php settings

Recommended php settings

Posted: March 15, 2019 at 12:49 am


ARAGATO

March 15, 2019 at 12:49 am

Just trying to figure out how to optimally setup my infrastructure for EE4. Are there any recommendations regarding php memory_limit for EE4? I assume EE4 is the “heaviest” script on my WP installation and therefor should orientate myself on the memory limit for it.

Any experiences or hard facts about the amount of memory limit?


Tony

  • Support Staff

March 15, 2019 at 4:00 am

Hi there,

The hard fact on memory limits is the value is totally dependent on your site. We can’t give you a value to use and say ‘EE will always run on XXMB’ because that’s simply not how it works.

Plugins, themes, traffic, etc all play a part in the amount of memory you need.

My recommendation is to start with at least 96MB and increase as needed. If you start getting memory exhausted errors, you need more memory and the thing with memory is more is always better, so if you have more available make use of it and if you don’t, monitor the site to see if you need to move to a package with more available.


ARAGATO

March 15, 2019 at 4:10 am

Ok, so giving it way more than it needs is not detrimental? Better too much than too little.


Tony

  • Support Staff

March 15, 2019 at 4:38 am

The PHP memory limit, is a limit rather than an allocation, it’s the amount of memory your server will allow a single PHP to use. So if you set a PHP limit of 100MB, then have 5 scripts all simultaneously pulling ~100MB each (totalling 500MB), that’s not going to trip the memory limit as each stript is under the limit.

You shouldn’t need really high values and the downside of setting really high values is you could consume all of the available memory on the server if you have ‘leaky’ scripts… you host isn’t going to take kindly to that, especially on a shared server.


ARAGATO

March 15, 2019 at 4:41 am

Great, thanks. Solved.

The support post ‘Recommended php settings’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso