• Resolved ehjay

    (@ehjay)


    Just a question on the Add Media portion of writing new posts/pages.

    I have changed my upload_max_filesize to 100M in my php.ini, yet I am still getting the error “This file is too big. Your php.ini upload_max_filesize is 2M”

    What else do I need to do?

    Thanks,
    Andrew.

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter ehjay

    (@ehjay)

    Anyone have any ideas?

    plimoth

    (@plimoth)

    I am having the same issue. I have changed my upload_max_filesize to a variety of sizes from 100 to 1000 MB and still receive the same message.

    mjrielly

    (@mjrielly)

    At least you *have* the Add Media buttons. Mine mysteriously disappeared!

    darkpress

    (@darkpress)

    Copy php.ini to the directory where you need the value changed, otherwise it only works in root.

    In your case, you need to copy it to wp-content. Should fix the problem.

    thelazygeisha

    (@thelazygeisha)

    @ehjay

    You need to talk to your host and make sure you have permission to modify php.ini

    Some hosts may let you look, but not touch – and may have rules about modifying those settings which could impact any kind of shared host environment.

    iMac

    (@imac)

    I found that I had to change Max_Post_Size in the php.ini file as well in order to upload large media files.

    Thread Starter ehjay

    (@ehjay)

    I’ve changed it, copied it to other folders and still no luck. I am able to change it through my host’s editing tools and I tried changing it through notepad.

    I had to change both the max upload, and the max post size.

    Thread Starter ehjay

    (@ehjay)

    After talking with my host, they found an issue within the php.ini and things are now working!

    what was the issue, ehjay? and who was your host?

    I was having the same issue, I followed the instructions on this post, and it fixed everything.

    in short:
    1. Change your max post and max file size in your php.ini file
    2. Copy/duplicate the php.ini file that sits in your WordPress install’s root folder.
    3. Move the copy to wp-admin
    4. Rename it back to php.ini
    5. Save

    FINALLY my flash uploader works! php.ini in the wp-admin directory (and in the wp-content for kicks)

    You guys rock

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Add Media (upload_max_filesize)’ is closed to new replies.