Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26620 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 4691 invoked by uid 1010); 15 Nov 2006 20:33:15 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 4676 invoked from network); 15 Nov 2006 20:33:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Nov 2006 20:33:15 -0000 Authentication-Results: pb1.pair.com header.from=ceo@l-i-e.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ceo@l-i-e.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain l-i-e.com from 67.139.134.202 cause and error) 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] ([67.139.134.202:1806] helo=o2.hostbaby.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 75/B6-53553-9897B554 for ; Wed, 15 Nov 2006 15:33:14 -0500 Received: (qmail 82229 invoked by uid 98); 15 Nov 2006 20:33:07 -0000 Received: from 127.0.0.1 by o2.hostbaby.com (envelope-from , uid 1013) with qmail-scanner-1.25 (clamdscan: 0.88.4/2195. Clear:RC:1(127.0.0.1):. Processed in 0.886187 secs); 15 Nov 2006 20:33:07 -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.886187 secs) Received: from unknown (HELO l-i-e.com) (127.0.0.1) by localhost with SMTP; 15 Nov 2006 20:33:06 -0000 Received: from 208.195.234.246 (SquirrelMail authenticated user ceo@l-i-e.com) by www.l-i-e.com with HTTP; Wed, 15 Nov 2006 14:33:06 -0600 (CST) Message-ID: <62880.208.195.234.246.1163622786.squirrel@www.l-i-e.com> In-Reply-To: <000c01c707d9$89673ad0$6e02a8c0@thinkpad> References: <000c01c707d9$89673ad0$6e02a8c0@thinkpad> Date: Wed, 15 Nov 2006 14:33:06 -0600 (CST) To: "Dmitry Stogov" Cc: internals@lists.php.net, "Andi Gutmans" , "Stanislav Malyshev" 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] cgi.check_shebang_line default value From: ceo@l-i-e.com ("Richard Lynch") On Tue, November 14, 2006 4:42 am, Dmitry Stogov wrote: > The following patch adds new INI directive for CGI SAPI. > It may enable/disable check for shebang line (#! /usr/bin/php) and as > result > improve performance of FastCGI. > > I set the default value for this directive to 1 (that means check file > on > each request) to not break previous behavior. > However may be it is better to set default value to 0. That means > break > previous behavior but improve performance by default. For sure, default to non-BC-breaking setting of 1. That shouldn't even be a question. :-) Is another .ini setting worth 4% increase in performance? Not to me, but I'm not the guy that needs 4% CGI improvement on any servers I run :-) But another .ini setting doesn't bother me as it does some, so I'm fine with that. Killing shebang entirely in 6.0 --- I dunno... Seems like there's probably a lot of cron jobs out there relying on it, that nobody will think of when you ask them, but as soon as you pull the plug, you're gonna get a zillion complaints... And as far as not including it in the php.ini, that seems to me like it would cause more problems than solutions. It ends up seeming to php.ini readers like an "Undocumented Feature" or something, and you just generate more questions than adding one more setting to php.ini -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?