~ubuntu-branches/ubuntu/hardy/php5/hardy-updates

« back to all changes in this revision

Viewing changes to php.ini-recommended

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-10-09 03:14:32 UTC
  • Revision ID: james.westby@ubuntu.com-20051009031432-kspik3lobxstafv9
Tags: upstream-5.0.5
ImportĀ upstreamĀ versionĀ 5.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
[PHP]
 
2
 
 
3
;;;;;;;;;;;;;;;;;;;
 
4
; About php.ini   ;
 
5
;;;;;;;;;;;;;;;;;;;
 
6
; This file controls many aspects of PHP's behavior.  In order for PHP to
 
7
; read it, it must be named 'php.ini'.  PHP looks for it in the current
 
8
; working directory, in the path designated by the environment variable
 
9
; PHPRC, and in the path that was defined in compile time (in that order).
 
10
; Under Windows, the compile-time path is the Windows directory.  The
 
11
; path in which the php.ini file is looked for can be overridden using
 
12
; the -c argument in command line mode.
 
13
;
 
14
; The syntax of the file is extremely simple.  Whitespace and Lines
 
15
; beginning with a semicolon are silently ignored (as you probably guessed).
 
16
; Section headers (e.g. [Foo]) are also silently ignored, even though
 
17
; they might mean something in the future.
 
18
;
 
19
; Directives are specified using the following syntax:
 
20
; directive = value
 
21
; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
 
22
;
 
23
; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
 
24
; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
 
25
; (e.g. E_ALL & ~E_NOTICE), or a quoted string ("foo").
 
26
;
 
27
; Expressions in the INI file are limited to bitwise operators and parentheses:
 
28
; |        bitwise OR
 
29
; &        bitwise AND
 
30
; ~        bitwise NOT
 
31
; !        boolean NOT
 
32
;
 
33
; Boolean flags can be turned on using the values 1, On, True or Yes.
 
34
; They can be turned off using the values 0, Off, False or No.
 
35
;
 
36
; An empty string can be denoted by simply not writing anything after the equal
 
37
; sign, or by using the None keyword:
 
38
;
 
39
;  foo =         ; sets foo to an empty string
 
40
;  foo = none    ; sets foo to an empty string
 
41
;  foo = "none"  ; sets foo to the string 'none'
 
42
;
 
43
; If you use constants in your value, and these constants belong to a
 
44
; dynamically loaded extension (either a PHP extension or a Zend extension),
 
45
; you may only use these constants *after* the line that loads the extension.
 
46
 
47
;
 
48
;;;;;;;;;;;;;;;;;;;
 
49
; About this file ;
 
50
;;;;;;;;;;;;;;;;;;;
 
51
; This is the recommended, PHP 5-style version of the php.ini-dist file.  It
 
52
; sets some non standard settings, that make PHP more efficient, more secure,
 
53
; and encourage cleaner coding.
 
54
;
 
55
; The price is that with these settings, PHP may be incompatible with some
 
56
; applications, and sometimes, more difficult to develop with.  Using this
 
57
; file is warmly recommended for production sites.  As all of the changes from
 
58
; the standard settings are thoroughly documented, you can go over each one,
 
59
; and decide whether you want to use it or not.
 
60
;
 
61
; For general information about the php.ini file, please consult the php.ini-dist
 
62
; file, included in your PHP distribution.
 
63
;
 
64
; This file is different from the php.ini-dist file in the fact that it features
 
65
; different values for several directives, in order to improve performance, while
 
66
; possibly breaking compatibility with the standard out-of-the-box behavior of
 
67
; PHP.  Please make sure you read what's different, and modify your scripts
 
68
; accordingly, if you decide to use this file instead.
 
69
;
 
70
; - register_globals = Off         [Security, Performance]
 
71
;     Global variables are no longer registered for input data (POST, GET, cookies,
 
72
;     environment and other server variables).  Instead of using $foo, you must use
 
73
;     you can use $_REQUEST["foo"] (includes any variable that arrives through the
 
74
;     request, namely, POST, GET and cookie variables), or use one of the specific
 
75
;     $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
 
76
;     on where the input originates.  Also, you can look at the
 
77
;     import_request_variables() function.
 
78
;     Note that register_globals is going to be depracated (i.e., turned off by
 
79
;     default) in the next version of PHP, because it often leads to security bugs.
 
80
;     Read http://php.net/manual/en/security.registerglobals.php for further
 
81
;     information.
 
82
; - register_long_arrays = Off     [Performance]
 
83
;     Disables registration of the older (and deprecated) long predefined array
 
84
;     variables ($HTTP_*_VARS).  Instead, use the superglobals that were
 
85
;     introduced in PHP 4.1.0
 
86
; - display_errors = Off           [Security]
 
87
;     With this directive set to off, errors that occur during the execution of
 
88
;     scripts will no longer be displayed as a part of the script output, and thus,
 
89
;     will no longer be exposed to remote users.  With some errors, the error message
 
90
;     content may expose information about your script, web server, or database
 
91
;     server that may be exploitable for hacking.  Production sites should have this
 
92
;     directive set to off.
 
93
; - log_errors = On                [Security]
 
94
;     This directive complements the above one.  Any errors that occur during the
 
95
;     execution of your script will be logged (typically, to your server's error log,
 
96
;     but can be configured in several ways).  Along with setting display_errors to off,
 
97
;     this setup gives you the ability to fully understand what may have gone wrong,
 
98
;     without exposing any sensitive information to remote users.
 
99
; - output_buffering = 4096        [Performance]
 
100
;     Set a 4KB output buffer.  Enabling output buffering typically results in less
 
101
;     writes, and sometimes less packets sent on the wire, which can often lead to
 
102
;     better performance.  The gain this directive actually yields greatly depends
 
103
;     on which Web server you're working with, and what kind of scripts you're using.
 
104
; - register_argc_argv = Off       [Performance]
 
105
;     Disables registration of the somewhat redundant $argv and $argc global
 
106
;     variables.
 
107
; - magic_quotes_gpc = Off         [Performance]
 
108
;     Input data is no longer escaped with slashes so that it can be sent into
 
109
;     SQL databases without further manipulation.  Instead, you should use the
 
110
;     function addslashes() on each input element you wish to send to a database.
 
111
; - variables_order = "GPCS"       [Performance]
 
112
;     The environment variables are not hashed into the $_ENV.  To access
 
113
;     environment variables, you can use getenv() instead.
 
114
; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
 
115
;     By default, PHP surpresses errors of type E_NOTICE.  These error messages
 
116
;     are emitted for non-critical errors, but that could be a symptom of a bigger
 
117
;     problem.  Most notably, this will cause error messages about the use
 
118
;     of uninitialized variables to be displayed.
 
