…that always get you.
So, since I changed to a non-free webhost I’ve been doing a little housekeeping on the site (for example, moving WEBMs hosted elsewhere to the server).
I had a webm that was 6MB.
OK, let me check php_info…
upload_max_filesize 8M;
seems fine
Wordpress media uploader reports a maximum filesize of 2MB.
Fair enough, probably have it set on a custom php.ini or in .htaccess
So I start looking for a php.ini or .htaccess; no custom php.ini, .htaccess doesn’t have anything about file size…
Weird…
“Internet, save me!!”
Google problem, find something about theme functions.
“Hey, might as well try…”
Nothing.
Go back to php_info.
upload_max_filesize 8M
“ARGGGGGGGGHHHH. What the hell? Everything should be fine.”
Let me do what I should have done right at the start and look directly at php.ini
upload_max_filesize = 2M
What? Let me look again
upload_max_filesize = 2M
That’s not what php_info said!
OK…let’s do something…
upload_max_filesize = 8M
Save…
WordPress media uploader maximum filesize 8MB
Don’t ask me, I have no idea. I just know it’s solved.
So the lesson today is check your variables everywhere.