Where Is Max Filesize Set?

Discussion in 'Apache' started by T0PS3O, Jan 12, 2006.

  1. #1
    I get these errors in my logs after uploading through a browser based script:

    I sniffed my http.conf and php.ini. The latter holds one clue but doesn't add up:

    Where can I find this file size limit of a measily half a meg?

    Thanks.
     
    T0PS3O, Jan 12, 2006 IP
  2. sji2671

    sji2671 Self Made Mind

    Messages:
    1,991
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    170
    #2
    You could try adding to php.ini

    php.ini

    ; Maximum allowed size for uploaded files.
    upload_max_filesize = 8M


    But I have no idea really, dont know if the upload refers to what your doing rather than the POST setting.
    Edit I did find this:
     
    sji2671, Jan 12, 2006 IP
  3. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks. I found that part and it says:

    That's still 2mb vs. that 500Kb error! Strange.
     
    T0PS3O, Jan 12, 2006 IP
  4. sji2671

    sji2671 Self Made Mind

    Messages:
    1,991
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    170
    #4
    Found this
    http://gallery.menalto.com/node/7588

     
    sji2671, Jan 12, 2006 IP
    T0PS3O likes this.
  5. T0PS3O

    T0PS3O Feel Good PLC

    Messages:
    13,219
    Likes Received:
    777
    Best Answers:
    0
    Trophy Points:
    0
    #5
    That'll be it! Thanks!

    Should've Goolged It Me Moron!

    Reminds me when I hit a max number in MySQL for the integer type. Couldn't find anywhere what was going on. Had I just Googled the number it would havebeen all too clear.

    Cheers.
     
    T0PS3O, Jan 12, 2006 IP
  6. sji2671

    sji2671 Self Made Mind

    Messages:
    1,991
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    170
    #6
    NP, I enjoy problem solving, especially when I know sod all about it ;)
    It always helps that someone somewhere has probably had the same problem.

    I think I did have the same problem on a site last year but couldn't remember the solution.
     
    sji2671, Jan 12, 2006 IP