[resolved] "Add Video" says file size is too big, when it's not, 2.5 (6 posts)

  1. kmanrox
    Posted 8 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?

  2. tpimental
    Posted 8 years ago #

    I'm having the same problem. Trying to upload a 9MB file and my max_filesize is 20MB. What gives?

  3. 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

  4. tpimental
    Posted 8 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.

  5. kservik
    Posted 8 years ago #

    Where do you put the php.ini file?

  6. kservik
    Posted 8 years ago #

    In the level under /public_html/ it seems :)

Topic Closed

This topic has been closed to new replies.

About this Topic