]> git.pld-linux.org Git - packages/php.git/blobdiff - php-cli.ini
keep php.cli as file in man as well
[packages/php.git] / php-cli.ini
index 479be181f026bce9075387bee66cffbe9e25d811..9bdb24ad34b2a67bac61eb31a68ef40558d158dc 100644 (file)
@@ -8,20 +8,16 @@
 ; copying whole large php.ini.
 
 [PHP]
-; This directive tells PHP whether to declare the argv&argc variables (that
-; would contain the GET information).  If you don't use these variables, you
-; should turn it off for increased performance.
-register_argc_argv = On
+; This combination (display_errors=off; log_errors=on; error_log ="") allows
+; fatal errors go to STDERR only. We set these separately here, that we won't
+; be affected by global php.ini
+display_errors = Off
+log_errors = On
 
-; Print out errors (as a part of the output).  For production web sites,
-; you're strongly encouraged to turn this feature off, and use error logging
-; instead (see below).  Keeping display_errors enabled on a production web site
-; may reveal security information to end users, such as file paths on your Web
-; server, your database schema or other information.
-display_errors = On
+; Disable error logging, in case it was enabled in global php.ini
+error_log = ""
 
 [Session]
-session.save_path         = /tmp    ; argument passed to save_handler
-                                    ; in the case of files, this is the
-                                    ; path where data files are stored
-
+; argument passed to save_handler in the case of files, this is the
+; path where data files are stored.
+session.save_path = /tmp
This page took 0.059084 seconds and 4 git commands to generate.