RE: [PHP-DEV] shebang skipping in 5.3.0

From: Date: Sat, 05 Sep 2009 23:53:38 +0000
Subject: RE: [PHP-DEV] shebang skipping in 5.3.0
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-45507@lists.php.net to get a copy of this message
> -----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 > -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. > > 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

« previous php.internals (#45507) next »