What are your settings for "upload_max_filesize" "post_max_size" "memory_limit" ?


Well-known member
Here's mine:
upload_max_filesize = 32M
post_max_size = 32M
memory_limit = 512M

(All declared/override on /libary/config.php)
php.ini are all default from CentminMod :)

My Forum Stat's:


Well-known member
You are allowing users to upload 32MB attachments, or POST requests up to 32MB. That is a security risk, as someone malicious could easily exhaust your servers resources by posting simultaneous large posts. The easiest way to calculate the proper POST size is by making a sum of of your max allowed attachment size (i.e. 1MB) and the number of characters allowed in a post (i.e. 10,000 = 10KB). Setting a value of 1MB is more than enough for post_max_size. I personally use these values into PHP-FPM pool assigned to forums:
php_admin_value[memory_limit] = 256M
php_admin_value[post_max_size] = 1M
php_admin_value[upload_max_filesize] = 1M
You have to define those values into your Nginx configuration also, PHP is not enough.