> -----Original Message-----
> From: Tom Boutell [mailto:t...@punkave.com]
> Sent: Saturday, September 05, 2009 6:30 AM
> To: Marco Tabini
> Cc: Pierre Joye; jani.taski...@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

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to