The file upload size is controlled by your server. Contact your hosts about it.
I did and they directed me here: http://wiki.dreamhost.com/Php.ini
But this just confused me more. Could you help explain it to me?
Thanks.
There’s nothing we can really do here to help. All I can do is to tag this topic for the attention of Dreamhost support.
I guess I could use some help knowing where to even start. All that thread says about increase the media file size is:
The default size limit for uploading files is 7MB, which may be far too small for your needs. To increase that limit to 64MB, use the following command:
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 500
max_input_time = 500
So do I create a new file with this php in it? If so, where do I put the file? Or is there an existing php.ini file I should be editing? I’m sure all the right info is there, I’m just not WordPress savy enough to know how to practically do it.
What would you do if you wanted to increase your upload size?
We cannot help with hosting/server configuration issues. You need to speak to Dreamhost about this.
First thing would be to make sure you’re using PHP 5.3 at the very least.
Go into your Panel, click on Domains, and EDIT the domain.
Check PHP and make sure its 5.3 FastCGI (works best).
If that’s good, you’re going to make a new file called phprc
http://wiki.dreamhost.com/Php.ini#PHP_5.3_.2F_5.4
Create a new folder named .php in your user’s home directory /home/USERNAME/.
Note: This folder name starts with a ‘.’ or dot, and if you’re using an FTP program you may need to turn on “view hidden files and folders” to see it after you create it.
Inside that create another folder based on what version of PHP you’re using
The shell command for 5.3 is: mkdir -p ~/.php/5.3
Then you make the phprc file in there 🙂
Do this
function upload_size_limit_filterw( $size ) {
return 1536000*14; //Your Size in kb
}
add_filter( ‘upload_size_limit’, ‘upload_size_limit_filterw’,12 );