ID:               23664
 Updated by:       [EMAIL PROTECTED]
 Reported By:      krip at OpenIsis dot org
-Status:           Assigned
+Status:           Closed
 Bug Type:         CGI related
 Operating System: any *nix
 PHP Version:      4.3.2RC3
 Assigned To:      shane
 New Comment:

This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

now closes stdin if using socket server


Previous Comments:
------------------------------------------------------------------------

[2003-05-18 09:52:26] [EMAIL PROTECTED]

Assigning to the responsible party. :)


------------------------------------------------------------------------

[2003-05-17 12:04:17] krip at OpenIsis dot org

workaround: having the shell close stdin works using
PHP_FCGI_CHILDREN=3 php -b 1234 <&-
running from fcgi devkit's cgi-fcgi works, too

------------------------------------------------------------------------

[2003-05-16 16:14:48] krip at OpenIsis dot org

hey derick, didn't you read?
just like sniper declared the initial submission #21303
of #21367 as bogus (not a php error)?

This one's a completely different topic!
The old bug is closed and was a different one:
there was no b in OPTSTRING.
This one's about file descriptors.

If you still think this should be appended to #21367,
then do you want change it's status back to open!?
Although it IS resolved?

------------------------------------------------------------------------

[2003-05-16 16:04:32] [EMAIL PROTECTED]

Add your comments to the old bugreport, no need to open a new one.

------------------------------------------------------------------------

[2003-05-16 15:56:16] krip at OpenIsis dot org

nice to see that
#21367  FastCGI -b option error
is "closed", however, it's still not working:
the fastcgi is not detected in FCGX_IsCGI,
because FCGI_LISTENSOCK_FILENO (#defined to 0)
is no listening socket; it's just plain stdin :)

a close(0); in cgi_main.c, if (bindpath) { ...

of course fixes this.

just one question: did you test this even once
before declaring #21367 closed,
and how come it worked ?

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23664&edit=1

Reply via email to