119
; - allow_call_time_pass_reference = Off     [Code cleanliness]
 
120
;     It's not possible to decide to force a variable to be passed by reference
 
121
;     when calling a function.  The PHP 4 style to do this is by making the
 
122
;     function require the relevant argument by reference.
 
123
 
 
124
 
 
125
;;;;;;;;;;;;;;;;;;;;
 
126
; Language Options ;
 
127
;;;;;;;;;;;;;;;;;;;;
 
128
 
 
129
; Enable the PHP scripting language engine under Apache.
 
130
engine = On
 
131
 
 
132
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
 
133
zend.ze1_compatibility_mode = Off
 
134
 
 
135
; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.
 
136
; NOTE: Using short tags should be avoided when developing applications or
 
137
; libraries that are meant for redistribution, or deployment on PHP
 
138
; servers which are not under your control, because short tags may not
 
139
; be supported on the target server. For portable, redistributable code,
 
140
; be sure not to use short tags.
 
141
short_open_tag = On
 
142
 
 
143
; Allow ASP-style <% %> tags.
 
144
asp_tags = Off
 
145
 
 
146
; The number of significant digits displayed in floating point numbers.
 
147
precision    =  14
 
148
 
 
149
; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
 
150
y2k_compliance = On
 
151
 
 
152
; Output buffering allows you to send header lines (including cookies) even
 
153
; after you send body content, at the price of slowing PHP's output layer a
 
154
; bit.  You can enable output buffering during runtime by calling the output
 
155
; buffering functions.  You can also enable output buffering for all files by
 
156
; setting this directive to On.  If you wish to limit the size of the buffer
 
157
; to a certain size - you can use a maximum number of bytes instead of 'On', as
 
158
; a value for this directive (e.g., output_buffering=4096).
 
159
output_buffering = 4096
 
160
 
 
161
; You can redirect all of the output of your scripts to a function.  For
 
162
; example, if you set output_handler to "mb_output_handler", character
 
163
; encoding will be transparently converted to the specified encoding.
 
164
; Setting any output handler automatically turns on output buffering.
 
165
; Note: People who wrote portable scripts should not depend on this ini
 
166
;       directive. Instead, explicitly set the output handler using ob_start().
 
167
;       Using this ini directive may cause problems unless you know what script
 
168
;       is doing.
 
169
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
 
170
;       and you cannot use both "ob_gzhandler" and "zlib.output_compression".
 
171
; Note: output_handler must be empty if this is set 'On' !!!!
 
172
;       Instead you must use zlib.output_handler.
 
173
;output_handler =
 
174
 
 
175
; Transparent output compression using the zlib library
 
176
; Valid values for this option are 'off', 'on', or a specific buffer size
 
177
; to be used for compression (default is 4KB)
 
178
; Note: Resulting chunk size may vary due to nature of compression. PHP
 
179
;       outputs chunks that are few hundreds bytes each as a result of
 
180
;       compression. If you prefer a larger chunk size for better
 
181
;       performance, enable output_buffering in addition.
 
182
; Note: You need to use zlib.output_handler instead of the standard
 
183
;       output_handler, or otherwise the output will be corrupted.
 
184
zlib.output_compression = Off
 
185
 
 
186
; You cannot specify additional output handlers if zlib.output_compression
 
187
; is activated here. This setting does the same as output_handler but in
 
188
; a different order.
 
189
;zlib.output_handler =
 
190
 
 
191
; Implicit flush tells PHP to tell the output layer to flush itself
 
192
; automatically after every output block.  This is equivalent to calling the
 
193
; PHP function flush() after each and every call to print() or echo() and each
 
194
; and every HTML block.  Turning this option on has serious performance
 
195
; implications and is generally recommended for debugging purposes only.
 
196
implicit_flush = Off
 
197
 
 
198
; The unserialize callback function will be called (with the undefined class'
 
199
; name as parameter), if the unserializer finds an undefined class
 
200
; which should be instanciated.
 
201
; A warning appears if the specified function is not defined, or if the
 
202
; function doesn't include/implement the missing class.
 
203
; So only set this entry, if you really want to implement such a
 
204
; callback-function.
 
205
unserialize_callback_func=
 
206
 
 
207
; When floats & doubles are serialized store serialize_precision significant
 
208
; digits after the floating point. The default value ensures that when floats
 
209
; are decoded with unserialize, the data will remain the same.
 
210
serialize_precision = 100
 
211
 
 
212
; Whether to enable the ability to force arguments to be passed by reference
 
213
; at function call time.  This method is deprecated and is likely to be
 
214
; unsupported in future versions of PHP/Zend.  The encouraged method of
 
215
; specifying which arguments should be passed by reference is in the function
 
216
; declaration.  You're encouraged to try and turn this option Off and make
 
217
; sure your scripts work properly with it in order to ensure they will work
 
218
; with future versions of the language (you will receive a warning each time
 
219
; you use this feature, and the argument will be passed by value instead of by
 
220
; reference).
 
221
allow_call_time_pass_reference = Off
 
222
 
 
223
;
 
224
; Safe Mode
 
225
;
 
226
safe_mode = Off
 
227
 
 
228
; By default, Safe Mode does a UID compare check when
 
229
; opening files. If you want to relax this to a GID compare,
 
230
; then turn on safe_mode_gid.
 
231
safe_mode_gid = Off
 
232
 
 
233
; When safe_mode is on, UID/GID checks are bypassed when
 
234
; including files from this directory and its subdirectories.
 
235
; (directory must also be in include_path or full path must
 
236
; be used when including)
 
237
safe_mode_include_dir =
 
238
 
 
239
; When safe_mode is on, only executables located in the safe_mode_exec_dir
 
240
; will be allowed to be executed via the exec family of functions.
 
241
safe_mode_exec_dir =
 
242
 
 
243
; Setting certain environment variables may be a potential security breach.
 
244
; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
 
245
; the user may only alter environment variables whose names begin with the
 
246
; prefixes supplied here.  By default, users will only be able to set
 
247
; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
 
248
;
 
249
; Note:  If this directive is empty, PHP will let the user modify ANY
 
250
; environment variable!
 
251
safe_mode_allowed_env_vars = PHP_
 
252
 
 
253
; This directive contains a comma-delimited list of environment variables that
 
254
; the end user won't be able to change using putenv().  These variables will be
 
255
; protected even if safe_mode_allowed_env_vars is set to allow to change them.
 
256
safe_mode_protected_env_vars = LD_LIBRARY_PATH
 
257
 
 
258
; open_basedir, if set, limits all file operations to the defined directory
 
259
; and below.  This directive makes most sense if used in a per-directory
 
260
; or per-virtualhost web server configuration file. This directive is
 
261
; *NOT* affected by whether Safe Mode is turned On or Off.
 
