]> git.pld-linux.org Git - packages/php.git/blob - php-cli.ini
5e6e93baed376d5dd9d75cd3016fb48bdd888f02
[packages/php.git] / php-cli.ini
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
10 [PHP]
11 ; Print out errors (as a part of the output).  For production web sites,
12 ; you're strongly encouraged to turn this feature off, and use error logging
13 ; instead (see below).  Keeping display_errors enabled on a production web site
14 ; may reveal security information to end users, such as file paths on your Web
15 ; server, your database schema or other information.
16 ;
17 ; possible values for display_errors:
18 ;
19 ; Off        - Do not display any errors
20 ; stderr     - Display errors to STDERR (affects only CGI/CLI binaries!)
21 ; stdout (On) - Display errors to STDOUT
22 display_errors = stderr
23
24 ; Log errors into a log file (server-specific log, stderr, or error_log (below))
25 ; As stated above, you're strongly advised to use error logging in place of
26 ; error displaying on production web sites.
27 ;
28 ; In CLI it's pointless to log it as we already print them to stderr.
29 log_errors = Off
30
31 [Session]
32 ; argument passed to save_handler in the case of files, this is the
33 ; path where data files are stored.
34 session.save_path = /tmp
This page took 0.023155 seconds and 3 git commands to generate.