From: Hannes Magnusson Date: Thu, 28 Sep 2006 19:11:26 +0000 (+0000) Subject: MFB; new ini options X-Git-Tag: RELEASE_1_0_0RC1~1519 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca4b00492de11396a6a5e570c122f326b6e20d5d;p=php MFB; new ini options --- diff --git a/php.ini-dist b/php.ini-dist index fc44d51820..16b8f74739 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -118,6 +118,7 @@ output_buffering = Off ; Note: You need to use zlib.output_handler instead of the standard ; output_handler, or otherwise the output will be corrupted. zlib.output_compression = Off +;zlib.output_compression_level = -1 ; You cannot specify additional output handlers if zlib.output_compression ; is activated here. This setting does the same as output_handler but in @@ -285,6 +286,8 @@ ignore_repeated_source = Off ; error reporting includes E_WARNING in the allowed list report_memleaks = On +;report_zend_debug = 0 + ; Store the last error/warning message in $php_errormsg (boolean). track_errors = Off @@ -549,6 +552,35 @@ default_socket_timeout = 60 ; Defines the default timezone used by the date functions ;date.timezone = +;date.default_latitude = 31.7667 +;date.default_longitude = 35.2333 + +;date.sunrise_zenith = 90.583333 +;date.sunset_zenith = 90.583333 + +[filter] +;filter.default = unsafe_raw +;filter.default_flags = + +[iconv] +;iconv.input_encoding = ISO-8859-1 +;iconv.internal_encoding = ISO-8859-1 +;iconv.output_encoding = ISO-8859-1 + +[pdo] +;pdo.global_value = 41 + +[sqlite] +;sqlite.assoc_case = 0 + +[xmlrpc] +;xmlrpc_error_number = 0 +;xmlrpc_errors = 0 + +[Pcre] +;pcre.recursion_limit=100000 +;pcre.backtrack_limit=100000 + [Syslog] ; Whether or not to define the various syslog variables (e.g. $LOG_PID, ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In @@ -823,6 +855,8 @@ session.save_handler = files ; Whether to use cookies. session.use_cookies = 1 +;session.cookie_secure = + ; This option enables administrators to make their users invulnerable to ; attacks which involve passing session ids in URLs; defaults to 1. session.use_only_cookies = 1 diff --git a/php.ini-recommended b/php.ini-recommended index 923f463751..b9b09907a6 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -151,6 +151,7 @@ output_buffering = 4096 ; Note: You need to use zlib.output_handler instead of the standard ; output_handler, or otherwise the output will be corrupted. zlib.output_compression = Off +;zlib.output_compression_level = -1 ; You cannot specify additional output handlers if zlib.output_compression ; is activated here. This setting does the same as output_handler but in @@ -318,6 +319,8 @@ ignore_repeated_source = Off ; error reporting includes E_WARNING in the allowed list report_memleaks = On +;report_zend_debug = 0 + ; Store the last error/warning message in $php_errormsg (boolean). track_errors = Off @@ -580,6 +583,35 @@ default_socket_timeout = 60 ; Defines the default timezone used by the date functions ;date.timezone = +;date.default_latitude = 31.7667 +;date.default_longitude = 35.2333 + +;date.sunrise_zenith = 90.583333 +;date.sunset_zenith = 90.583333 + +[filter] +;filter.default = unsafe_raw +;filter.default_flags = + +[iconv] +;iconv.input_encoding = ISO-8859-1 +;iconv.internal_encoding = ISO-8859-1 +;iconv.output_encoding = ISO-8859-1 + +[pdo] +;pdo.global_value = 41 + +[sqlite] +;sqlite.assoc_case = 0 + +[xmlrpc] +;xmlrpc_error_number = 0 +;xmlrpc_errors = 0 + +[Pcre] +;pcre.recursion_limit=100000 +;pcre.backtrack_limit=100000 + [Syslog] ; Whether or not to define the various syslog variables (e.g. $LOG_PID, ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In @@ -854,6 +886,8 @@ session.save_handler = files ; Whether to use cookies. session.use_cookies = 1 +;session.cookie_secure = + ; This option enables administrators to make their users invulnerable to ; attacks which involve passing session ids in URLs; defaults to 1. session.use_only_cookies = 1