Mismatched "post_max_size" and "upload_max_filesize" values

Username (e.g. epiz_XXX) or Website URL


Error Message

The settings for post_max_size and upload_max_filesize are not the same, this could cause some problems when trying to upload files.

Other Information

Checking site health today, and above notice appeared. Does that because I had a mistake on these two? Thankies :grin:

I think no mistakes here. It just what it was. (I may think if it is because of new PHP upgrade)

Good luck and be safe !!! :slightly_smiling_face:

Ah okay. What should i exclude from tool manager to hide it? :confused:

It’s perfectly fine for the post_max_size and upload_max_filesize limits to be different. One affects the amount of data which can be added in the $_POST data, the other controls how much data can be passed to the $_FILES data.

Googling the error message, the first result I see is this one:

In it, they say that the post_max_size should be equal or greater than upload_max_filesize. This is the case on our servers too (10 MB upload size, 20 MB post size). So this is all good.

If Site Health says this is not OK, that’s a problem with the Site Health plugin. The support thread also concludes this.


Thanks! :smiley:
Unchecking “File uploads” in Tool Manager hides it btw :slight_smile:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.