[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: PHP memory limit upper bound?



On 01/10/14 20:56, grigor@gatchev.info wrote:
> Hi all,
> 
> I need to set the PHP memory limit to more than 512 MB and found that I
> can't. Is this caused by the Suhosin patch (my guess), and how to get
> around it?
> 
> (I tried to set suhosin.memory_limit to 1024M: no change. Was told that
> php5-suhosin might be more configurable, but it breaks some package
> dependencies, and I can't afford this easily.)

Did you try edit /etc/php5/conf.d/suhosin.ini from:-
;suhosin.memory_limit = 0
to:-
suhosin.memory_limit = 1G

(NOTE the suffix used above)

Don't forget to check php.ini and ensure a similar settings for max_post
and memory_limit

> 
> Debian Sid, amd64, php5-common 5.6.0+dfsg-1+b1. If you need more info,
> please don't hesitate to ask.
> 
> Thanks in advance,
> 
> Grigor
> 
> 

Kind regards


Reply to: