WordPress Media File Size Error

by admin on May 1, 2009

If you are running WordPress on a Windows server and are getting the Media File Size error (the media’s file size is too large to upload), here’s how to set it higher:

  1. Create a file named info.php, or anything that has the .php extension, and put the following line in it:

<?php phpinfo(); ?>

  1. Save/upload it to a folder on your WordPress site and then navigate to it using your browser (http://yourdomain/info.php). You’ll see a file that looks like this:
  2. wordpressphp-file2

  3. Find the location of the Configuration file (php.ini).
  4. Open that php.ini file, and change the settings to make the new maximum file size to whatever you want. Change both the upload and post variables:

[PHP] {header, obligatory}
upload_max_filesize = 20M
post_max_size = 100M

Related Posts Plugin for WordPress, Blogger...
Want the latest posts from my blog? Subscribe by email
Enter your email address:
Post comment as twitter logo facebook logo
Sort: Newest | Oldest

Subscribe without commenting