1 ; php-cli.ini - configuration used only for cli SAPI
3 ; Please note that, unlikely in original php distributions, this file
4 ; is read AFTER (not instead of) reading global /etc/php/php.ini.
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.
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.
14 register_argc_argv = On
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.
22 ; possible values for display_errors:
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
27 display_errors = stderr
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.
33 ; In CLI it's pointless to log it as we already print them to stderr.
37 ; argument passed to save_handler in the case of files, this is the
38 ; path where data files are stored.
39 session.save_path = /tmp