Max Upload Size

Discussion in 'HTML & Website Design' started by rajivv, Sep 6, 2009.

  1. #1
    Hi,

    How do I increase the max upload size .
    Right now i changed the value in php.ini from 200 to 250 mb
    However it is not working is there anyother modification needed.

    Thanks
    Rajiv
     
    rajivv, Sep 6, 2009 IP
  2. senthil_sivanath

    senthil_sivanath Member

    Messages:
    360
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    35
    #2
    Just add the following in php files as first line (where it shows error)

    ini_set('memory_limit', '-1'); //unlimited memory

    ini_set('memory_limit', '50M'); // 50 MB
     
    senthil_sivanath, Sep 6, 2009 IP
  3. rajivv

    rajivv Peon

    Messages:
    335
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi,

    Changed the Max upload size and Post max size variables in php.ini
    However still no luck , 150mb files are ok as that is max as per upload window.
    However php.ini showed 200mb which I changed but when I try to upload a file
    of 226mb it tries for 5-10 minutes then get a connection reset in Firefox.

    Regards
     
    rajivv, Sep 7, 2009 IP