From: Elan Ruusamäe Date: Wed, 9 May 2007 08:25:06 +0000 (+0000) Subject: - display errors on terminal with php-cli X-Git-Tag: auto/ac/php-5_2_2-1~1 X-Git-Url: https://git.pld-linux.org/?a=commitdiff_plain;h=f44a16f5fdcad844485bf3c802a800df5d1f4ce4;p=packages%2Fphp.git - display errors on terminal with php-cli Changed files: php-cli.ini -> 1.3 --- diff --git a/php-cli.ini b/php-cli.ini index 4d2e0ec..479be18 100644 --- a/php-cli.ini +++ b/php-cli.ini @@ -13,6 +13,13 @@ ; should turn it off for increased performance. register_argc_argv = 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 + [Session] session.save_path = /tmp ; argument passed to save_handler ; in the case of files, this is the