html_errors |
FALSE |
Defaults to FALSE , as it can be quite hard to read error messages
in the shell enviroment when they are cluttered up with uninterpreted
HTML tags.
|
implicit_flush |
TRUE |
In a shell environment, it is usually desirable for output, such as
from print, echo and
friends, to be displayed immediately, and not held in a buffer.
Nonetheless, it is still possible to use
output buffering to
defer or manipulate standard output.
|
max_execution_time |
0 (unlimited) |
PHP in a shell environment tends to be used for a much more diverse
range of purposes than typical Web-based scripts, and as these can
be very long-running, the maximum execution time is set to unlimited.
|
register_argc_argv |
TRUE |
Setting this to TRUE means that scripts executed via the
CLI SAPI always have access to
argc (number of arguments passed to the
application) and argv (array of the actual
arguments).
The PHP variables $argc
and $argv are automatically set to the appropriate
values when using the CLI SAPI. These values can
also be found in the $_SERVER array, for example:
$_SERVER['argv'].
|
output_buffering |
FALSE |
Although the php.ini setting is hardcoded to FALSE , the
Output buffering functions
are available.
|
max_input_time |
FALSE |
The PHP CLI does not support GET, POST or file uploads.
|