]> 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 fb687758425a63a1eba0d402259f323c8a7d1dbd..9bdb24ad34b2a67bac61eb31a68ef40558d158dc 100644 (file)
@@ -7,8 +7,17 @@
 ; and override some settings in SAPI-specific files without need of
 ; copying whole large php.ini.
 
-[Session]
-session.save_path         = /tmp    ; argument passed to save_handler
-                                    ; in the case of files, this is the
-                                    ; path where data files are stored
+[PHP]
+; 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
+
+; 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.026516 seconds and 4 git commands to generate.