ID:               26039
 Updated by:       [EMAIL PROTECTED]
-Summary:          php -b 8080 returns option not found b
 Reported By:      ken dot davis at experioronline dot com
-Status:           Bogus
+Status:           Closed
 Bug Type:         CGI related
 Operating System: windows 2000
 PHP Version:      4.3.4RC3
 New Comment:

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



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

[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