can memory_limit = 256M ?

seachen

Verified User
Joined
Feb 3, 2007
Messages
491
hi sir,

1 of my user request to modify the memory limit to 256, can make it?

will caused server in negative effect?

When i modify it, i found out that the description show max memory is 128

memory_limit = 256M ; Maximum amount of memory a script may consume (128MB)

can somebody give me some opinion.

thanks.
 
128MB is the default value (unless you have PHP 5.2.0: 16MB, or <5.2.0: 8MB). There is no hard limit (you can even set it "-1" if you want him to have no limit at all and be able to fill up the memory of your server).

It will not cause negative effects as long as you make sure that you have enough memory for everyone; if that user uses all of the 256MB and everyone else uses their maximum, will it be enough memory for Apache, MySQL and all the other services to run correctly?
 
Back
Top