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.

Max filesize

Discussion in 'General Discussion' started by vdsguy, May 1, 2005.

  1. vdsguy

    vdsguy Member

    Joined:
    Apr 28, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    How do you change the maximum filesize limit on uploaded files.. I need to change this beacuse I got a big ass backup to transfer to my server.

    Anyone that know how to change the maximum allowed filesize?
     
  2. ehpmahesh

    ehpmahesh Well-Known Member

    Joined:
    Jul 3, 2004
    Messages:
    74
    Likes Received:
    0
    Trophy Points:
    6
    You have to make the changes in the php.ini file for changing the upload limit setting. Make the changes in php.ini file and you can upload what ever you want. After uploading make it as it is.
     
  3. vdsguy

    vdsguy Member

    Joined:
    Apr 28, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Huh? Okay but where could I find the PHP.ini file?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Normally, it's:

    /usr/local/lib/php.ini
     
  5. vdsguy

    vdsguy Member

    Joined:
    Apr 28, 2005
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Hmm couldnt find anything in the php.ini but I think you are thinking of something else
    I dont want to overpass the php 2mb limit I need to change the maximum filesize
    beacuse I got a big ass backup file on 10GB to transfer to the server but ssh stoped the transfer after like 2.5GB beacused I had reached the maximum allowed filesize limit.
     
  6. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Hmm. I'm not aware of a filesize limit in openssh. If it were anywhere it would be in /etc/ssh/sshd_config but I see no settings. TBH, you'd probably be better off using FTP or FTP over SSL for a secure transfer of such a large file.
     
Loading...

Share This Page