PHP upload limit demo

This page reads its limits live from PHP. Change the values in cPanel's PHP settings, refresh, and watch them update.

2 MB
Largest file this account can accept right now — the smaller of upload_max_filesize and post_max_size.
upload_max_filesize 2M — max size of a single uploaded file
post_max_size 8M — max size of the whole POST request (must be ≥ upload limit)
max_file_uploads 20 — files allowed per request
memory_limit 128M
PHP version 8.3.33 (litespeed)

Test an upload

Pick a file and see whether it passes the current limits. Nothing is saved to the server.

Tip for the demo: set upload_max_filesize low (say 2M), try a bigger file to show the rejection, then raise it in cPanel → MultiPHP INI Editor and repeat the same upload to show it succeed. If a file is bigger than post_max_size, PHP throws away the entire request — this page detects that case too.