WordPress relies on your PHP configuration, so if PHP isn’t configured to allow uploads of that size, WordPress will throw an error.
You’ll want to modify your PHP’s
php.ini file and change:
The defaults are 2MB and 8MB, so we can adjust those to something higher for your needs. I’d set them as:
upload_max_size = 64M
post_max_size = 96M
If you’re using NGINX instead of Apache, there’s a variable in NGINX’s main configuration file that you may also need to change as it also limits the size of uploads, that’d be:
You’d need to define that and set it to 64M as well.
You’d then restart Apache, or restart both NGINX and PHP-FPM. It just depends on which you’re using.