262
;open_basedir =
 
263
 
 
264
; This directive allows you to disable certain functions for security reasons.
 
265
; It receives a comma-delimited list of function names. This directive is
 
266
; *NOT* affected by whether Safe Mode is turned On or Off.
 
267
disable_functions =
 
268
 
 
269
; This directive allows you to disable certain classes for security reasons.
 
270
; It receives a comma-delimited list of class names. This directive is
 
271
; *NOT* affected by whether Safe Mode is turned On or Off.
 
272
disable_classes =
 
273
 
 
274
; Colors for Syntax Highlighting mode.  Anything that's acceptable in
 
275
; <span style="color: ???????"> would work.
 
276
;highlight.string  = #DD0000
 
277
;highlight.comment = #FF9900
 
278
;highlight.keyword = #007700
 
279
;highlight.bg      = #FFFFFF
 
280
;highlight.default = #0000BB
 
281
;highlight.html    = #000000
 
282
 
 
283
 
 
284
;
 
285
; Misc
 
286
;
 
287
; Decides whether PHP may expose the fact that it is installed on the server
 
288
; (e.g. by adding its signature to the Web server header).  It is no security
 
289
; threat in any way, but it makes it possible to determine whether you use PHP
 
290
; on your server or not.
 
291
expose_php = On
 
292
 
 
293
 
 
294
;;;;;;;;;;;;;;;;;;;
 
295
; Resource Limits ;
 
296
;;;;;;;;;;;;;;;;;;;
 
297
 
 
298
max_execution_time = 30     ; Maximum execution time of each script, in seconds
 
299
max_input_time = 60     ; Maximum amount of time each script may spend parsing request data
 
300
memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
 
301
 
 
302
 
 
303
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
304
; Error handling and logging ;
 
305
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 
306
 
 
307
; error_reporting is a bit-field.  Or each number up to get desired error
 
308
; reporting level
 
