]> git.pld-linux.org Git - packages/php.git/blobdiff - php-cli.ini
restore php.cli in PHP_5_2 branch
[packages/php.git] / php-cli.ini
index 4d2e0ec1eea118443dc084f318c1cd46f9d72057..9bdb24ad34b2a67bac61eb31a68ef40558d158dc 100644 (file)
@@ -8,13 +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
 
-[Session]
-session.save_path         = /tmp    ; argument passed to save_handler
-                                    ; in the case of files, this is the
-                                    ; path where data files are stored
+; Disable error logging, in case it was enabled in global php.ini
+error_log = ""
 
+[Session]
+; 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.127677 seconds and 4 git commands to generate.