It seems that by default, most WordPress installations have a PHP max upload size limit of 2MB, and mine was no exception. After viewing several solutions via a Google search I was no closer to finding how or where to make a change to increase my limit.
I've tried creating a file called php.ini, php5.ini and putting in these settings and placing the file in the root directory.
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 300
I tried editing the htaccess file with similar code.
php_value upload_max_filesize 64M
php_value post_max_size 64M
php_value max_execution_time 300
php_value max_input_time 300
Both of those methods, which I found at wpbeginner.com didn't work for me.
I have control over my web server's back end using WHM by Cpanel, but I don't mess around in there except for a few things with which I know what I am doing. I sent in a support request asking about where to find a place to edit the PHP upload limit to my hosting provider, Hard Drive Hotel (great people working there if you need a host). They gave me the answer right away and that was to go to the PHP Configuration Editor, within the Cpanel installation.
Several things need to be adjusted before you're able to successfully increase your PHP upload size.
First you need to increase the memory_limit. I set mine to 64MB which should be plenty.
Next is to change the max_upload_filesize. I set mine to 32MB which for everything I need should be just enough.
But that's not all. You need to switch to advanced mode in the PHP Configuration Editor to update one more thing before your new maximum upload size for PHP will work.
Once you're in advanced mode you need to look for post_max_size and change that. I set mine to 32MB.
With the help of my hosting provider and this php.net article I learned what I needed to do with my server and Cpanel installation to increase the max PHP upload size from 2MB to my desired 32MB.
Now you can see right in WordPress's media upload page that my limit now says 32MB. I've already uploaded about a 22MB file and it worked great!
I hope this was a helpful thing for you and are able to adjust your PHP and WordPress settings successfully. Are you looking for a web hosting provider? I recommend Hard Drive Hotel as your choice. I've been with them since 2009 and they're fantastic. They have great support and take care of any issues in a timely manner.
Download the pdf version with pictures here.