On Fri, September 4, 2009 10:51 pm, Andi Gutmans wrote:
Shebang is for command line scripts (php-cli). It does not make sense
to
support it for Web server scripts. It just adds unnecessary
code/complexity to that code base. Removing the support from php-cgi
was
really a remnant of the old
Hi,
Can this snippet of shebang checking be removed for php 5.3.+, 6?
Its for external FPM project.
cgi_main.c:
php_fopen_primary_script(file_handle TSRMLS_CC);
if (CGIG(check_shebang_line) file_handle.handle.fp
(file_handle.handle.fp != stdin)) {
Hi,
Can this snippet of shebang checking be removed for php 5.3.+, 6?
Its for external FPM project.
cgi_main.c:
php_fopen_primary_script(file_handle TSRMLS_CC);
if (CGIG(check_shebang_line) file_handle.handle.fp
(file_handle.handle.fp != stdin)) {
/* #!php support */
c =
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
From: Richard Quadling rquadl...@googlemail.com
Newsgroups: php.internals
Sent: Monday, September 07, 2009 3:44 PM
Subject: Re: [PHP-DEV] shebang skipping in 5.3.0
2009/9/7 jvlad d...@yandex.ru:
And for windows, the shebang line is not used. So becomes part of the
output - no matter what SAPI
Andi Gutmans wrote:
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
Hi,
For the record here, as far as I can see, the bugs have been fixed by
Jani. Please go testing and report any reminding issues :)
Cheers,
On Sun, Sep 6, 2009 at 9:15 PM, Keisialkeis...@gmail.com wrote:
Andi Gutmans wrote:
If this is indeed a use-case for CGI then I think it's a valid
1:35 AM
To: internals@lists.php.net
Subject: Re: [PHP-DEV] shebang skipping in 5.3.0
I definitely had the wrong changeset - sorry, Nuno. :) Looks
like maybe 273177 is the problem child.
http://tinyurl.com/lewcft
On Fri, Sep 04, 2009 at 09:25:52AM +0100, Scott MacVicar wrote:
On 4 Sep
-Original Message-
From: Joey Smith [mailto:j...@joeysmith.com]
Sent: Friday, September 04, 2009 1:35 AM
To: internals@lists.php.net
Subject: Re: [PHP-DEV] shebang skipping in 5.3.0
I definitely had the wrong changeset - sorry, Nuno. :) Looks
like maybe 273177 is the problem child.
http://tinyurl.com
Andi Gutmans wrote:
Shebang is for command line scripts (php-cli). It does not make sense to
support it for Web server scripts. It just adds unnecessary
code/complexity to that code base. Removing the support from php-cgi was
really a remnant of the old days when cli and cgi were the same
-DEV] shebang skipping in 5.3.0
I definitely had the wrong changeset - sorry, Nuno. :) Looks
like maybe 273177 is the problem child.
http://tinyurl.com/lewcft
On Fri, Sep 04, 2009 at 09:25:52AM +0100, Scott MacVicar wrote:
On 4 Sep 2009, at 09:16, Joey Smith j...@joeysmith.com wrote:
I
To: internals@lists.php.net
Subject: Re: [PHP-DEV] shebang skipping in 5.3.0
I definitely had the wrong changeset - sorry, Nuno. :) Looks
like maybe 273177 is the problem child.
http://tinyurl.com/lewcft
On Fri, Sep 04, 2009 at 09:25:52AM +0100, Scott MacVicar wrote:
On 4 Sep 2009, at 09:16, Joey
On Sat, Sep 5, 2009 at 2:48 PM, Jani Taskinenjani.taski...@sci.fi wrote:
You obviously don't understand at all what this is used for.
Consider the case where you can't change webserver's configs.
Or that you want to quickly test different PHP versions.
What would be easier than simply
are better off this way.
Andi
-Original Message-
From: Joey Smith [mailto:j...@joeysmith.com]
Sent: Friday, September 04, 2009 1:35 AM
To: internals@lists.php.net
Subject: Re: [PHP-DEV] shebang skipping in 5.3.0
I definitely had the wrong changeset - sorry, Nuno. :) Looks
like maybe
Pierre Joye wrote:
On Sat, Sep 5, 2009 at 2:48 PM, Jani Taskinenjani.taski...@sci.fi wrote:
You obviously don't understand at all what this is used for.
Consider the case where you can't change webserver's configs.
Or that you want to quickly test different PHP versions.
What would be easier
Marco Tabini wrote:
It would be really nice if everyone could consider that the other do
understand what is being discussed but actually disagree. The question
was actually: is it worth the effort? Who is seriously using CGI (not
meaning fastcgi) with php these days?
On shared hosts, CGI is
On Sat, Sep 5, 2009 at 3:38 PM, Jani Taskinenjani.taski...@sci.fi wrote:
It's quite relevant. It's actually one of the most important things I tried
to explain Pierre already. And yes, people still use CGI these days. Not all
of them have their own webservers running they can configure however
Pardon, I do realize everyone remembers CGI, but sometimes it's
important to review the basics, especially when optimized variants are
more popular than the original (but have by no means eliminated it).
Classic CGI has its advantages. It's simple to implement and memory
leaks in individual
It would be really nice if everyone could consider that the other do
understand what is being discussed but actually disagree. The question
was actually: is it worth the effort? Who is seriously using CGI (not
meaning fastcgi) with php these days?
On shared hosts, CGI is often the only way to
-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
I can understand not having the 'shebang skipping' code
in both the SAPI *and* the scanner, but we probably
need to have it in at least ONE of them. :)
Per his email[1] almost a year ago, Dmitry removed the
shebang line check from sapi/cgi/cgi_main.c in changeset
264153, saying:
Removed
On Fri, Sep 04, 2009 at 02:16:40AM -0600, Joey Smith wrote:
Per his email[1] almost a year ago, Dmitry removed the
[1] should have been: http://tinyurl.com/kwne3v
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php
See #49182
Cheers,
On Fri, Sep 4, 2009 at 10:25 AM, Scott MacVicarsc...@macvicar.net wrote:
What's the problem your having? The skip code is still there just in a
different bit.
Scott
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit:
I definitely had the wrong changeset - sorry, Nuno. :) Looks
like maybe 273177 is the problem child.
http://tinyurl.com/lewcft
On Fri, Sep 04, 2009 at 09:25:52AM +0100, Scott MacVicar wrote:
On 4 Sep 2009, at 09:16, Joey Smith j...@joeysmith.com wrote:
I can understand not having the
off this way.
Andi
-Original Message-
From: Joey Smith [mailto:j...@joeysmith.com]
Sent: Friday, September 04, 2009 1:35 AM
To: internals@lists.php.net
Subject: Re: [PHP-DEV] shebang skipping in 5.3.0
I definitely had the wrong changeset - sorry, Nuno. :) Looks
like maybe 273177
25 matches
Mail list logo