Discover Habbo's history
Treat yourself with a Secret Santa gift.... of a random Wiki page for you to start exploring Habbo's history!
Happy holidays!
Celebrate with us at Habbox on the hotel, on our Forum and right here!
Join Habbox!
One of us! One of us! Click here to see the roles you could take as part of the Habbox community!


Results 1 to 5 of 5
  1. #1
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default Apache memory_limit not working...

    Hey, well I'm running XAMPP on my laptop for personal use. Basically, I want to upload files in a script I'm using, and it works for files that are 1MB or 2MB... but files that are like 56MB it chucks up an error (the script if fine btw, it does work for smaller files and there are no limits in the script).

    Fatal error: Allowed memory size of 62914560 bytes exhausted (tried to allocate 5767168 bytes) in C:\xampp\htdocs\site\load.php on line 12
    I've edited 'memory_limit' to 60M, no use. It still gives an error... I've tried 'ini_set("memory_limit","64M");' in the php file, it doesn't want to work.

    Any help? I'm on the verge of pulling my hair out!

    Thanks.

  2. #2
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    upload_max_filesize = 100MB (thats mb)

    and

    post_max_size = 100MB ( again thats mb )


    They should be the ones you need, for files.

  3. #3
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Source View Post
    upload_max_filesize = 100MB (thats mb)

    and

    post_max_size = 100MB ( again thats mb )


    They should be the ones you need, for files.
    I've also tried that, gives the same error... I did restart apache btw. I'm stumped. :S

  4. #4
    Join Date
    Jun 2006
    Posts
    4,832
    Tokens
    0

    Latest Awards:

    Default

    Anybody else, any help?

    I've tried pretty much every limit, none are working. phpinfo sees that I put 64MB... grr, it's annoying.

    I've also tried editing the size at the beginning of the script.

  5. #5
    Join Date
    Nov 2007
    Posts
    1,253
    Tokens
    150

    Latest Awards:

    Default

    I'm not overly familiar with XAMPP. Why don't you try WAMP, a personal favourite of mine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •