]> git.pld-linux.org Git - packages/php.git/blame - php-cli.ini
- preserve ORACLE_HOME env var if oci8 bcond is on
[packages/php.git] / php-cli.ini
CommitLineData
4342041a
JB
1; php-cli.ini - configuration used only for cli SAPI
2;
3; Please note that, unlikely in original php distributions, this file
4; is read AFTER (not instead of) reading global /etc/php/php.ini.
5;
6; It allows you to control global settings for all SAPIs in one place
7; and override some settings in SAPI-specific files without need of
8; copying whole large php.ini.
9
a8122568
ER
10[PHP]
11; This directive tells PHP whether to declare the argv&argc variables (that
12; would contain the GET information). If you don't use these variables, you
13; should turn it off for increased performance.
14register_argc_argv = On
15
f44a16f5
ER
16; Print out errors (as a part of the output). For production web sites,
17; you're strongly encouraged to turn this feature off, and use error logging
18; instead (see below). Keeping display_errors enabled on a production web site
19; may reveal security information to end users, such as file paths on your Web
20; server, your database schema or other information.
3a134789
ER
21;
22; possible values for display_errors:
23;
24; Off - Do not display any errors
25; stderr - Display errors to STDERR (affects only CGI/CLI binaries!)
26; stdout (On) - Display errors to STDOUT
27display_errors = stderr
f44a16f5 28
3a134789
ER
29; Log errors into a log file (server-specific log, stderr, or error_log (below))
30; As stated above, you're strongly advised to use error logging in place of
31; error displaying on production web sites.
32;
33; In CLI it's pointless to log it as we already print them to stderr.
34log_errors = Off
4342041a 35
3a134789
ER
36[Session]
37; argument passed to save_handler in the case of files, this is the
38; path where data files are stored.
39session.save_path = /tmp
This page took 0.037088 seconds and 4 git commands to generate.