Jump to content

ideal memory limit for php


Recommended Posts

Posted

128MB is generally the standard recommendation for most PHP applications and is also the default memory limit setting for PHP itself. The only time I've ever needed to raise this above 128MB for IP.Board was because of a third party application.

Generally, don't raise this above the default unless you have a good reason to.

Posted

I've found in the past that a higher value of 256MB or 512MB can really help if your using Gallery and need it to upload then resize large original size camera photos, as 128MB used to hang with a white page.

Posted

I've found in the past that a higher value of 256MB or 512MB can really help if your using Gallery and need it to upload then resize large original size camera photos, as 128MB used to hang with a white page.

You're really far better off using ImageMagick instead of trying to up the memory limit for GD, GD has an exponential memory requirement after a certain point that becomes impossible to scale with.

GD is fine for simple image processing, but if you need to work with very large images you should really use ImageMagick instead.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...