kmanrox
Member
Posted 3 years ago #
I'm trying to add a 12MB .wmv video, i get this error:
"This file is too big. Your php.ini upload_max_filesize is 50M."
Is it the type of video its having a problem with? If so why cant WP identify the actual problem. Is this a known bug? How can we fix this?
tpimental
Member
Posted 3 years ago #
I'm having the same problem. Trying to upload a 9MB file and my max_filesize is 20MB. What gives?
upload_max_filesize is not the only thing controlling the filesize you can upload. What is the post_max_size set to?
Unfortunately, that error message only shows the upload_max_filesize, not the post_max_size as well.
Known issue: http://trac.wordpress.org/ticket/6735
tpimental
Member
Posted 3 years ago #
Ok, I think I fixed this. I modified the following fields in my php.ini file and made sure I moved a copy of the file to the /wp-admin/ directory.
post_max_size = 20M
memory_limit = 20M
upload_max_filesize = 20M
File uploaded without a hitch.
kservik
Member
Posted 3 years ago #
Where do you put the php.ini file?
kservik
Member
Posted 3 years ago #
In the level under /public_html/ it seems :)