#45929 [Ver]: fastcgi not documented, and confused with cli
ID: 45929
Updated by: philip@php.net
-Summary: -b option not documented
Reported By: atomo64 at gmail dot com
Status: Verified
Bug Type: Documentation problem
PHP Version: Irrelevant
New Comment:
The CLI and CGI information differs, so this report is now specific to
fastcgi. There are several directives that appear specific to CGI:
-b <address:port>|<port> Bind Path for external FASTCGI Server mode
-C Do not chdir to the script's directory
-q Quiet-mode. Suppress HTTP Header output.
-T <count> Measure execution time of script repeated <count>
times.
And several are specific to CLI, or at least are not showing up in the
CGI help (sapi/cgi/php -h):
-r <code> Run PHP <code> without using script tags <?..?>
-B <begin_code> Run PHP <begin_code> before processing input lines
-R <code> Run PHP <code> for every input line
-F <file> Parse and execute <file> for every input line
-E <end_code> Run PHP <end_code> after processing all input lines
-H Hide any passed arguments from external tools.
-z <file> Load Zend extension <file>.
args... Arguments passed to script. Use -- args when first
argument
starts with - or script is read from stdin
--ini Show configuration file names
--rf <name> Show information about function <name>.
--rc <name> Show information about class <name>.
--re <name> Show information about extension <name>.
--ri <name> Show configuration for extension <name>.
So, I suppose it's time to make features.commandline CLI and something
else for CGI (which is now always FastCGI).
Previous Comments:
------------------------------------------------------------------------
[2008-11-11 16:23:10] kalle@php.net
Jakub, adding it on the features.commandline pages might be ideal where
the other command line switches for using php on command line is :)
------------------------------------------------------------------------
[2008-11-05 09:44:04] vrana@php.net
On which page this should be documented?
------------------------------------------------------------------------
[2008-08-26 18:38:02] atomo64 at gmail dot com
Description:
------------
The -b option used for running the fastcgi server, is not documented
in the manual pages.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45929&edit=1
Thread (5 messages)