• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Question Correlation of PHP settings "memory_limit", "post_max_size" and "upload_max_filesize"

King555

Regular Pleskian
I operate a PHP based forum in which I give the users the possibility to upload files with 1 GB in size.

That's why I set the values "memory_limit", "post_max_size" and "upload_max_filesize" to 1024M each.

But now I have read that "memory_limit" should be larger than "post_max_size" and "post_max_size" larger than "upload_max_filesize".

The big question is: How much larger? 1 MB? 25%? Doubled value? That's an information I could not find.

But I have to say that it seems to work with my current values.
 
Back
Top