• Hi everyone,

    So, I’m trying to upload a file into my file up-loader for my site and its telling me that I can’t upload more than 1MB. Someone told me I have to change something on my wp-config.php file to get it to increase. Any thoughts?

    Thanks,

    Fred

Viewing 4 replies - 1 through 4 (of 4 total)
  • Depending on the theme, you could try adding this to your wp-config.php file:

    @ini_set( 'upload_max_size' , '16M' );
    @ini_set( 'post_max_size', '16M');

    If that doesn’t make any difference, contact your webhost to see if you are able to increase this limit. 1 MB is really not a lot.

    If you have access to the PHP.INI file yourself on your server, increase the value for both upload_max_filesize and post_max_size to 16MB.

    Thread Starter phrederick

    (@phrederick)

    Does it matter where in the string of data that I put the code?

    Not really. Just put it at the bottom and see if that works?

    Thread Starter phrederick

    (@phrederick)

    So far, our lady said it didn’t work, but she tried to load an mp3 file that was 16mb. I’ll have her try again later today. Also, I upped the size on the ws-config.php to 3GB. Not sure if that’s too big.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘More than 1MB’ is closed to new replies.