The file upload limit in WordPress: how much and where to change it
State the size of the files you need to upload — the tool works out a consistent set of values and shows which method will work on your particular server type. Everything is computed in the browser; nothing is sent anywhere.
phpinfo(), the Server API line: Apache 2.0 Handler = mod_php, FPM/FastCGI = PHP-FPM, LiteSpeed = LSAPI.
| Directive | Why exactly this value | Value |
|---|
The calculation runs in your browser — no data about the server is sent anywhere.
Why changing upload_max_filesize alone is almost never enough
The upload size is limited by at least four independent values, and the smallest of them wins. upload_max_filesize — the size of a single file. post_max_size — the size of the whole POST request. It must be larger than upload_max_filesize, otherwise the file is cut off before the first limit is even checked. memory_limit — must fit the entire request; for WordPress, 256M is the minimum. client_max_body_size — the nginx limit. It is the one most often forgotten: PHP already allows everything, but nginx returns 413 Request Entity Too Large. The method is a separate trap. php_value directives in .htaccess work ONLY when PHP runs as an Apache module (mod_php). On modern hosting PHP almost always runs as FPM, and then such a line is either silently ignored or produces a 500 Internal Server Error. That is exactly why the tool asks for the server type and shows which block will actually help you.
