html_errors |
false |
Defaults to false , as it can be quite hard to read error messages
in the shell environment 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.
|