#26039 [Bgs]: php -b 8080 returns option not found b

From: Date: Thu, 30 Oct 2003 20:06:32 +0000
Subject: #26039 [Bgs]: php -b 8080 returns option not found b
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-49684@lists.php.net to get a copy of this message
ID: 26039 User updated by: ken dot davis at experioronline dot com Reported By: ken dot davis at experioronline dot com Status: Bogus Bug Type: CGI related Operating System: windows 2000 PHP Version: 4.3.4RC3 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2003-10-30 13:57:56] sniper@php.net 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

« previous php.bugs (#49684) next »