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.
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.
mjrielly
Member
Posted 3 years ago #
At least you *have* the Add Media buttons. Mine mysteriously disappeared!
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.
@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.
I found that I had to change Max_Post_Size in the php.ini file as well in order to upload large media files.
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.
After talking with my host, they found an issue within the php.ini and things are now working!
motherduce
Member
Posted 3 years ago #
what was the issue, ehjay? and who was your host?
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
FINALLY my flash uploader works! php.ini in the wp-admin directory (and in the wp-content for kicks)
You guys rock