The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Realy Newbie Question

Discussion in 'General Discussion' started by meisam, Jan 27, 2005.

  1. meisam

    meisam Member

    Joined:
    Oct 11, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    hi,
    i want to increase my Max upload size to 10MB, right now it is at 2MB, how do ii do this with WHM, or is there anyother way?

    thanks
    Meisam
     
  2. webignition

    webignition Well-Known Member

    Joined:
    Jan 22, 2005
    Messages:
    1,880
    Likes Received:
    0
    Trophy Points:
    36
    I'm not sure if you can do this through WHM, however you can certainly change the maximum POST size that PHP will accept when uploading files through a web page. I assume this is what you mean.

    You can do this by editing your php.ini file. In short, you'll need to set upload_max_filesize to be the size you want to allow, e.g. 10M for 10 meg. You should also make sure that post_max_size is larger than upload_max_filesize, and to be on the safe site set it to be twice the value of upload_max_filesize.

    That's the short answer. If you need further help, just shout!
     
  3. meisam

    meisam Member

    Joined:
    Oct 11, 2004
    Messages:
    22
    Likes Received:
    0
    Trophy Points:
    1
    thanks for the reply.
     
Loading...

Share This Page