|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-10-30 08:55 UTC] 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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 02:00:01 2025 UTC |
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.