From:             verdy_p at wanadoo dot fr
Operating system: Windows
PHP version:      4.3.4
PHP Bug Type:     CGI related
Bug description:  php -b still not working

Description:
------------
I know this bug has already been submitted, but as it has been closed
multiple times and developers only look at open bugs, they don't see this
one which affects the current LATEST stable version of PHP for Windows,
both in the installer version and in the manually installed ZIP file.



When will FastCGI work on Windows? Why is it said to have been fixed when
"php -b" is simply not supported.



C:\> php\php -v

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

Copyright (c) 1997-2003 The PHP Group

Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies





Expected result:
----------------
FastCGI is the MOST important SAPI for PHP, the MSOT secure, the fastest
and the one chosen by almost all ISPs for these reasons, notably because
of the complete separation from the web server, and the possibility to run
it on multiple hosts working in parallel for a cluster of webservers.



Please enable it on a stable version. Or at least come back to the latest
stable version and branch it to include the needed fix for options, and
recreate the distributions for Windows (ZIP and installer).



Then make sure the fix is applied in the next release by looking at
release candidate branches, so that the fix is not forgotten!

Actual result:
--------------
C:\> php\php -b 127.0.0.1:6000

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

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>.



-- 
Edit bug report at http://bugs.php.net/?id=27515&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=27515&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=27515&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=27515&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=27515&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=27515&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=27515&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=27515&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=27515&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=27515&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=27515&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=27515&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=27515&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27515&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=27515&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=27515&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=27515&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=27515&r=float

Reply via email to