ID:               21367
 Comment by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Assigned
 Bug Type:         Other web server
 Operating System: WinXP
 PHP Version:      4.3.0
 Assigned To:      shane
 New Comment:

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.


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

[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