From: foobar Date: Mon, 4 Apr 2005 07:55:13 +0000 (+0000) Subject: - If this is supposed to be the configuration we recommend, X-Git-Tag: php-5.0.1b1~620 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25dd01d4287fe20ac286ff0f58c954be189cf230;p=php - If this is supposed to be the configuration we recommend, we've been recommending to not use short-open-tag for a long time. E_STRICT too for 5.1 since it promotes the right ways (tm) to do things. # # This is for 5.1, 5.1, 5.1, 5.1... # --- diff --git a/php.ini-recommended b/php.ini-recommended index b845723ddd..101eebb068 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -138,7 +138,7 @@ zend.ze1_compatibility_mode = Off ; servers which are not under your control, because short tags may not ; be supported on the target server. For portable, redistributable code, ; be sure not to use short tags. -short_open_tag = On +short_open_tag = Off ; Allow ASP-style <% %> tags. asp_tags = Off @@ -345,9 +345,9 @@ memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ; ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR ; -; - Show all errors +; - Show all errors, including coding standards warnings ; -error_reporting = E_ALL +error_reporting = E_ALL | E_STRICT ; 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