Upload failures, such as "HTTP error", "exceeds the maximum upload size" or timeouts, are nearly always PHP limits or file permissions.
What to check
- File too large: raise
upload_max_filesizeandpost_max_size(Changing PHP settings such as memory limit and upload size). The defaults are 50M and 55M. Keeppost_max_sizelarger than the upload size. - Timeouts: raise
max_execution_time(default 90 seconds), or upload big files with File Manager or FTP (Uploading files with File Manager or FTP) instead of a web form. - Permission problems: folders
755, files644. The uploads folder must be writable by your account. - Out of space: check disk usage on the cPanel home page.
- Cloudflare: uploads through the free proxy are limited to 100 MB.
In WordPress a generic "HTTP error" on images is often a memory limit. Raise memory_limit to 256M.
If it doesn't work
- A 403 or 406 at the moment of upload: see When ModSecurity blocks a legitimate request.
- Large imports in phpMyAdmin: see Creating databases and using phpMyAdmin.
- Open a ticket (Opening a support ticket that gets answered quickly) with the file size, the page you upload from and the exact message.