[php-maint] Bug#440624: Bug#440624: Bug#440624: php5: Fix broken memory_limit in php.ini

Steve Langasek vorlon at debian.org
Mon Sep 3 19:53:38 UTC 2007

On Mon, Sep 03, 2007 at 06:56:17PM +0200, sean finney wrote:
> On Monday 03 September 2007 10:13:25 am Soren Hansen wrote:
> >   * debian/rules:
> >     - Fix broken memory_limit mangling for php5-cli. (LP: #109079)

> what was "broken" about it?

It's broken because "sed -e'/memory_limit =/ s/8M/32M/g'" still matches
"memory_limit = 128M", except it raises 128M to 1232M.

> >   * debian/php5-cli.postinst, debian/rules:
> >     - Use same php.ini-dist for all flavours. The only difference used to
> > be cli having a higher memory_limit value, but upstream has changed this to
> > 128MB, which is higher than both of the previous values.

> what do you guys (pkg-php-maint) think?  i don't really have a strong 
> preference one way or the other, since we're just talking about *defaults* 
> here.

Well, I'm disturbed that upstream thinks 128MB is a reasonable default
memory limit for a single PHP script and think it ought to be *lowered* in
each of the packages.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/

More information about the pkg-php-maint mailing list