• GoDaddy Community
  • VPS & Dedicated Servers
  • VPS & Dedicated Servers

    Showing results for 
    Show  only  | Search instead for 
    Did you mean: 

    How to increase the uploard size of a file from 2mb to 32mb.

    How do i increase the upload size of a file from 2mb to 32mb.Im having a problem with the upload


    I bought a new theme for my website but when i try to uploard, it shows error code 500.which is the internal server error.but when i change the theme, it work ok.

    Hi need some help. I bought the template yesterday. I tried activating the template but still shows error code 500.I followed the procedure as guided but still not been able to use it  in my website.I was advised to contact Godaddy for the support.The template is "magazon theme"

    1 REPLY 1
    Helper VI

    @Ocholla you have to create a .user.ini file in the root folder of your site with these contents:

    memory_limit = 1024M
    max_execution_time = 320
    max_input_time = 240
    post_max_size = 120M
    max_input_vars = 2000
    file_uploads = 6
    max_file_uploads = 20
    upload_max_filesize = 100M

    If your hosting plan gives you less than 1GB of RAM, then change the 1024M to 512M.

    With this, you make the max upload size to 100MB, among other things.


    Hope it helps!

    If you find my replies helpful, give me a like or kudo 🙂
    And if I solved your issue, mark it as solution 😄