Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23427 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 54972 invoked by uid 1010); 15 May 2006 21:50:23 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 54957 invoked from network); 15 May 2006 21:50:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 May 2006 21:50:23 -0000 X-PHP-List-Original-Sender: ceo@l-i-e.com X-Host-Fingerprint: 67.139.134.202 o2.hostbaby.com FreeBSD 4.7-5.2 (or MacOS X 10.2-10.3) (2) Received: from ([67.139.134.202:1430] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 16/25-19568-E97F8644 for ; Mon, 15 May 2006 17:50:22 -0400 Received: (qmail 71217 invoked by uid 98); 15 May 2006 21:50:24 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 ( Clear:RC:1(127.0.0.1):. Processed in 0.067217 secs); 15 May 2006 21:50:24 -0000 X-Qmail-Scanner-Mail-From: ceo@l-i-e.com via o2.hostbaby.com X-Qmail-Scanner: 1.25 (Clear:RC:1(127.0.0.1):. Processed in 0.067217 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 15 May 2006 21:50:24 -0000 Received: from 209.254.223.2 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Mon, 15 May 2006 16:50:24 -0500 (CDT) Message-ID: <1662.209.254.223.2.1147729824.squirrel@www.l-i-e.com> In-Reply-To: <1569434854.20060515205921@marcus-boerger.de> References: <138663365.20060514205903@marcus-boerger.de> <038d01c676f8$ab9b3380$6602a8c0@foxbox> <44685D24.2000801@php.net> <1408277471.20060515204040@marcus-boerger.de> <083d01c67786$96d5b9f0$6602a8c0@foxbox> <4468CD27.4010608@dealnews.com> <1569434854.20060515205921@marcus-boerger.de> Date: Mon, 15 May 2006 16:50:24 -0500 (CDT) To: internals@lists.php.net Reply-To: ceo@l-i-e.com User-Agent: Hostbaby Webmail MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: [PHP-DEV] E_ALL changes in 5.2/6.0 From: ceo@l-i-e.com ("Richard Lynch") On Mon, May 15, 2006 1:59 pm, Marcus Boerger wrote: > yeah we should simply rename the two files we have right now to > that. > I never knew which one to take since their names are not helpful. > In production we would set something like E_ALL & ~E_STRICT & > ~E_NOTICE. > While in development we would do E_ALL as in all. Personally, I've always thought that a smarter setup is to keep E_ALL on all the time, and just turn display_errors off in production, and logging on as an optional in production... But that presumes a quality level in PHP code that's not "out there" yet -- partially because E_ALL wasn't the default for sooooo long, so we had a zillion E_NOTICE messages going un-noticed by the bulk of users. If your production PHP code is generating so many entires in a log file that it's a problem for the log file size, then, really, you've got much bigger problems than the log file size... I can see having the logging off for performance in specific situations, but that would be the people who REALLY know what they're doing anyway. The naive webhost trying to scratch a living out of installing PHP with the default settings and is happy if "it works" is the target audience for the php.ini-recommended -- not the expert than could probably write php.ini from scratch for the settings they care about. YMMV -- Like Music? http://l-i-e.com/artists.htm