WordPress – Increasing maximum upload size

By | March 21, 2011

<VirtualHost *:80>
DocumentRoot  “/blah/blah/blah”
ServerName    www.blahblahblah.net
ServerAlias   blahblahblah.net
ServerAdmin   webmaster@blahblahblah.net

CustomLog     logs/access/www.blahblahblah.net.log combined
ErrorLog      logs/error/www.blahblahblah.net.log

# if upload_max_filesize and post_max_size are NOT the same WordPress
# will set the maximum upload limit to the lower of the two values.
# This was the case with WordPress 3.1 on 21st March 2011
php_value      upload_max_filesize 25M
php_value      post_max_size  25M

# recommend up’ing the max_execution_time to the script doesn’t timeout
# before the upload is complete.
php_value      max_execution_time 800

# you may need to up the memory_limit, though I’ve never had to.
####php_value     memory_limit 256m

<Directory  “/blah/blah/blah”>
AllowOverride All
Options FollowSymLinks Includes Indexes MultiViews