ID:               21367
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Assigned
+Status:           Closed
 Bug Type:         Other web server
 Operating System: WinXP
 PHP Version:      4.3.0
 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.

This is now fixed in cvs:
4.3: http://cvs.php.net/co.php/php4/sapi/cgi/cgi_main.c?r=1.190.2.12
5.0: http://cvs.php.net/co.php/php4/s


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

[2003-01-13 20:44:17] [EMAIL PROTECTED]

My "php -v" and "php -h" are exactly equal as the above one.

I don't have any of those envvars set and it still doesn't work.

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

[2003-01-13 17:51:18] [EMAIL PROTECTED]

"-b is ONLY available" was what I wanted to say. :)
Anyway, if you have any of these set in your environment:

SERVER_SOFTWARE
SERVER_NAME
GATEWAY_INTERFACE
REQUEST_METHOD

then it won't be available.



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

[2003-01-13 17:47:08] [EMAIL PROTECTED]

Verified:

C:\php4>php -v
PHP 4.3.0 (cgi-fcgi), Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies

C:\php4>php -h
[snip]
  -b <address:port>|<port> Bind Path for external FASTCGI Server mode
[snip]

C:\php4>php -b 127.0.0.1:12345
Error in argument 1, char 2: option not found b
Error in argument 1, char 2: option not found b
Error in argument 1, char 2: option not found b

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

[2003-01-13 17:41:33] [EMAIL PROTECTED]

-b is not available for fastcgi binary..iirc, the binary
provided in the release package is compiled with the fastcgi support
turned on. You can check that with 'php -v'

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

[2003-01-02 19:54:26] [EMAIL PROTECTED]

I've downloaded the full Win32 PHP binary and the "-b" argument that
should "Bind Path for external FASTCGI server mode" doesn't work.

What happens is:
c:\php>php -b 5000
Error in argument 1, char 2: option not found b
Error in argument 1, char 2: option not found b
Error in argument 1, char 2: option not found b

I read on php.dev newsgroup that this is the right way to start FastCGI
support since SAPI/FastCGI was discontinued.
But it doesn't work.

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


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

Reply via email to