diff options
Diffstat (limited to 'php.ini-dist')
-rw-r--r-- | php.ini-dist | 84 |
1 files changed, 48 insertions, 36 deletions
diff --git a/php.ini-dist b/php.ini-dist index c98cb65b2..4fee3fee8 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -124,6 +124,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 @@ -253,7 +254,7 @@ expose_php = On max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 60 ; Maximum amount of time each script may spend parsing request data -memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) +memory_limit = 16M ; Maximum amount of memory a script may consume (16MB) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; @@ -264,6 +265,7 @@ memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ; reporting level ; E_ALL - All errors and warnings (doesn't include E_STRICT) ; E_ERROR - fatal run-time errors +; E_RECOVERABLE_ERROR - almost fatal run-time errors ; E_WARNING - run-time warnings (non-fatal errors) ; E_PARSE - compile-time parse errors ; E_NOTICE - run-time notices (these are warnings which often result @@ -271,7 +273,7 @@ memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ; intentional (e.g., using an uninitialized variable and ; relying on the fact it's automatically initialized to an ; empty string) -; E_STRICT - run-time notices, enable to have PHP suggest changes +; E_STRICT - run-time notices, enable to have PHP suggest changes ; to your code which will ensure the best interoperability ; and forward compatibility of your code ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup @@ -295,7 +297,7 @@ memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ; ; - Show only errors ; -;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR +;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR ; ; - Show all errors except for notices and coding standards warnings ; @@ -328,7 +330,7 @@ ignore_repeated_errors = Off ; Ignore source of message when ignoring repeated messages. When this setting ; is On you will not log errors with repeated messages from different files or -; sourcelines. +; source lines. ignore_repeated_source = Off ; If this parameter is set to Off, then memory leaks will not be shown (on @@ -336,6 +338,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 @@ -531,6 +535,9 @@ upload_max_filesize = 2M ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. allow_url_fopen = On +; Whether to allow include/require to open URLs (like http:// or ftp://) as files. +allow_url_include = Off + ; Define the anonymous ftp password (your email address) ;from="john@doe.com" @@ -617,7 +624,33 @@ default_socket_timeout = 60 [Date] ; Defines the default timezone used by the date functions -;date.timezone = +;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 + +[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, @@ -703,7 +736,7 @@ mysql.default_user = ; file will be able to reveal the password as well. mysql.default_password = -; Maximum time (in secondes) for connect timeout. -1 means no limit +; Maximum time (in seconds) for connect timeout. -1 means no limit mysql.connect_timeout = 60 ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and @@ -791,7 +824,7 @@ sybase.min_error_severity = 10 ; Minimum message severity to display. sybase.min_message_severity = 10 -; Compatability mode with old versions of PHP 3.0. +; Compatibility mode with old versions of PHP 3.0. ; If on, this will cause PHP to automatically assign types to results according ; to their Sybase type, instead of treating them all as strings. This ; compatibility mode will probably not stay around forever, so try applying @@ -893,6 +926,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 0. ; session.use_only_cookies = 1 @@ -912,6 +947,9 @@ session.cookie_path = / ; The domain for which the cookie is valid. session.cookie_domain = +; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript. +session.cookie_httponly = + ; Handler used to serialize data. php is the standard serializer of PHP. session.serialize_handler = php @@ -1014,7 +1052,7 @@ mssql.min_error_severity = 10 ; Minimum message severity to display. mssql.min_message_severity = 10 -; Compatability mode with old versions of PHP 3.0. +; Compatibility mode with old versions of PHP 3.0. mssql.compatability_mode = Off ; Connect timeout @@ -1067,28 +1105,6 @@ mssql.secure_connection = Off ; error_reporting(0) around the eval(). ;assert.quiet_eval = 0 -[Verisign Payflow Pro] -; Default Payflow Pro server. -pfpro.defaulthost = "test-payflow.verisign.com" - -; Default port to connect to. -pfpro.defaultport = 443 - -; Default timeout in seconds. -pfpro.defaulttimeout = 30 - -; Default proxy IP address (if required). -;pfpro.proxyaddress = - -; Default proxy port. -;pfpro.proxyport = - -; Default proxy logon. -;pfpro.proxylogon = - -; Default proxy password. -;pfpro.proxypassword = - [COM] ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs ;com.typelib_file = @@ -1098,7 +1114,7 @@ pfpro.defaulttimeout = 30 ;com.autoregister_typelib = true ; register constants casesensitive ;com.autoregister_casesensitive = false -; show warnings on duplicate constat registrations +; show warnings on duplicate constant registrations ;com.autoregister_verbose = true [mbstring] @@ -1142,9 +1158,6 @@ pfpro.defaulttimeout = 30 ; 4: Overload ereg*() functions ;mbstring.func_overload = 0 -; enable strict encoding detection. -;mbstring.strict_encoding = Off - [FrontBase] ;fbsql.allow_persistent = On ;fbsql.autocommit = On @@ -1159,14 +1172,13 @@ pfpro.defaulttimeout = 30 ;fbsql.max_links = 128 ;fbsql.max_persistent = -1 ;fbsql.max_results = 128 -;fbsql.batchSize = 1000 [gd] ; Tell the jpeg decode to libjpeg warnings and try to create ; a gd image. The warning will then be displayed as notices ; disabled by default ;gd.jpeg_ignore_warning = 0 - + [exif] ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. ; With mbstring support this will automatically be converted into the encoding |