“This file is too big. Your php.ini upload_max_filesize is 2M”.

My php.ini for upload_max_filesize is 32M. When I try to upload a video, I get the message “This file is too big. Your php.ini upload_max_filesize is 2M”.

The error WordPress reported is not true. My max size in php.ini is 32M and the video I’m trying to upload is 5M. Like I said, I had no problem with 2.6, but with 2.7 I can’t upload videos without getting this erroneous error. Is anyone else having this problem or know what the solution may be?

I had already tweaked my php.ini (the php.ini that comes with hostmonster/bluehost hosting) to up the limits, but it wasn’t working.

Then I copied my php.ini from my root directory and put it in the wp-admin folder. I logged out of the wp admin panel, cleared my browser cache, and logged back in. Now everything works with higher limit uploads.

Leave a Reply

Your email address will not be published. Required fields are marked *