hosting-handbook icon indicating copy to clipboard operation
hosting-handbook copied to clipboard

Minimum PHP Memory limit requirement

Open Crixu opened this issue 4 years ago • 5 comments

Neither on https://wordpress.org/about/requirements/ nor in the handbook we talk about the minimum PHP memory limit to run WordPress nor we give a recommendation. IMHO we as the hosting team should at least give a recommendation other hosts can rely on.

Crixu avatar Jun 22 '20 12:06 Crixu

It’s talked about in here, although I don’t know if it should be elsewhere, too: https://make.wordpress.org/hosting/handbook/handbook/performance/#memory-limits

getsource avatar Jun 22 '20 12:06 getsource

Which team should be responsible for this recommendation? The minimum requirements should be measured with a vanilla WordPress installation without additional plugins and themes?

Crixu avatar Jun 24 '20 08:06 Crixu

Great question!

I think that the recommendation is up to this team, but let's use WP's limits as the minimums?

getsource avatar Jun 24 '20 09:06 getsource

I think we are not doing any recommendation, but explaining how to change the option if needed.

We should tell what are the actual default memory config for both of the options and then, explain that these are the numbers for an installation without a lot of calculations, and that you should change it if have problems, limited to the server and PHP limits.

javiercasares avatar Jun 29 '20 07:06 javiercasares

Some information about https://core.trac.wordpress.org/browser/trunk/wp-includes/default-constants.php?rev=23529

javiercasares avatar Jun 02 '22 13:06 javiercasares