Forums

[resolved] Add Media (upload_max_filesize) (14 posts)

  1. ehjay
    Member
    Posted 3 years ago #

    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.

  2. ehjay
    Member
    Posted 3 years ago #

    Anyone have any ideas?

  3. plimoth
    Member
    Posted 3 years ago #

    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.

  4. mjrielly
    Member
    Posted 3 years ago #

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

  5. Darkpress
    Member
    Posted 3 years ago #

    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.

  6. thelazygeisha
    Member
    Posted 3 years ago #

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

  7. iMac
    Member
    Posted 3 years ago #

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

  8. ehjay
    Member
    Posted 3 years ago #

    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.

  9. Shane
    Member
    Posted 3 years ago #

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

  10. ehjay
    Member
    Posted 3 years ago #

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

  11. motherduce
    Member
    Posted 3 years ago #

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

  12. inter mission
    Member
    Posted 3 years ago #

    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

  13. vetto
    Member
    Posted 3 years ago #

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

    You guys rock

  14. rblout
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.