309
; E_ALL             - All errors and warnings (doesn't include E_STRICT)
 
310
; E_ERROR           - fatal run-time errors
 
311
; E_WARNING         - run-time warnings (non-fatal errors)
 
312
; E_PARSE           - compile-time parse errors
 
313
; E_NOTICE          - run-time notices (these are warnings which often result
 
314
;                     from a bug in your code, but it's possible that it was
 
315
;                     intentional (e.g., using an uninitialized variable and
 
316
;                     relying on the fact it's automatically initialized to an
 
317
;                     empty string)
 
318
; E_STRICT          - run-time notices, enable to have PHP suggest changes
 
319
;                     to your code which will ensure the best interoperability
 
320
;                     and forward compatibility of your code
 
321
; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
 
322
; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
 
323
;                     initial startup
 
324
; E_COMPILE_ERROR   - fatal compile-time errors
 
325
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
 
326
; E_USER_ERROR      - user-generated error message
 
327
; E_USER_WARNING    - user-generated warning message
 
328
; E_USER_NOTICE     - user-generated notice message
 
329
;
 
330
; Examples:
 
331
;
 
332
;   - Show all errors, except for notices and coding standards warnings
 
333
;
 
334
;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
 
335
;
 
336
;   - Show all errors, except for notices
 
337
;
 
338
;error_reporting = E_ALL & ~E_NOTICE
 
339
;
 
340
;   - Show only errors
 
341
;
 
342
;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
 
343
;
 
344
;   - Show all errors
 
345
;
 
346
error_reporting  =  E_ALL
 
347
 
 
348
; Print out errors (as a part of the output).  For production web sites,
 
349
; you're strongly encouraged to turn this feature off, and use error logging
 
350
; instead (see below).  Keeping display_errors enabled on a production web site
 
351
; may reveal security information to end users, such as file paths on your Web
 
352
; server, your database schema or other information.
 
353
display_errors = Off
 
354
 
 
355
; Even when display_errors is on, errors that occur during PHP's startup
 
356
; sequence are not displayed.  It's strongly recommended to keep
 
357
; display_startup_errors off, except for when debugging.
 
358
display_startup_errors = Off
 
359
 
 
360
; Log errors into a log file (server-specific log, stderr, or error_log (below))
 
361
; As stated above, you're strongly advised to use error logging in place of
 
362
; error displaying on production web sites.
 
363
log_errors = On
 
364
 
 
365
; Set maximum length of log_errors. In error_log information about the source is
 
366
; added. The default is 1024 and 0 allows to not apply any maximum length at all.
 
367
log_errors_max_len = 1024
 
368
 
 
369
; Do not log repeated messages. Repeated errors must occur in same file on same
 
370
; line until ignore_repeated_source is set true.
 
371
ignore_repeated_errors = Off
 
372
 
 
373
; Ignore source of message when ignoring repeated messages. When this setting
 
374
; is On you will not log errors with repeated messages from different files or
 
375
; sourcelines.
 
376
ignore_repeated_source = Off
 
377
 
 
378
; If this parameter is set to Off, then memory leaks will not be shown (on
 
379
; stdout or in the log). This has only effect in a debug compile, and if
 
380
; error reporting includes E_WARNING in the allowed list
 
381
report_memleaks = On
 
382
 
 
383
; Store the last error/warning message in $php_errormsg (boolean).
 
384
track_errors = Off
 
385
 
 
386
; Disable the inclusion of HTML tags in error messages.
 
387
; Note: Never use this feature for production boxes.
 
388
;html_errors = Off
 
389
 
 
390
; If html_errors is set On PHP produces clickable error messages that direct
 
391
; to a page describing the error or function causing the error in detail.
 
392
; You can download a copy of the PHP manual from http://www.php.net/docs.php
 
393
; and change docref_root to the base URL of your local copy including the
 
394
; leading '/'. You must also specify the file extension being used including
 
395
; the dot.
 
396
; Note: Never use this feature for production boxes.
 
397
;docref_root = "/phpmanual/"
 
398
;docref_ext = .html
 
399
 
 
400
; String to output before an error message.
 
401
;error_prepend_string = "<font color=ff0000>"
 
402
 
 
403
; String to output after an error message.
 
404
;error_append_string = "</font>"
 
405
 
 
406
; Log errors to specified file.
 
407
;error_log = filename
 
408
 
 
409
; Log errors to syslog (Event Log on NT, not valid in Windows 95).
 
410
;error_log = syslog
 
411
 
 
412
 
 
413
;;;;;;;;;;;;;;;;;
 
414
; Data Handling ;
 
415
;;;;;;;;;;;;;;;;;
 
416
;
 
417
; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
 
418
 
 
419
; The separator used in PHP generated URLs to separate arguments.
 
420
; Default is "&".
 
421
;arg_separator.output = "&amp;"
 
422
 
 
423
; List of separator(s) used by PHP to parse input URLs into variables.
 
424
; Default is "&".
 
425
; NOTE: Every character in this directive is considered as separator!
 
426
;arg_separator.input = ";&"
 
427
 
 
428
; This directive describes the order in which PHP registers GET, POST, Cookie,
 
429
; Environment and Built-in variables (G, P, C, E & S respectively, often
 
430
; referred to as EGPCS or GPC).  Registration is done from left to right, newer
 
431
; values override older values.
 
432
variables_order = "GPCS"
 
433
 
 
434
; Whether or not to register the EGPCS variables as global variables.  You may
 
435
; want to turn this off if you don't want to clutter your scripts' global scope
 
436
; with user data.  This makes most sense when coupled with track_vars - in which
 
437
; case you can access all of the GPC variables through the $HTTP_*_VARS[],
 
438
; variables.
 
439
;
 
440
; You should do your best to write your scripts so that they do not require
 
441
; register_globals to be on;  Using form variables as globals can easily lead
 
442
; to possible security problems, if the code is not very well thought of.
 
443
register_globals = Off
 
444
 
 
445
; Whether or not to register the old-style input arrays, HTTP_GET_VARS
 
446
; and friends.  If you're not using them, it's recommended to turn them off,
 
447
; for performance reasons.
 
448
register_long_arrays = Off
 
449
 
 
450
; This directive tells PHP whether to declare the argv&argc variables (that
 
451
; would contain the GET information).  If you don't use these variables, you
 
452
; should turn it off for increased performance.
 
453
register_argc_argv = Off
 
454
 
 
455
; When enabled, the SERVER and ENV variables are created when they're first
 
456
; used (Just In Time) instead of when the script starts. If these variables
 
457
; are not used within a script, having this directive on will result in a
 
458
; performance gain. The PHP directives register_globals, register_long_arrays,
 
459
; and register_argc_argv must be disabled for this directive to have any affect.
 
460
auto_globals_jit = On
 
461
 
 
462
; Maximum size of POST data that PHP will accept.
 
463
post_max_size = 8M
 
464
 
 
465
; Magic quotes
 
466
;
 
467
 
 
468
; Magic quotes for incoming GET/POST/Cookie data.
 
469
magic_quotes_gpc = Off
 
470
 
 
471
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
 
472
magic_quotes_runtime = Off
 
473
 
 
474
; Use Sybase-style magic quotes (escape ' with '' instead of \').
 
475
magic_quotes_sybase = Off
 
476
 
 
477
; Automatically add files before or after any PHP document.
 
478
auto_prepend_file =
 
479
auto_append_file =
 
480
 
 
481
; As of 4.0b4, PHP always outputs a character encoding by default in
 
482
; the Content-type: header.  To disable sending of the charset, simply
 
483
; set it to be empty.
 
484
;
 
485
; PHP's built-in default is text/html
 
486
default_mimetype = "text/html"
 
487
;default_charset = "iso-8859-1"
 
488
 
 
489
; Always populate the $HTTP_RAW_POST_DATA variable.
 
490
;always_populate_raw_post_data = On
 
491
 
 
492
 
 
493
;;;;;;;;;;;;;;;;;;;;;;;;;
 
494
; Paths and Directories ;
 
495
;;;;;;;;;;;;;;;;;;;;;;;;;
 
496
 
 
497
; UNIX: "/path1:/path2"
 
498
;include_path = ".:/php/includes"
 
499
;
 
500
; Windows: "\path1;\path2"
 
501
;include_path = ".;c:\php\includes"
 
502
 
 
503
; The root of the PHP pages, used only if nonempty.
 
504
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
 
505
; if you are running php as a CGI under any web server (other than IIS)
 
506
; see documentation for security issues.  The alternate is to use the
 
507
; cgi.force_redirect configuration below
 
508
doc_root =
 
509
 
 
510
; The directory under which PHP opens the script using /~username used only
 
511
; if nonempty.
 
512
user_dir =
 
513
 
 
514
; Directory in which the loadable extensions (modules) reside.
 
515
extension_dir = "./"
 
516
 
 
517
; Whether or not to enable the dl() function.  The dl() function does NOT work
 
518
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
 
519
; disabled on them.
 
520
enable_dl = On
 
521
 
 
522
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
 
523
; most web servers.  Left undefined, PHP turns this on by default.  You can
 
524
; turn it off here AT YOUR OWN RISK
 
525
; **You CAN safely turn this off for IIS, in fact, you MUST.**
 
526
; cgi.force_redirect = 1
 
527
 
 
528
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
 
529
; every request.
 
530
; cgi.nph = 1
 
531
 
 
532
; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
 
533
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
 
534
; will look for to know it is OK to continue execution.  Setting this variable MAY
 
535
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
 
536
; cgi.redirect_status_env = ;
 
537
 
 
538
; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
 
539
; security tokens of the calling client.  This allows IIS to define the
 
540
; security context that the request runs under.  mod_fastcgi under Apache
 
541
; does not currently support this feature (03/17/2002)
 
542
; Set to 1 if running under IIS.  Default is zero.
 
543
; fastcgi.impersonate = 1;
 
544
 
 
545
; Disable logging through FastCGI connection
 
546
; fastcgi.log = 0
 
547
 
 
548
; cgi.rfc2616_headers configuration option tells PHP what type of headers to
 
549
; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
 
550
; is supported by Apache. When this option is set to 1 PHP will send
 
551
; RFC2616 compliant header.
 
552
; Default is zero.
 
553
;cgi.rfc2616_headers = 0
 
554
 
 
555
 
 
556
;;;;;;;;;;;;;;;;
 
557
; File Uploads ;
 
558
;;;;;;;;;;;;;;;;
 
559
 
 
560
; Whether to allow HTTP file uploads.
 
561
file_uploads = On
 
562
 
 
563
; Temporary directory for HTTP uploaded files (will use system default if not
 
564
; specified).
 
565
;upload_tmp_dir =
 
566
 
 
567
; Maximum allowed size for uploaded files.
 
568
upload_max_filesize = 2M
 
569
 
 
570
 
 
571
;;;;;;;;;;;;;;;;;;
 
572
; Fopen wrappers ;
 
573
;;;;;;;;;;;;;;;;;;
 
574
 
 
575
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
 
576
allow_url_fopen = On
 
577
 
 
578
; Define the anonymous ftp password (your email address)
 
579
;from="john@doe.com"
 
580
 
 
581
; Define the User-Agent string
 
582
; user_agent="PHP"
 
583
 
 
584
; Default timeout for socket based streams (seconds)
 
585
default_socket_timeout = 60
 
586
 
 
587
; If your scripts have to deal with files from Macintosh systems,
 
588
; or you are running on a Mac and need to deal with files from
 
589
; unix or win32 systems, setting this flag will cause PHP to
 
590
; automatically detect the EOL character in those files so that
 
591
; fgets() and file() will work regardless of the source of the file.
 
592
; auto_detect_line_endings = Off
 
593
 
 
594
 
 
595
;;;;;;;;;;;;;;;;;;;;;;
 
596
; Dynamic Extensions ;
 
597
;;;;;;;;;;;;;;;;;;;;;;
 
598
;
 
599
; If you wish to have an extension loaded automatically, use the following
 
600
; syntax:
 
601
;
 
602
;   extension=modulename.extension
 
603
;
 
604
; For example, on Windows:
 
605
;
 
606
;   extension=msql.dll
 
607
;
 
608
; ... or under UNIX:
 
609
;
 
610
;   extension=msql.so
 
611
;
 
612
; Note that it should be the name of the module only; no directory information
 
613
; needs to go here.  Specify the location of the extension with the
 
614
; extension_dir directive above.
 
615
 
 
616
 
 
617
;Windows Extensions
 
618
;Note that ODBC support is built in, so no dll is needed for it.
 
619
;
 
620
 
 
621
;extension=php_mbstring.dll
 
622
;extension=php_bz2.dll
 
623
;extension=php_cpdf.dll
 
624
;extension=php_curl.dll
 
625
;extension=php_dba.dll
 
626
;extension=php_dbase.dll
 
627
;extension=php_dbx.dll
 
628
;extension=php_exif.dll
 
629
;extension=php_fdf.dll
 
630
;extension=php_filepro.dll
 
631
;extension=php_gd2.dll
 
632
;extension=php_gettext.dll
 
633
;extension=php_ifx.dll
 
634
;extension=php_iisfunc.dll
 
635
;extension=php_imap.dll
 
636
;extension=php_interbase.dll
 
637
;extension=php_java.dll
 
638
;extension=php_ldap.dll
 
639
;extension=php_mcrypt.dll
 
640
;extension=php_mhash.dll
 
641
;extension=php_mime_magic.dll
 
642
;extension=php_ming.dll
 
643
;extension=php_mssql.dll
 
644
;extension=php_msql.dll
 
645
;extension=php_mysql.dll
 
646
;extension=php_oci8.dll
 
647
;extension=php_openssl.dll
 
648
;extension=php_oracle.dll
 
649
;extension=php_pdf.dll
 
650
;extension=php_pgsql.dll
 
651
;extension=php_shmop.dll
 
652
;extension=php_snmp.dll
 
653
;extension=php_sockets.dll
 
654
;extension=php_sybase_ct.dll
 
655
;extension=php_tidy.dll
 
656
;extension=php_w32api.dll
 
657
;extension=php_xmlrpc.dll
 
658
;extension=php_xsl.dll
 
659
;extension=php_yaz.dll
 
660
;extension=php_zip.dll
 
661
 
 
662
 
 
663
;;;;;;;;;;;;;;;;;;;
 
664
; Module Settings ;
 
665
;;;;;;;;;;;;;;;;;;;
 
666
 
 
667
[Syslog]
 
668
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
 
669
; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
 
670
; runtime, you can define these variables by calling define_syslog_variables().
 
671
define_syslog_variables  = Off
 
672
 
 
673
[mail function]
 
674
; For Win32 only.
 
675
SMTP = localhost
 
676
smtp_port = 25
 
677
 
 
678
; For Win32 only.
 
679
;sendmail_from = me@example.com
 
680
 
 
681
; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
 
682
;sendmail_path =
 
683
 
 
684
; Force the addition of the specified parameters to be passed as extra parameters
 
685
; to the sendmail binary. These parameters will always replace the value of
 
686
; the 5th parameter to mail(), even in safe mode.
 
687
;mail.force_extra_parameters =
 
688
 
 
689
[SQL]
 
690
sql.safe_mode = Off
 
691
 
 
692
[ODBC]
 
693
;odbc.default_db    =  Not yet implemented
 
694
;odbc.default_user  =  Not yet implemented
 
695
;odbc.default_pw    =  Not yet implemented
 
696
 
 
697
; Allow or prevent persistent links.
 
698
odbc.allow_persistent = On
 
699
 
 
700
; Check that a connection is still valid before reuse.
 
701
odbc.check_persistent = On
 
702
 
 
703
; Maximum number of persistent links.  -1 means no limit.
 
704
odbc.max_persistent = -1
 
705
 
 
706
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
 
707
odbc.max_links = -1
 
708
 
 
709
; Handling of LONG fields.  Returns number of bytes to variables.  0 means
 
710
; passthru.
 
711
odbc.defaultlrl = 4096
 
712
 
 
713
; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
 
714
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
 
715
; of uodbc.defaultlrl and uodbc.defaultbinmode
 
716
odbc.defaultbinmode = 1
 
717
 
 
718
[MySQL]
 
719
; Allow or prevent persistent links.
 
720
mysql.allow_persistent = On
 
721
 
 
722
; Maximum number of persistent links.  -1 means no limit.
 
723
mysql.max_persistent = -1
 
724
 
 
725
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
 
726
mysql.max_links = -1
 
727
 
 
728
; Default port number for mysql_connect().  If unset, mysql_connect() will use
 
729
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
 
730
; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
 
731
; at MYSQL_PORT.
 
732
mysql.default_port =
 
733
 
 
734
; Default socket name for local MySQL connects.  If empty, uses the built-in
 
735
; MySQL defaults.
 
736
mysql.default_socket =
 
737
 
 
738
; Default host for mysql_connect() (doesn't apply in safe mode).
 
739
mysql.default_host =
 
740
 
 
741
; Default user for mysql_connect() (doesn't apply in safe mode).
 
742
mysql.default_user =
 
743
 
 
744
; Default password for mysql_connect() (doesn't apply in safe mode).
 
745
; Note that this is generally a *bad* idea to store passwords in this file.
 
746
; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
 
747
; and reveal this password!  And of course, any users with read access to this
 
748
; file will be able to reveal the password as well.
 
749
mysql.default_password =
 
750
 
 
751
; Maximum time (in secondes) for connect timeout. -1 means no limit
 
752
mysql.connect_timeout = 60
 
753
 
 
754
; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
 
755
; SQL-Errors will be displayed.
 
756
mysql.trace_mode = Off
 
757
 
 
758
[MySQLI]
 
759
 
 
760
; Maximum number of links.  -1 means no limit.
 
761
mysqli.max_links = -1
 
762
 
 
763
; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
 
764
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
 
765
; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
 
766
; at MYSQL_PORT.
 
767
mysqli.default_port = 3306
 
768
 
 
769
; Default socket name for local MySQL connects.  If empty, uses the built-in
 
770
; MySQL defaults.
 
771
mysqli.default_socket =
 
772
 
 
773
; Default host for mysql_connect() (doesn't apply in safe mode).
 
774
mysqli.default_host =
 
775
 
 
776
; Default user for mysql_connect() (doesn't apply in safe mode).
 
777
mysqli.default_user =
 
778
 
 
779
; Default password for mysqli_connect() (doesn't apply in safe mode).
 
780
; Note that this is generally a *bad* idea to store passwords in this file.
 
781
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
 
782
; and reveal this password!  And of course, any users with read access to this
 
783
; file will be able to reveal the password as well.
 
784
mysqli.default_pw =
 
785
 
 
786
; Allow or prevent reconnect
 
787
mysqli.reconnect = Off
 
788
 
 
789
[mSQL]
 
790
; Allow or prevent persistent links.
 
791
msql.allow_persistent = On
 
792
 
 
793
; Maximum number of persistent links.  -1 means no limit.
 
794
msql.max_persistent = -1
 
795
 
 
796
; Maximum number of links (persistent+non persistent).  -1 means no limit.
 
797
msql.max_links = -1
 
798
 
 
799
[PostgresSQL]
 
800
; Allow or prevent persistent links.
 
801
pgsql.allow_persistent = On
 
802
 
 
803
; Detect broken persistent links always with pg_pconnect().
 
804
; Auto reset feature requires a little overheads.
 
805
pgsql.auto_reset_persistent = Off
 
806
 
 
807
; Maximum number of persistent links.  -1 means no limit.
 
808
pgsql.max_persistent = -1
 
809
 
 
810
; Maximum number of links (persistent+non persistent).  -1 means no limit.
 
811
pgsql.max_links = -1
 
812
 
 
813
; Ignore PostgreSQL backends Notice message or not.
 
814
; Notice message logging require a little overheads.
 
815
pgsql.ignore_notice = 0
 
816
 
 
817
; Log PostgreSQL backends Noitce message or not.
 
818
; Unless pgsql.ignore_notice=0, module cannot log notice message.
 
819
pgsql.log_notice = 0
 
820
 
 
821
[Sybase]
 
822
; Allow or prevent persistent links.
 
823
sybase.allow_persistent = On
 
824
 
 
825
; Maximum number of persistent links.  -1 means no limit.
 
826
sybase.max_persistent = -1
 
827
 
 
828
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
 
829
sybase.max_links = -1
 
830
 
 
831
;sybase.interface_file = "/usr/sybase/interfaces"
 
832
 
 
833
; Minimum error severity to display.
 
834
sybase.min_error_severity = 10
 
835
 
 
836
; Minimum message severity to display.
 
837
sybase.min_message_severity = 10
 
838
 
 
839
; Compatability mode with old versions of PHP 3.0.
 
840
; If on, this will cause PHP to automatically assign types to results according
 
841
; to their Sybase type, instead of treating them all as strings.  This
 
842
; compatability mode will probably not stay around forever, so try applying
 
843
; whatever necessary changes to your code, and turn it off.
 
844
sybase.compatability_mode = Off
 
845
 
 
846
[Sybase-CT]
 
847
; Allow or prevent persistent links.
 
848
sybct.allow_persistent = On
 
849
 
 
850
; Maximum number of persistent links.  -1 means no limit.
 
851
sybct.max_persistent = -1
 
852
 
 
853
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
 
854
sybct.max_links = -1
 
855
 
 
856
; Minimum server message severity to display.
 
857
sybct.min_server_severity = 10
 
858
 
 
859
; Minimum client message severity to display.
 
860
sybct.min_client_severity = 10
 
861
 
 
862
[dbx]
 
863
; returned column names can be converted for compatibility reasons
 
864
; possible values for dbx.colnames_case are
 
865
; "unchanged" (default, if not set)
 
866
; "lowercase"
 
867
; "uppercase"
 
868
; the recommended default is either upper- or lowercase, but
 
869
; unchanged is currently set for backwards compatibility
 
870
dbx.colnames_case = "lowercase"
 
871
 
 
872
[bcmath]
 
873
; Number of decimal digits for all bcmath functions.
 
874
bcmath.scale = 0
 
875
 
 
876
[browscap]
 
877
;browscap = extra/browscap.ini
 
878
 
 
879
[Informix]
 
880
; Default host for ifx_connect() (doesn't apply in safe mode).
 
881
ifx.default_host =
 
882
 
 
883
; Default user for ifx_connect() (doesn't apply in safe mode).
 
884
ifx.default_user =
 
885
 
 
886
; Default password for ifx_connect() (doesn't apply in safe mode).
 
887
ifx.default_password =
 
888
 
 
889
; Allow or prevent persistent links.
 
890
ifx.allow_persistent = On
 
891
 
 
892
; Maximum number of persistent links.  -1 means no limit.
 
893
ifx.max_persistent = -1
 
894
 
 
895
; Maximum number of links (persistent + non-persistent).  -1 means no limit.
 
896
ifx.max_links = -1
 
897
 
 
898
; If on, select statements return the contents of a text blob instead of its id.
 
899
ifx.textasvarchar = 0
 
900
 
 
901
; If on, select statements return the contents of a byte blob instead of its id.
 
902
ifx.byteasvarchar = 0
 
903
 
 
904
; Trailing blanks are stripped from fixed-length char columns.  May help the
 
905
; life of Informix SE users.
 
906
ifx.charasvarchar = 0
 
907
 
 
908
; If on, the contents of text and byte blobs are dumped to a file instead of
 
909
; keeping them in memory.
 
910
ifx.blobinfile = 0
 
911
 
 
912
; NULL's are returned as empty strings, unless this is set to 1.  In that case,
 
913
; NULL's are returned as string 'NULL'.
 
914
ifx.nullformat = 0
 
915
 
 
916
[Session]
 
917
; Handler used to store/retrieve data.
 
918
session.save_handler = files
 
919
 
 
920
; Argument passed to save_handler.  In the case of files, this is the path
 
921
; where data files are stored. Note: Windows users have to change this
 
922
; variable in order to use PHP's session functions.
 
923
;
 
924
; As of PHP 4.0.1, you can define the path as:
 
925
;
 
926
;     session.save_path = "N;/path"
 
927
;
 
928
; where N is an integer.  Instead of storing all the session files in
 
929
; /path, what this will do is use subdirectories N-levels deep, and
 
930
; store the session data in those directories.  This is useful if you
 
931
; or your OS have problems with lots of files in one directory, and is
 
932
; a more efficient layout for servers that handle lots of sessions.
 
933
;
 
934
; NOTE 1: PHP will not create this directory structure automatically.
 
935
;         You can use the script in the ext/session dir for that purpose.
 
936
; NOTE 2: See the section on garbage collection below if you choose to
 
937
;         use subdirectories for session storage
 
938
;
 
939
; The file storage module creates files using mode 600 by default.
 
940
; You can change that by using
 
941
;
 
942
;     session.save_path = "N;MODE;/path"
 
943
;
 
944
; where MODE is the octal representation of the mode. Note that this
 
945
; does not overwrite the process's umask.
 
946
;session.save_path = "/tmp"
 
947
 
 
948
; Whether to use cookies.
 
949
session.use_cookies = 1
 
950
 
 
951
; This option enables administrators to make their users invulnerable to
 
952
; attacks which involve passing session ids in URLs; defaults to 0.
 
953
; session.use_only_cookies = 1
 
954
 
 
955
; Name of the session (used as cookie name).
 
956
session.name = PHPSESSID
 
957
 
 
958
; Initialize session on request startup.
 
959
session.auto_start = 0
 
960
 
 
961
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
 
962
session.cookie_lifetime = 0
 
963
 
 
964
; The path for which the cookie is valid.
 
965
session.cookie_path = /
 
966
 
 
967
; The domain for which the cookie is valid.
 
968
session.cookie_domain =
 
969
 
 
970
; Handler used to serialize data.  php is the standard serializer of PHP.
 
971
session.serialize_handler = php
 
972
 
 
973
; Define the probability that the 'garbage collection' process is started
 
974
; on every session initialization.
 
975
; The probability is calculated by using gc_probability/gc_divisor,
 
976
; e.g. 1/100 means there is a 1% chance that the GC process starts
 
977
; on each request.
 
978
 
 
979
session.gc_probability = 1
 
980
session.gc_divisor     = 1000
 
981
 
 
982
; After this number of seconds, stored data will be seen as 'garbage' and
 
983
; cleaned up by the garbage collection process.
 
984
session.gc_maxlifetime = 1440
 
985
 
 
986
; NOTE: If you are using the subdirectory option for storing session files
 
987
;       (see session.save_path above), then garbage collection does *not*
 
988
;       happen automatically.  You will need to do your own garbage
 
989
;       collection through a shell script, cron entry, or some other method.
 
990
;       For example, the following script would is the equivalent of
 
991
;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
 
992
;          cd /path/to/sessions; find -cmin +24 | xargs rm
 
993
 
 
994
; PHP 4.2 and less have an undocumented feature/bug that allows you to
 
995
; to initialize a session variable in the global scope, albeit register_globals
 
996
; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
 
997
; You can disable the feature and the warning separately. At this time,
 
998
; the warning is only displayed, if bug_compat_42 is enabled.
 
999
 
 
1000
session.bug_compat_42 = 0
 
1001
session.bug_compat_warn = 1
 
1002
 
 
1003
; Check HTTP Referer to invalidate externally stored URLs containing ids.
 
1004
; HTTP_REFERER has to contain this substring for the session to be
 
1005
; considered as valid.
 
1006
session.referer_check =
 
1007
 
 
1008
; How many bytes to read from the file.
 
1009
session.entropy_length = 0
 
1010
 
 
1011
; Specified here to create the session id.
 
1012
session.entropy_file =
 
1013
 
 
1014
;session.entropy_length = 16
 
1015
 
 
1016
;session.entropy_file = /dev/urandom
 
1017
 
 
1018
; Set to {nocache,private,public,} to determine HTTP caching aspects
 
1019
; or leave this empty to avoid sending anti-caching headers.
 
1020
session.cache_limiter = nocache
 
1021
 
 
1022
; Document expires after n minutes.
 
1023
session.cache_expire = 180
 
1024
 
 
1025
; trans sid support is disabled by default.
 
1026
; Use of trans sid may risk your users security.
 
1027
; Use this option with caution.
 
1028
; - User may send URL contains active session ID
 
1029
;   to other person via. email/irc/etc.
 
1030
; - URL that contains active session ID may be stored
 
1031
;   in publically accessible computer.
 
1032
; - User may access your site with the same session ID
 
1033
;   always using URL stored in browser's history or bookmarks.
 
1034
session.use_trans_sid = 0
 
1035
 
 
1036
; Select a hash function
 
1037
; 0: MD5   (128 bits)
 
1038
; 1: SHA-1 (160 bits)
 
1039
session.hash_function = 0
 
1040
 
 
1041
; Define how many bits are stored in each character when converting
 
1042
; the binary hash data to something readable.
 
1043
;
 
1044
; 4 bits: 0-9, a-f
 
1045
; 5 bits: 0-9, a-v
 
1046
; 6 bits: 0-9, a-z, A-Z, "-", ","
 
1047
session.hash_bits_per_character = 5
 
1048
 
 
1049
; The URL rewriter will look for URLs in a defined set of HTML tags.
 
1050
; form/fieldset are special; if you include them here, the rewriter will
 
1051
; add a hidden <input> field with the info which is otherwise appended
 
1052
; to URLs.  If you want XHTML conformity, remove the form entry.
 
1053
; Note that all valid entries require a "=", even if no value follows.
 
1054
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
 
1055
 
 
1056
[MSSQL]
 
1057
; Allow or prevent persistent links.
 
1058
mssql.allow_persistent = On
 
1059
 
 
1060
; Maximum number of persistent links.  -1 means no limit.
 
1061
mssql.max_persistent = -1
 
1062
 
 
1063
; Maximum number of links (persistent+non persistent).  -1 means no limit.
 
1064
mssql.max_links = -1
 
1065
 
 
1066
; Minimum error severity to display.
 
1067
mssql.min_error_severity = 10
 
1068
 
 
1069
; Minimum message severity to display.
 
1070
mssql.min_message_severity = 10
 
1071
 
 
1072
; Compatability mode with old versions of PHP 3.0.
 
1073
mssql.compatability_mode = Off
 
1074
 
 
1075
; Connect timeout
 
1076
;mssql.connect_timeout = 5
 
1077
 
 
1078
; Query timeout
 
1079
;mssql.timeout = 60
 
1080
 
 
1081
; Valid range 0 - 2147483647.  Default = 4096.
 
1082
;mssql.textlimit = 4096
 
1083
 
 
1084
; Valid range 0 - 2147483647.  Default = 4096.
 
1085
;mssql.textsize = 4096
 
1086
 
 
1087
; Limits the number of records in each batch.  0 = all records in one batch.
 
1088
;mssql.batchsize = 0
 
1089
 
 
1090
; Specify how datetime and datetim4 columns are returned
 
1091
; On => Returns data converted to SQL server settings
 
1092
; Off => Returns values as YYYY-MM-DD hh:mm:ss
 
1093
;mssql.datetimeconvert = On
 
1094
 
 
1095
; Use NT authentication when connecting to the server
 
1096
mssql.secure_connection = Off
 
1097
 
 
1098
; Specify max number of processes. Default = 25
 
1099
;mssql.max_procs = 25
 
1100
 
 
1101
[Assertion]
 
1102
; Assert(expr); active by default.
 
1103
;assert.active = On
 
1104
 
 
1105
; Issue a PHP warning for each failed assertion.
 
1106
;assert.warning = On
 
1107
 
 
1108
; Don't bail out by default.
 
1109
;assert.bail = Off
 
1110
 
 
1111
; User-function to be called if an assertion fails.
 
1112
;assert.callback = 0
 
1113
 
 
1114
; Eval the expression with current error_reporting().  Set to true if you want
 
1115
; error_reporting(0) around the eval().
 
1116
;assert.quiet_eval = 0
 
1117
 
 
1118
[Ingres II]
 
1119
; Allow or prevent persistent links.
 
1120
ingres.allow_persistent = On
 
1121
 
 
1122
; Maximum number of persistent links.  -1 means no limit.
 
1123
ingres.max_persistent = -1
 
1124
 
 
1125
; Maximum number of links, including persistents.  -1 means no limit.
 
1126
ingres.max_links = -1
 
1127
 
 
1128
; Default database (format: [node_id::]dbname[/srv_class]).
 
1129
ingres.default_database =
 
1130
 
 
1131
; Default user.
 
1132
ingres.default_user =
 
1133
 
 
1134
; Default password.
 
1135
ingres.default_password =
 
1136
 
 
1137
[Verisign Payflow Pro]
 
1138
; Default Payflow Pro server.
 
1139
pfpro.defaulthost = "test-payflow.verisign.com"
 
1140
 
 
1141
; Default port to connect to.
 
1142
pfpro.defaultport = 443
 
1143
 
 
1144
; Default timeout in seconds.
 
1145
pfpro.defaulttimeout = 30
 
1146
 
 
1147
; Default proxy IP address (if required).
 
1148
;pfpro.proxyaddress =
 
1149
 
 
1150
; Default proxy port.
 
1151
;pfpro.proxyport =
 
1152
 
 
1153
; Default proxy logon.
 
1154
;pfpro.proxylogon =
 
1155
 
 
1156
; Default proxy password.
 
1157
;pfpro.proxypassword =
 
1158
 
 
1159
[com]
 
1160
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
 
1161
;com.typelib_file =
 
1162
; allow Distributed-COM calls
 
1163
;com.allow_dcom = true
 
1164
; autoregister constants of a components typlib on com_load()
 
1165
;com.autoregister_typelib = true
 
1166
; register constants casesensitive
 
1167
;com.autoregister_casesensitive = false
 
1168
; show warnings on duplicate constat registrations
 
1169
;com.autoregister_verbose = true
 
1170
 
 
1171
[mbstring]
 
1172
; language for internal character representation.
 
1173
;mbstring.language = Japanese
 
1174
 
 
1175
; internal/script encoding.
 
1176
; Some encoding cannot work as internal encoding.
 
1177
; (e.g. SJIS, BIG5, ISO-2022-*)
 
1178
;mbstring.internal_encoding = EUC-JP
 
1179
 
 
1180
; http input encoding.
 
1181
;mbstring.http_input = auto
 
1182
 
 
1183
; http output encoding. mb_output_handler must be
 
1184
; registered as output buffer to function
 
1185
;mbstring.http_output = SJIS
 
1186
 
 
1187
; enable automatic encoding translation accoding to
 
1188
; mbstring.internal_encoding setting. Input chars are
 
1189
; converted to internal encoding by setting this to On.
 
1190
; Note: Do _not_ use automatic encoding translation for
 
1191
;       portable libs/applications.
 
1192
;mbstring.encoding_translation = Off
 
1193
 
 
1194
; automatic encoding detection order.
 
1195
; auto means
 
1196
;mbstring.detect_order = auto
 
1197
 
 
1198
; substitute_character used when character cannot be converted
 
1199
; one from another
 
1200
;mbstring.substitute_character = none;
 
1201
 
 
1202
; overload(replace) single byte functions by mbstring functions.
 
1203
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
 
1204
; etc. Possible values are 0,1,2,4 or combination of them.
 
1205
; For example, 7 for overload everything.
 
1206
; 0: No overload
 
1207
; 1: Overload mail() function
 
1208
; 2: Overload str*() functions
 
1209
; 4: Overload ereg*() functions
 
1210
;mbstring.func_overload = 0
 
1211
 
 
1212
[FrontBase]
 
1213
;fbsql.allow_persistent = On
 
1214
;fbsql.autocommit = On
 
1215
;fbsql.default_database =
 
1216
;fbsql.default_database_password =
 
1217
;fbsql.default_host =
 
1218
;fbsql.default_password =
 
1219
;fbsql.default_user = "_SYSTEM"
 
1220
;fbsql.generate_warnings = Off
 
1221
;fbsql.max_connections = 128
 
1222
;fbsql.max_links = 128
 
1223
;fbsql.max_persistent = -1
 
1224
;fbsql.max_results = 128
 
1225
;fbsql.batchSize = 1000
 
1226
 
 
1227
[exif]
 
1228
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
 
1229
; With mbstring support this will automatically be converted into the encoding
 
1230
; given by corresponding encode setting. When empty mbstring.internal_encoding
 
1231
; is used. For the decode settings you can distinguish between motorola and
 
1232
; intel byte order. A decode setting cannot be empty.
 
1233
;exif.encode_unicode = ISO-8859-15
 
1234
;exif.decode_unicode_motorola = UCS-2BE
 
1235
;exif.decode_unicode_intel    = UCS-2LE
 
1236
;exif.encode_jis =
 
1237
;exif.decode_jis_motorola = JIS
 
1238
;exif.decode_jis_intel    = JIS
 
1239
 
 
1240
[Tidy]
 
1241
; The path to a default tidy configuration file to use when using tidy
 
1242
;tidy.default_config = /usr/local/lib/php/default.tcfg
 
1243
 
 
1244
; Should tidy clean and repair output automatically?
 
1245
; WARNING: Do not use this option if you are generating non-html content
 
1246
; such as dynamic images
 
1247
tidy.clean_output = Off
 
1248
 
 
1249
[soap]
 
1250
; Enables or disables WSDL caching feature.
 
1251
soap.wsdl_cache_enabled=1
 
1252
; Sets the directory name where SOAP extension will put cache files.
 
1253
soap.wsdl_cache_dir="/tmp"
 
1254
; (time to live) Sets the number of second while cached file will be used 
 
1255
; instead of original one.
 
1256
soap.wsdl_cache_ttl=86400
 
1257
 
 
1258
; Local Variables:
 
1259
; tab-width: 4
 
1260
; End: