Increase WP Upload Size Max
So I was having a problem with uploading a large video to a wordpress site, and I came across this site:
And let me share my experience and what worked, as I did finally get it to work. Like in all things I started with number 1 of the three ways. Which was to adjust the theme functions file. It didn’t work.
So I moved to part 2… editing the PHP.INI file. And well lets just say it wasted about 16 hours and it didn’t work.
3. htaccess Method
Some people have tried using the htaccess method where by modifying the .htaccess file in the root directory, you can increase the maximum upload size in WordPress. Open or create the .htaccess file in the root folder and add the following code:
1 php_value upload_max_filesize 64M
2 php_value post_max_size 64M
3 php_value max_execution_time 300
4 php_value max_input_time 300
Worked! Of course I adjusted the size to 6400M (roughly 6 Gigbabytes).
So if you’re having the same problem that I did, try #3, then #1 and if you really need to try #2.
I will say, the solution doesn’t mention where to place the code. But, I placed the code at the end of the .htaccess file, not in the #wordpress section and it worked.