Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:45507 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75895 invoked from network); 5 Sep 2009 23:53:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Sep 2009 23:53:45 -0000 Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 63.205.162.117 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 63.205.162.117 us-mr1.zend.com Linux 2.4/2.6 Received: from [63.205.162.117] ([63.205.162.117:54076] helo=us-mr1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 5B/91-00945-70AF2AA4 for ; Sat, 05 Sep 2009 19:53:44 -0400 Received: from us-gw1.zend.com (us-ex1.zend.net [192.168.16.5]) by us-mr1.zend.com (Postfix) with ESMTP id D8698E11FF; Sat, 5 Sep 2009 16:40:34 -0700 (PDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Sat, 5 Sep 2009 16:53:38 -0700 Message-ID: <698DE66518E7CA45812BD18E807866CE03415400@us-ex1.zend.net> In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] shebang skipping in 5.3.0 Thread-Index: AcouLO2F/m7W9gwbQT+WRNmF1bowZQAVsPJw References: <20090904081640.GA28685@joeysmith.com> <753B9AED-C850-4EBA-A828-93A2542F81A2@macvicar.net> <20090904083457.GC28685@joeysmith.com> <698DE66518E7CA45812BD18E807866CE034153BA@us-ex1.zend.net> <4AA24FDB.90409@sci.fi> <4AA25E16.7040803@sci.fi> <30CAA781-B1EE-44E0-AC7B-47FF3DF48FE1@tabini.ca> To: "Tom Boutell" , "Marco Tabini" Cc: "Pierre Joye" , , "Joey Smith" , Subject: RE: [PHP-DEV] shebang skipping in 5.3.0 From: andi@zend.com ("Andi Gutmans") > -----Original Message----- > From: Tom Boutell [mailto:tom@punkave.com] > Sent: Saturday, September 05, 2009 6:30 AM > To: Marco Tabini > Cc: Pierre Joye; jani.taskinen@iki.fi; Andi Gutmans; Joey Smith; > internals@lists.php.net > Subject: Re: [PHP-DEV] shebang skipping in 5.3.0 >=20 -snip- > Classic CGI has its advantages. It's simple to implement and memory > leaks in individual instances don't matter. Embedded devices still use > it quite a lot. >=20 > Classic CGI is also an interesting transitional strategy when you're > replacing a mixed bag of Perl, C and other CGI programs. Making it > harder to transition to PHP isn't good for PHP. This is the "Common" > part of CGI and shouldn't be forgotten. If this is indeed a use-case for CGI then I think it's a valid argument and we are probably better off supporting it. I did not remember shebang works for real CGI. There are still plenty of use-cases for running CGI (as opposed to FastCGI) in the industry. Question now is whether this should be done in the scanner or in the SAPI. I'll check with Dmitry who made this change. Andi