Re: Re: cvs: php-src(PHP_5_2) / php.ini-dist php.ini-recommended

From: Date: Thu, 21 Dec 2006 13:49:17 +0000
Subject: Re: Re: cvs: php-src(PHP_5_2) / php.ini-dist php.ini-recommended
References: 1 2 3 4 5  Groups: php.internals 
Request: Send a blank email to internals+get-27162@lists.php.net to get a copy of this message
Hannes Magnusson wrote:
On 12/21/06, Edin Kadribasic <edink@emini.dk> wrote:
Hannes Magnusson wrote:
And I sure am one of them. We are talking about _default_ settings, not edge cases. 128M is insane _default_ setting.
Having in mind how short-lived most of the PHP processes are, I see really nothing wrong with setting a default limit to 128 MB, and I definitely don't see anything "insane" about it.
How fast are you expecting to use up 128MB exactly and how? Unless we have a serious memory leak in every single function I can't see how the general PHP script is ever going to reach even 64M.
$text = file_get_contents("my 30 meg text file i want to manipulate.txt"); $clean_text = preg_replace($find, $replace, $text); Edin

« previous php.internals (#27162) next »