• Can someone please help explain how to increase the Media upload size, in simple English that a novice can understand. My host support sent me to a thread about creating a php.ini file with some upload php and putting it in a folder I can’t find… and I’m more confused than when I started.

    Can someone just layout a simple step by step explanation on how to do this?

    My upload size is 7MB right now and I need it to be about 100MB. Any help we very greatly appreciated, thank you.

    – Chris

Viewing 7 replies - 1 through 7 (of 7 total)
  • The file upload size is controlled by your server. Contact your hosts about it.

    Thread Starter Topherdu4

    (@topherdu4)

    I did and they directed me here: https://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.

    Thread Starter Topherdu4

    (@topherdu4)

    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.

    Mika Epstein

    (@ipstenu-dh)

    DreamHost Rep

    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

    https://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 );

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Increase media upload size’ is closed to new replies.