Uploading larger files.
THE SYMPTOM
An upload fails, or the interface states a maximum smaller than your file.
THE TWO SETTINGS
upload_max_filesize: the largest single file post_max_size: the largest total submission
Post max size must be larger than upload max filesize.
If it is not, uploads fail with confusing errors.
HOW TO CHANGE THEM
cPanel, PHP selector, options.
Change both.
ALSO CONSIDER
Execution time. A large upload on a slow connection may exceed it.
WHAT ELSE LIMITS UPLOADS
Your application may have its own limit, separate from PHP.
WordPress media library shows the effective maximum.
FOR VERY LARGE FILES
Consider whether hosting is the right place for them.
Large video in particular is usually better served elsewhere.
WHAT TO CHECK AFTER CHANGING
The interface reports the new maximum.
If it does not, the change did not apply where you thought.