Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:74921 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78509 invoked from network); 16 Jun 2014 12:16:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Jun 2014 12:16:38 -0000 Authentication-Results: pb1.pair.com smtp.mail=tyra3l@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=tyra3l@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.42 as permitted sender) X-PHP-List-Original-Sender: tyra3l@gmail.com X-Host-Fingerprint: 209.85.216.42 mail-qa0-f42.google.com Received: from [209.85.216.42] ([209.85.216.42:51539] helo=mail-qa0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C7/99-12705-120EE935 for ; Mon, 16 Jun 2014 08:16:33 -0400 Received: by mail-qa0-f42.google.com with SMTP id dc16so7409262qab.1 for ; Mon, 16 Jun 2014 05:16:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=H7DrO6ao0qMYVNmQrdeGLqhx/SdI0xIRVzE6RCJ1wjU=; b=cAnqAWXjEvb6VoDGZqEIxWpks4YO6x3A8WywoRl2n6NAdcdt7DQJzptrGraQNv7nNc BqvjBiKWN10P6n+F3AFamENaGnjbVc67ZFbJpCRLFxaDJFPD6M6u8f5PrWjgUKzmweKV eSKkZ0YDiTIyDSb4eGoToCa4dSk1mhG8yu8CYXrfNATf1qzhI7+vw57kPVLBH044CJHA O09MvMqwqt/S6bXpFsNpUuD9wZi5JRq1mccMCMQ8HI22sTEkUAIItPXN1SNGRn6KliVI RLeSRM6mobTK/D41VsL3q6QFwMxCkZpYZ6yRQefAJGbsCAYuSP0GZbRP/xGFrImhZFgD BdKA== MIME-Version: 1.0 X-Received: by 10.140.81.74 with SMTP id e68mr5180367qgd.77.1402920990415; Mon, 16 Jun 2014 05:16:30 -0700 (PDT) Received: by 10.140.17.77 with HTTP; Mon, 16 Jun 2014 05:16:30 -0700 (PDT) In-Reply-To: References: Date: Mon, 16 Jun 2014 14:16:30 +0200 Message-ID: To: Pascal Chevrel , Dmitry Stogov Cc: PHP Internals Content-Type: multipart/alternative; boundary=001a11c11d1248241304fbf2fff5 Subject: Re: [PHP-DEV] memory_limit default From: tyra3l@gmail.com (Ferenc Kovacs) --001a11c11d1248241304fbf2fff5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Jun 16, 2014 at 1:50 PM, Pascal Chevrel wrote: > Hi internals people, > > I was curious to know why the memory limit in php.ini was set to 128MB so > I digged into the repository history and I saw that it was bumped from 16= MB > to that value in 2006: https://github.com/php/php-src/commit/ > 3ffc1c8f4a1e4c1658f94038e009e226258a65a4#diff- > 299b21e0851494929e62b81e8d91b5b3 > > Since there is no reference to a bug in the commit and I couldn't find > anything about it on the net, I thought I would ask at the source in > internals. > > Was it changed because the defaut value was too low for PHP to work > correctly? Or was the change done to reflect the state of hosting solutio= ns > back then? I am curious to know why 128 and not 64 or 256 actually. If th= is > is the result of an analysis of the state of hosting, I am also wondering > if 8 years later php.ini settings that depend on hardware like memory are > still the right defaults. > > Thanks for your hindsight on this! > > Pascal > > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > adding Dmitry to the thread. --=20 Ferenc Kov=C3=A1cs @Tyr43l - http://tyrael.hu --001a11c11d1248241304fbf2fff5--