Category Archives: Wordpress

WordPress Max Upload Size 2MB??

What is this, a server for floppy disks? I have images I host larger than 2MB. I couldn’t figure out why modifying my site’s root php.ini wasn’t affecting the upload page the way it should.

I created a info.php file in the wp-admin folder and placed the following text in it

<?php

phpinfo();

?>

After navigating to the site I found the server was pointed at a different php.ini!
wordpressini

Alas! the file was in C:\Program Files (x86)\PHP\v5.4

I opened up the file in that directory and modified the fields to what is listed below:

post_max_size = 32M
upload_max_filesize = 32MB

After restarting IIS I was able to upload larger files.