ID:               26039
 Comment by:       verdy_p at wanadoo dot fr
 Reported By:      ken dot davis at experioronline dot com
 Status:           Closed
 Bug Type:         CGI related
 Operating System: windows 2000
 PHP Version:      4.3.4RC3
 New Comment:

Still not fixed in the last stable version:

PHP 4.3.4 (cgi-fcgi) (built: Nov  2 2003 23:47:22)

-b is said to be supported, and the release notes say that FastCGI has
been fixed to work on Win32, but it does not!

Now 4 months later, it is still not fixed...

When will be the next stable correction? I mean even before PHP5 gets
released... For now people still need to use a "stable" version but
they cannot use it on Windows without fixing the bug in optstring, i.e.
by compiling it.

The Release notes are still wrong as people think it works in PHP 4.3.4
when it does not.

Which precompiled version for Windows as this bug corrected?


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

[2003-10-30 20:27:34] [EMAIL PROTECTED]

Ah, I see. Fixed in CVS now. (the option is not shown anymore)



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

[2003-10-30 15:06:31] ken dot davis at experioronline dot com

I did php -h and it returned:



Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>] 

       php <file> [args...]

  -a               Run interactively

  -b <address:port>|<port> Bind Path for external FASTCGI Server mode

  -C               Do not chdir to the script's directory

  -c <path>|<file> Look for php.ini file in this directory

  -n               No php.ini file will be used

  -d foo[=bar]     Define INI entry foo with value 'bar'

  -e               Generate extended information for debugger/profiler

  -f <file>        Parse <file>.  Implies `-q'

  -h               This help

  -i               PHP information

  -l               Syntax check only (lint)

  -m               Show compiled in modules

  -q               Quiet-mode.  Suppress HTTP Header output.

  -s               Display colour syntax highlighted source.

  -v               Version number

  -w               Display source with stripped comments and
whitespace.

  -z <file>        Load Zend extension <file>.





This is the same as the usage info returned after the error message.

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

[2003-10-30 13:57:56] [EMAIL PROTECTED]

doing 'php -h' would have shown that such option really does not exist.
(It doesn't exist under win32)



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

[2003-10-30 08:55:51] ken dot davis at experioronline dot com

Description:
------------
using the win32 binary



php -b localhost:8080 



returns:



Error in argument 1, char 2: option not found b



along with usage information which includes:



  -b <address:port>|<port> Bind Path for external FASTCGI Server mode



php -v returns:

PHP 4.3.4RC3 (cgi-fcgi) (built: Oct 29 2003 14:56:30)



looking at previous bugs and news.txt it seems this should have been
fixed.







Reproduce code:
---------------
d:\php\php-4.3.4RC3-Win32\php -b localhost:8080 

Expected result:
----------------
php running in fastcgi server mode on port 8080

Actual result:
--------------
Error in argument 1, char 2: option not found b






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


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

Reply via email to