Re: 'make install' fails when --enable-memory-limit is present

From: Date: Mon, 05 Jul 2004 06:46:42 +0000
Subject: Re: 'make install' fails when --enable-memory-limit is present
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-10900@lists.php.net to get a copy of this message
On Sat, 3 Jul 2004, Gareth Ardron wrote: > On Sat, 2004-07-03 at 12:13, Derick Rethans wrote: > > > > > > My suggestion - add -dmemory_limit=32M to PEAR_INSTALL_FLAGS (16M solves > > > > > the problem on my Linux box, but I think we should go higher to be on the > > > > > safe side). > > > >We prolly should highen the limit to a default 16M too for PHP 5. > > > Because applications in PHP 5 will most likely be larger usually due to > > the better support for OO. People will earlier attempt to create more > > complex applications and easily get over the low limit of 8MB. > > Additionaly to this, you can't even resize a truecolor jpg (1600x1200) > > at this moment with the default memory limit because GD uses about 4 > > times the amount of pixels in an image as memory. > > To be honest, I've never understood why. php_imlib2 seems to run though > things fine with large files, and the structure of that is hardly > uncommon, and it's not like I've been doing anything dodgy with fudging > the zend api to get it to work right. It was changed for a reason, that is that people could GD to crash servers quite easily. Removing this restriction is not an option. Derick

« previous php.internals (#10900) next »