Annotation of embedaddon/php/php.ini-production, revision 1.1.1.2
1.1 misho 1: [PHP]
2:
3: ;;;;;;;;;;;;;;;;;;;
4: ; About php.ini ;
5: ;;;;;;;;;;;;;;;;;;;
6: ; PHP's initialization file, generally called php.ini, is responsible for
7: ; configuring many of the aspects of PHP's behavior.
8:
9: ; PHP attempts to find and load this configuration from a number of locations.
10: ; The following is a summary of its search order:
11: ; 1. SAPI module specific location.
12: ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
13: ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
14: ; 4. Current working directory (except CLI)
15: ; 5. The web server's directory (for SAPI modules), or directory of PHP
16: ; (otherwise in Windows)
17: ; 6. The directory from the --with-config-file-path compile time option, or the
18: ; Windows directory (C:\windows or C:\winnt)
19: ; See the PHP docs for more specific information.
20: ; http://php.net/configuration.file
21:
22: ; The syntax of the file is extremely simple. Whitespace and Lines
23: ; beginning with a semicolon are silently ignored (as you probably guessed).
24: ; Section headers (e.g. [Foo]) are also silently ignored, even though
25: ; they might mean something in the future.
26:
27: ; Directives following the section heading [PATH=/www/mysite] only
28: ; apply to PHP files in the /www/mysite directory. Directives
29: ; following the section heading [HOST=www.example.com] only apply to
30: ; PHP files served from www.example.com. Directives set in these
31: ; special sections cannot be overridden by user-defined INI files or
32: ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
33: ; CGI/FastCGI.
34: ; http://php.net/ini.sections
35:
36: ; Directives are specified using the following syntax:
37: ; directive = value
38: ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
39: ; Directives are variables used to configure PHP or PHP extensions.
40: ; There is no name validation. If PHP can't find an expected
41: ; directive because it is not set or is mistyped, a default value will be used.
42:
43: ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
44: ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
45: ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
46: ; previously set variable or directive (e.g. ${foo})
47:
48: ; Expressions in the INI file are limited to bitwise operators and parentheses:
49: ; | bitwise OR
50: ; ^ bitwise XOR
51: ; & bitwise AND
52: ; ~ bitwise NOT
53: ; ! boolean NOT
54:
55: ; Boolean flags can be turned on using the values 1, On, True or Yes.
56: ; They can be turned off using the values 0, Off, False or No.
57:
58: ; An empty string can be denoted by simply not writing anything after the equal
59: ; sign, or by using the None keyword:
60:
61: ; foo = ; sets foo to an empty string
62: ; foo = None ; sets foo to an empty string
63: ; foo = "None" ; sets foo to the string 'None'
64:
65: ; If you use constants in your value, and these constants belong to a
66: ; dynamically loaded extension (either a PHP extension or a Zend extension),
67: ; you may only use these constants *after* the line that loads the extension.
68:
69: ;;;;;;;;;;;;;;;;;;;
70: ; About this file ;
71: ;;;;;;;;;;;;;;;;;;;
72: ; PHP comes packaged with two INI files. One that is recommended to be used
73: ; in production environments and one that is recommended to be used in
74: ; development environments.
75:
76: ; php.ini-production contains settings which hold security, performance and
77: ; best practices at its core. But please be aware, these settings may break
78: ; compatibility with older or less security conscience applications. We
79: ; recommending using the production ini in production and testing environments.
80:
81: ; php.ini-development is very similar to its production variant, except it's
82: ; much more verbose when it comes to errors. We recommending using the
83: ; development version only in development environments as errors shown to
84: ; application users can inadvertently leak otherwise secure information.
85:
86: ;;;;;;;;;;;;;;;;;;;
87: ; Quick Reference ;
88: ;;;;;;;;;;;;;;;;;;;
89: ; The following are all the settings which are different in either the production
90: ; or development versions of the INIs with respect to PHP's default behavior.
91: ; Please see the actual settings later in the document for more details as to why
92: ; we recommend these changes in PHP's behavior.
93:
94: ; display_errors
95: ; Default Value: On
96: ; Development Value: On
97: ; Production Value: Off
98:
99: ; display_startup_errors
100: ; Default Value: Off
101: ; Development Value: On
102: ; Production Value: Off
103:
104: ; error_reporting
1.1.1.2 ! misho 105: ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
! 106: ; Development Value: E_ALL
! 107: ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
1.1 misho 108:
109: ; html_errors
110: ; Default Value: On
111: ; Development Value: On
1.1.1.2 ! misho 112: ; Production value: On
1.1 misho 113:
114: ; log_errors
115: ; Default Value: Off
116: ; Development Value: On
117: ; Production Value: On
118:
119: ; max_input_time
120: ; Default Value: -1 (Unlimited)
121: ; Development Value: 60 (60 seconds)
122: ; Production Value: 60 (60 seconds)
123:
124: ; output_buffering
125: ; Default Value: Off
126: ; Development Value: 4096
127: ; Production Value: 4096
128:
129: ; register_argc_argv
130: ; Default Value: On
131: ; Development Value: Off
132: ; Production Value: Off
133:
134: ; request_order
135: ; Default Value: None
136: ; Development Value: "GP"
137: ; Production Value: "GP"
138:
139: ; session.bug_compat_42
140: ; Default Value: On
141: ; Development Value: On
142: ; Production Value: Off
143:
144: ; session.bug_compat_warn
145: ; Default Value: On
146: ; Development Value: On
147: ; Production Value: Off
148:
149: ; session.gc_divisor
150: ; Default Value: 100
151: ; Development Value: 1000
152: ; Production Value: 1000
153:
154: ; session.hash_bits_per_character
155: ; Default Value: 4
156: ; Development Value: 5
157: ; Production Value: 5
158:
159: ; short_open_tag
160: ; Default Value: On
161: ; Development Value: Off
162: ; Production Value: Off
163:
164: ; track_errors
165: ; Default Value: Off
166: ; Development Value: On
167: ; Production Value: Off
168:
169: ; url_rewriter.tags
170: ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
171: ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
172: ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
173:
174: ; variables_order
175: ; Default Value: "EGPCS"
176: ; Development Value: "GPCS"
177: ; Production Value: "GPCS"
178:
179: ;;;;;;;;;;;;;;;;;;;;
180: ; php.ini Options ;
181: ;;;;;;;;;;;;;;;;;;;;
182: ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
183: ;user_ini.filename = ".user.ini"
184:
185: ; To disable this feature set this option to empty value
186: ;user_ini.filename =
187:
188: ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
189: ;user_ini.cache_ttl = 300
190:
191: ;;;;;;;;;;;;;;;;;;;;
192: ; Language Options ;
193: ;;;;;;;;;;;;;;;;;;;;
194:
195: ; Enable the PHP scripting language engine under Apache.
196: ; http://php.net/engine
197: engine = On
198:
199: ; This directive determines whether or not PHP will recognize code between
200: ; <? and ?> tags as PHP source which should be processed as such. It's been
201: ; recommended for several years that you not use the short tag "short cut" and
202: ; instead to use the full <?php and ?> tag combination. With the wide spread use
203: ; of XML and use of these tags by other languages, the server can become easily
204: ; confused and end up parsing the wrong code in the wrong context. But because
205: ; this short cut has been a feature for such a long time, it's currently still
206: ; supported for backwards compatibility, but we recommend you don't use them.
207: ; Default Value: On
208: ; Development Value: Off
209: ; Production Value: Off
210: ; http://php.net/short-open-tag
211: short_open_tag = Off
212:
213: ; Allow ASP-style <% %> tags.
214: ; http://php.net/asp-tags
215: asp_tags = Off
216:
217: ; The number of significant digits displayed in floating point numbers.
218: ; http://php.net/precision
219: precision = 14
220:
221: ; Output buffering is a mechanism for controlling how much output data
222: ; (excluding headers and cookies) PHP should keep internally before pushing that
223: ; data to the client. If your application's output exceeds this setting, PHP
224: ; will send that data in chunks of roughly the size you specify.
225: ; Turning on this setting and managing its maximum buffer size can yield some
226: ; interesting side-effects depending on your application and web server.
227: ; You may be able to send headers and cookies after you've already sent output
228: ; through print or echo. You also may see performance benefits if your server is
229: ; emitting less packets due to buffered output versus PHP streaming the output
230: ; as it gets it. On production servers, 4096 bytes is a good setting for performance
231: ; reasons.
232: ; Note: Output buffering can also be controlled via Output Buffering Control
233: ; functions.
234: ; Possible Values:
235: ; On = Enabled and buffer is unlimited. (Use with caution)
236: ; Off = Disabled
237: ; Integer = Enables the buffer and sets its maximum size in bytes.
238: ; Note: This directive is hardcoded to Off for the CLI SAPI
239: ; Default Value: Off
240: ; Development Value: 4096
241: ; Production Value: 4096
242: ; http://php.net/output-buffering
243: output_buffering = 4096
244:
245: ; You can redirect all of the output of your scripts to a function. For
246: ; example, if you set output_handler to "mb_output_handler", character
247: ; encoding will be transparently converted to the specified encoding.
248: ; Setting any output handler automatically turns on output buffering.
249: ; Note: People who wrote portable scripts should not depend on this ini
250: ; directive. Instead, explicitly set the output handler using ob_start().
251: ; Using this ini directive may cause problems unless you know what script
252: ; is doing.
253: ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
254: ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
255: ; Note: output_handler must be empty if this is set 'On' !!!!
256: ; Instead you must use zlib.output_handler.
257: ; http://php.net/output-handler
258: ;output_handler =
259:
260: ; Transparent output compression using the zlib library
261: ; Valid values for this option are 'off', 'on', or a specific buffer size
262: ; to be used for compression (default is 4KB)
263: ; Note: Resulting chunk size may vary due to nature of compression. PHP
264: ; outputs chunks that are few hundreds bytes each as a result of
265: ; compression. If you prefer a larger chunk size for better
266: ; performance, enable output_buffering in addition.
267: ; Note: You need to use zlib.output_handler instead of the standard
268: ; output_handler, or otherwise the output will be corrupted.
269: ; http://php.net/zlib.output-compression
270: zlib.output_compression = Off
271:
272: ; http://php.net/zlib.output-compression-level
273: ;zlib.output_compression_level = -1
274:
275: ; You cannot specify additional output handlers if zlib.output_compression
276: ; is activated here. This setting does the same as output_handler but in
277: ; a different order.
278: ; http://php.net/zlib.output-handler
279: ;zlib.output_handler =
280:
281: ; Implicit flush tells PHP to tell the output layer to flush itself
282: ; automatically after every output block. This is equivalent to calling the
283: ; PHP function flush() after each and every call to print() or echo() and each
284: ; and every HTML block. Turning this option on has serious performance
285: ; implications and is generally recommended for debugging purposes only.
286: ; http://php.net/implicit-flush
287: ; Note: This directive is hardcoded to On for the CLI SAPI
288: implicit_flush = Off
289:
290: ; The unserialize callback function will be called (with the undefined class'
291: ; name as parameter), if the unserializer finds an undefined class
292: ; which should be instantiated. A warning appears if the specified function is
293: ; not defined, or if the function doesn't include/implement the missing class.
294: ; So only set this entry, if you really want to implement such a
295: ; callback-function.
296: unserialize_callback_func =
297:
298: ; When floats & doubles are serialized store serialize_precision significant
299: ; digits after the floating point. The default value ensures that when floats
300: ; are decoded with unserialize, the data will remain the same.
301: serialize_precision = 17
302:
303: ; open_basedir, if set, limits all file operations to the defined directory
304: ; and below. This directive makes most sense if used in a per-directory
305: ; or per-virtualhost web server configuration file. This directive is
306: ; *NOT* affected by whether Safe Mode is turned On or Off.
307: ; http://php.net/open-basedir
308: ;open_basedir =
309:
310: ; This directive allows you to disable certain functions for security reasons.
311: ; It receives a comma-delimited list of function names. This directive is
312: ; *NOT* affected by whether Safe Mode is turned On or Off.
313: ; http://php.net/disable-functions
314: disable_functions =
315:
316: ; This directive allows you to disable certain classes for security reasons.
317: ; It receives a comma-delimited list of class names. This directive is
318: ; *NOT* affected by whether Safe Mode is turned On or Off.
319: ; http://php.net/disable-classes
320: disable_classes =
321:
322: ; Colors for Syntax Highlighting mode. Anything that's acceptable in
323: ; <span style="color: ???????"> would work.
324: ; http://php.net/syntax-highlighting
325: ;highlight.string = #DD0000
326: ;highlight.comment = #FF9900
327: ;highlight.keyword = #007700
328: ;highlight.default = #0000BB
329: ;highlight.html = #000000
330:
331: ; If enabled, the request will be allowed to complete even if the user aborts
332: ; the request. Consider enabling it if executing long requests, which may end up
333: ; being interrupted by the user or a browser timing out. PHP's default behavior
334: ; is to disable this feature.
335: ; http://php.net/ignore-user-abort
336: ;ignore_user_abort = On
337:
338: ; Determines the size of the realpath cache to be used by PHP. This value should
339: ; be increased on systems where PHP opens many files to reflect the quantity of
340: ; the file operations performed.
341: ; http://php.net/realpath-cache-size
342: ;realpath_cache_size = 16k
343:
344: ; Duration of time, in seconds for which to cache realpath information for a given
345: ; file or directory. For systems with rarely changing files, consider increasing this
346: ; value.
347: ; http://php.net/realpath-cache-ttl
348: ;realpath_cache_ttl = 120
349:
350: ; Enables or disables the circular reference collector.
351: ; http://php.net/zend.enable-gc
352: zend.enable_gc = On
353:
1.1.1.2 ! misho 354: ; If enabled, scripts may be written in encodings that are incompatible with
! 355: ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
! 356: ; encodings. To use this feature, mbstring extension must be enabled.
! 357: ; Default: Off
! 358: ;zend.multibyte = Off
! 359:
! 360: ; Allows to set the default encoding for the scripts. This value will be used
! 361: ; unless "declare(encoding=...)" directive appears at the top of the script.
! 362: ; Only affects if zend.multibyte is set.
! 363: ; Default: ""
! 364: ;zend.script_encoding =
! 365:
1.1 misho 366: ;;;;;;;;;;;;;;;;;
367: ; Miscellaneous ;
368: ;;;;;;;;;;;;;;;;;
369:
370: ; Decides whether PHP may expose the fact that it is installed on the server
371: ; (e.g. by adding its signature to the Web server header). It is no security
372: ; threat in any way, but it makes it possible to determine whether you use PHP
373: ; on your server or not.
374: ; http://php.net/expose-php
375: expose_php = On
376:
377: ;;;;;;;;;;;;;;;;;;;
378: ; Resource Limits ;
379: ;;;;;;;;;;;;;;;;;;;
380:
381: ; Maximum execution time of each script, in seconds
382: ; http://php.net/max-execution-time
383: ; Note: This directive is hardcoded to 0 for the CLI SAPI
384: max_execution_time = 30
385:
386: ; Maximum amount of time each script may spend parsing request data. It's a good
387: ; idea to limit this time on productions servers in order to eliminate unexpectedly
388: ; long running scripts.
389: ; Note: This directive is hardcoded to -1 for the CLI SAPI
390: ; Default Value: -1 (Unlimited)
391: ; Development Value: 60 (60 seconds)
392: ; Production Value: 60 (60 seconds)
393: ; http://php.net/max-input-time
394: max_input_time = 60
395:
396: ; Maximum input variable nesting level
397: ; http://php.net/max-input-nesting-level
398: ;max_input_nesting_level = 64
399:
400: ; How many GET/POST/COOKIE input variables may be accepted
401: ; max_input_vars = 1000
402:
403: ; Maximum amount of memory a script may consume (128MB)
404: ; http://php.net/memory-limit
405: memory_limit = 128M
406:
407: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
408: ; Error handling and logging ;
409: ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
410:
411: ; This directive informs PHP of which errors, warnings and notices you would like
412: ; it to take action for. The recommended way of setting values for this
413: ; directive is through the use of the error level constants and bitwise
414: ; operators. The error level constants are below here for convenience as well as
415: ; some common settings and their meanings.
416: ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
417: ; those related to E_NOTICE and E_STRICT, which together cover best practices and
418: ; recommended coding standards in PHP. For performance reasons, this is the
419: ; recommend error reporting setting. Your production server shouldn't be wasting
420: ; resources complaining about best practices and coding standards. That's what
421: ; development servers and development settings are for.
1.1.1.2 ! misho 422: ; Note: The php.ini-development file has this setting as E_ALL. This
1.1 misho 423: ; means it pretty much reports everything which is exactly what you want during
424: ; development and early testing.
425: ;
426: ; Error Level Constants:
1.1.1.2 ! misho 427: ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
1.1 misho 428: ; E_ERROR - fatal run-time errors
429: ; E_RECOVERABLE_ERROR - almost fatal run-time errors
430: ; E_WARNING - run-time warnings (non-fatal errors)
431: ; E_PARSE - compile-time parse errors
432: ; E_NOTICE - run-time notices (these are warnings which often result
433: ; from a bug in your code, but it's possible that it was
434: ; intentional (e.g., using an uninitialized variable and
435: ; relying on the fact it's automatically initialized to an
436: ; empty string)
437: ; E_STRICT - run-time notices, enable to have PHP suggest changes
438: ; to your code which will ensure the best interoperability
439: ; and forward compatibility of your code
440: ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
441: ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
442: ; initial startup
443: ; E_COMPILE_ERROR - fatal compile-time errors
444: ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
445: ; E_USER_ERROR - user-generated error message
446: ; E_USER_WARNING - user-generated warning message
447: ; E_USER_NOTICE - user-generated notice message
448: ; E_DEPRECATED - warn about code that will not work in future versions
449: ; of PHP
450: ; E_USER_DEPRECATED - user-generated deprecation warnings
451: ;
452: ; Common Values:
1.1.1.2 ! misho 453: ; E_ALL (Show all errors, warnings and notices including coding standards.)
! 454: ; E_ALL & ~E_NOTICE (Show all errors, except for notices)
! 455: ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
1.1 misho 456: ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
1.1.1.2 ! misho 457: ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
! 458: ; Development Value: E_ALL
! 459: ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
1.1 misho 460: ; http://php.net/error-reporting
1.1.1.2 ! misho 461: error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
1.1 misho 462:
463: ; This directive controls whether or not and where PHP will output errors,
464: ; notices and warnings too. Error output is very useful during development, but
465: ; it could be very dangerous in production environments. Depending on the code
466: ; which is triggering the error, sensitive information could potentially leak
467: ; out of your application such as database usernames and passwords or worse.
468: ; It's recommended that errors be logged on production servers rather than
469: ; having the errors sent to STDOUT.
470: ; Possible Values:
471: ; Off = Do not display any errors
472: ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
473: ; On or stdout = Display errors to STDOUT
474: ; Default Value: On
475: ; Development Value: On
476: ; Production Value: Off
477: ; http://php.net/display-errors
478: display_errors = Off
479:
480: ; The display of errors which occur during PHP's startup sequence are handled
481: ; separately from display_errors. PHP's default behavior is to suppress those
482: ; errors from clients. Turning the display of startup errors on can be useful in
483: ; debugging configuration problems. But, it's strongly recommended that you
484: ; leave this setting off on production servers.
485: ; Default Value: Off
486: ; Development Value: On
487: ; Production Value: Off
488: ; http://php.net/display-startup-errors
489: display_startup_errors = Off
490:
491: ; Besides displaying errors, PHP can also log errors to locations such as a
492: ; server-specific log, STDERR, or a location specified by the error_log
493: ; directive found below. While errors should not be displayed on productions
494: ; servers they should still be monitored and logging is a great way to do that.
495: ; Default Value: Off
496: ; Development Value: On
497: ; Production Value: On
498: ; http://php.net/log-errors
499: log_errors = On
500:
501: ; Set maximum length of log_errors. In error_log information about the source is
502: ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
503: ; http://php.net/log-errors-max-len
504: log_errors_max_len = 1024
505:
506: ; Do not log repeated messages. Repeated errors must occur in same file on same
507: ; line unless ignore_repeated_source is set true.
508: ; http://php.net/ignore-repeated-errors
509: ignore_repeated_errors = Off
510:
511: ; Ignore source of message when ignoring repeated messages. When this setting
512: ; is On you will not log errors with repeated messages from different files or
513: ; source lines.
514: ; http://php.net/ignore-repeated-source
515: ignore_repeated_source = Off
516:
517: ; If this parameter is set to Off, then memory leaks will not be shown (on
518: ; stdout or in the log). This has only effect in a debug compile, and if
519: ; error reporting includes E_WARNING in the allowed list
520: ; http://php.net/report-memleaks
521: report_memleaks = On
522:
523: ; This setting is on by default.
524: ;report_zend_debug = 0
525:
526: ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
527: ; to On can assist in debugging and is appropriate for development servers. It should
528: ; however be disabled on production servers.
529: ; Default Value: Off
530: ; Development Value: On
531: ; Production Value: Off
532: ; http://php.net/track-errors
533: track_errors = Off
534:
535: ; Turn off normal error reporting and emit XML-RPC error XML
536: ; http://php.net/xmlrpc-errors
537: ;xmlrpc_errors = 0
538:
539: ; An XML-RPC faultCode
540: ;xmlrpc_error_number = 0
541:
1.1.1.2 ! misho 542: ; When PHP displays or logs an error, it has the capability of formatting the
! 543: ; error message as HTML for easier reading. This directive controls whether
! 544: ; the error message is formatted as HTML or not.
1.1 misho 545: ; Note: This directive is hardcoded to Off for the CLI SAPI
546: ; Default Value: On
547: ; Development Value: On
1.1.1.2 ! misho 548: ; Production value: On
1.1 misho 549: ; http://php.net/html-errors
1.1.1.2 ! misho 550: html_errors = On
1.1 misho 551:
1.1.1.2 ! misho 552: ; If html_errors is set to On *and* docref_root is not empty, then PHP
! 553: ; produces clickable error messages that direct to a page describing the error
! 554: ; or function causing the error in detail.
1.1 misho 555: ; You can download a copy of the PHP manual from http://php.net/docs
556: ; and change docref_root to the base URL of your local copy including the
557: ; leading '/'. You must also specify the file extension being used including
1.1.1.2 ! misho 558: ; the dot. PHP's default behavior is to leave these settings empty, in which
! 559: ; case no links to documentation are generated.
1.1 misho 560: ; Note: Never use this feature for production boxes.
561: ; http://php.net/docref-root
562: ; Examples
563: ;docref_root = "/phpmanual/"
564:
565: ; http://php.net/docref-ext
566: ;docref_ext = .html
567:
568: ; String to output before an error message. PHP's default behavior is to leave
569: ; this setting blank.
570: ; http://php.net/error-prepend-string
571: ; Example:
572: ;error_prepend_string = "<span style='color: #ff0000'>"
573:
574: ; String to output after an error message. PHP's default behavior is to leave
575: ; this setting blank.
576: ; http://php.net/error-append-string
577: ; Example:
578: ;error_append_string = "</span>"
579:
580: ; Log errors to specified file. PHP's default behavior is to leave this value
581: ; empty.
582: ; http://php.net/error-log
583: ; Example:
584: ;error_log = php_errors.log
585: ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
586: ;error_log = syslog
587:
588: ;windows.show_crt_warning
589: ; Default value: 0
590: ; Development value: 0
591: ; Production value: 0
592:
593: ;;;;;;;;;;;;;;;;;
594: ; Data Handling ;
595: ;;;;;;;;;;;;;;;;;
596:
597: ; The separator used in PHP generated URLs to separate arguments.
598: ; PHP's default setting is "&".
599: ; http://php.net/arg-separator.output
600: ; Example:
601: ;arg_separator.output = "&"
602:
603: ; List of separator(s) used by PHP to parse input URLs into variables.
604: ; PHP's default setting is "&".
605: ; NOTE: Every character in this directive is considered as separator!
606: ; http://php.net/arg-separator.input
607: ; Example:
608: ;arg_separator.input = ";&"
609:
610: ; This directive determines which super global arrays are registered when PHP
1.1.1.2 ! misho 611: ; starts up. G,P,C,E & S are abbreviations for the following respective super
! 612: ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
! 613: ; paid for the registration of these arrays and because ENV is not as commonly
! 614: ; used as the others, ENV is not recommended on productions servers. You
! 615: ; can still get access to the environment variables through getenv() should you
! 616: ; need to.
1.1 misho 617: ; Default Value: "EGPCS"
618: ; Development Value: "GPCS"
619: ; Production Value: "GPCS";
620: ; http://php.net/variables-order
621: variables_order = "GPCS"
622:
623: ; This directive determines which super global data (G,P,C,E & S) should
624: ; be registered into the super global array REQUEST. If so, it also determines
625: ; the order in which that data is registered. The values for this directive are
626: ; specified in the same manner as the variables_order directive, EXCEPT one.
627: ; Leaving this value empty will cause PHP to use the value set in the
628: ; variables_order directive. It does not mean it will leave the super globals
629: ; array REQUEST empty.
630: ; Default Value: None
631: ; Development Value: "GP"
632: ; Production Value: "GP"
633: ; http://php.net/request-order
634: request_order = "GP"
635:
636: ; This directive determines whether PHP registers $argv & $argc each time it
637: ; runs. $argv contains an array of all the arguments passed to PHP when a script
638: ; is invoked. $argc contains an integer representing the number of arguments
639: ; that were passed when the script was invoked. These arrays are extremely
640: ; useful when running scripts from the command line. When this directive is
641: ; enabled, registering these variables consumes CPU cycles and memory each time
642: ; a script is executed. For performance reasons, this feature should be disabled
643: ; on production servers.
644: ; Note: This directive is hardcoded to On for the CLI SAPI
645: ; Default Value: On
646: ; Development Value: Off
647: ; Production Value: Off
648: ; http://php.net/register-argc-argv
649: register_argc_argv = Off
650:
1.1.1.2 ! misho 651: ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
! 652: ; first used (Just In Time) instead of when the script starts. If these
! 653: ; variables are not used within a script, having this directive on will result
! 654: ; in a performance gain. The PHP directive register_argc_argv must be disabled
! 655: ; for this directive to have any affect.
1.1 misho 656: ; http://php.net/auto-globals-jit
657: auto_globals_jit = On
658:
1.1.1.2 ! misho 659: ; Whether PHP will read the POST data.
! 660: ; This option is enabled by default.
! 661: ; Most likely, you won't want to disable this option globally. It causes $_POST
! 662: ; and $_FILES to always be empty; the only way you will be able to read the
! 663: ; POST data will be through the php://input stream wrapper. This can be useful
! 664: ; to proxy requests or to process the POST data in a memory efficient fashion.
! 665: ; http://php.net/enable-post-data-reading
! 666: ;enable_post_data_reading = Off
! 667:
1.1 misho 668: ; Maximum size of POST data that PHP will accept.
1.1.1.2 ! misho 669: ; Its value may be 0 to disable the limit. It is ignored if POST data reading
! 670: ; is disabled through enable_post_data_reading.
1.1 misho 671: ; http://php.net/post-max-size
672: post_max_size = 8M
673:
674: ; Automatically add files before PHP document.
675: ; http://php.net/auto-prepend-file
676: auto_prepend_file =
677:
678: ; Automatically add files after PHP document.
679: ; http://php.net/auto-append-file
680: auto_append_file =
681:
682: ; By default, PHP will output a character encoding using
683: ; the Content-type: header. To disable sending of the charset, simply
684: ; set it to be empty.
685: ;
686: ; PHP's built-in default is text/html
687: ; http://php.net/default-mimetype
688: default_mimetype = "text/html"
689:
690: ; PHP's default character set is set to empty.
691: ; http://php.net/default-charset
1.1.1.2 ! misho 692: ;default_charset = "UTF-8"
1.1 misho 693:
694: ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
1.1.1.2 ! misho 695: ; to disable this feature. If post reading is disabled through
! 696: ; enable_post_data_reading, $HTTP_RAW_POST_DATA is *NOT* populated.
1.1 misho 697: ; http://php.net/always-populate-raw-post-data
698: ;always_populate_raw_post_data = On
699:
700: ;;;;;;;;;;;;;;;;;;;;;;;;;
701: ; Paths and Directories ;
702: ;;;;;;;;;;;;;;;;;;;;;;;;;
703:
704: ; UNIX: "/path1:/path2"
705: ;include_path = ".:/php/includes"
706: ;
707: ; Windows: "\path1;\path2"
708: ;include_path = ".;c:\php\includes"
709: ;
710: ; PHP's default setting for include_path is ".;/path/to/php/pear"
711: ; http://php.net/include-path
712:
713: ; The root of the PHP pages, used only if nonempty.
714: ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
715: ; if you are running php as a CGI under any web server (other than IIS)
716: ; see documentation for security issues. The alternate is to use the
717: ; cgi.force_redirect configuration below
718: ; http://php.net/doc-root
719: doc_root =
720:
721: ; The directory under which PHP opens the script using /~username used only
722: ; if nonempty.
723: ; http://php.net/user-dir
724: user_dir =
725:
726: ; Directory in which the loadable extensions (modules) reside.
727: ; http://php.net/extension-dir
728: ; extension_dir = "./"
729: ; On windows:
730: ; extension_dir = "ext"
731:
732: ; Whether or not to enable the dl() function. The dl() function does NOT work
733: ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
734: ; disabled on them.
735: ; http://php.net/enable-dl
736: enable_dl = Off
737:
738: ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
739: ; most web servers. Left undefined, PHP turns this on by default. You can
740: ; turn it off here AT YOUR OWN RISK
741: ; **You CAN safely turn this off for IIS, in fact, you MUST.**
742: ; http://php.net/cgi.force-redirect
743: ;cgi.force_redirect = 1
744:
745: ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
746: ; every request. PHP's default behavior is to disable this feature.
747: ;cgi.nph = 1
748:
749: ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
750: ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
751: ; will look for to know it is OK to continue execution. Setting this variable MAY
752: ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
753: ; http://php.net/cgi.redirect-status-env
754: ;cgi.redirect_status_env = ;
755:
756: ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
757: ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
758: ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
759: ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
760: ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
761: ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
762: ; http://php.net/cgi.fix-pathinfo
763: ;cgi.fix_pathinfo=1
764:
765: ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
766: ; security tokens of the calling client. This allows IIS to define the
767: ; security context that the request runs under. mod_fastcgi under Apache
768: ; does not currently support this feature (03/17/2002)
769: ; Set to 1 if running under IIS. Default is zero.
770: ; http://php.net/fastcgi.impersonate
771: ;fastcgi.impersonate = 1;
772:
773: ; Disable logging through FastCGI connection. PHP's default behavior is to enable
774: ; this feature.
775: ;fastcgi.logging = 0
776:
777: ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
778: ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
779: ; is supported by Apache. When this option is set to 1 PHP will send
780: ; RFC2616 compliant header.
781: ; Default is zero.
782: ; http://php.net/cgi.rfc2616-headers
783: ;cgi.rfc2616_headers = 0
784:
785: ;;;;;;;;;;;;;;;;
786: ; File Uploads ;
787: ;;;;;;;;;;;;;;;;
788:
789: ; Whether to allow HTTP file uploads.
790: ; http://php.net/file-uploads
791: file_uploads = On
792:
793: ; Temporary directory for HTTP uploaded files (will use system default if not
794: ; specified).
795: ; http://php.net/upload-tmp-dir
796: ;upload_tmp_dir =
797:
798: ; Maximum allowed size for uploaded files.
799: ; http://php.net/upload-max-filesize
800: upload_max_filesize = 2M
801:
802: ; Maximum number of files that can be uploaded via a single request
803: max_file_uploads = 20
804:
805: ;;;;;;;;;;;;;;;;;;
806: ; Fopen wrappers ;
807: ;;;;;;;;;;;;;;;;;;
808:
809: ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
810: ; http://php.net/allow-url-fopen
811: allow_url_fopen = On
812:
813: ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
814: ; http://php.net/allow-url-include
815: allow_url_include = Off
816:
817: ; Define the anonymous ftp password (your email address). PHP's default setting
818: ; for this is empty.
819: ; http://php.net/from
820: ;from="john@doe.com"
821:
822: ; Define the User-Agent string. PHP's default setting for this is empty.
823: ; http://php.net/user-agent
824: ;user_agent="PHP"
825:
826: ; Default timeout for socket based streams (seconds)
827: ; http://php.net/default-socket-timeout
828: default_socket_timeout = 60
829:
830: ; If your scripts have to deal with files from Macintosh systems,
831: ; or you are running on a Mac and need to deal with files from
832: ; unix or win32 systems, setting this flag will cause PHP to
833: ; automatically detect the EOL character in those files so that
834: ; fgets() and file() will work regardless of the source of the file.
835: ; http://php.net/auto-detect-line-endings
836: ;auto_detect_line_endings = Off
837:
838: ;;;;;;;;;;;;;;;;;;;;;;
839: ; Dynamic Extensions ;
840: ;;;;;;;;;;;;;;;;;;;;;;
841:
842: ; If you wish to have an extension loaded automatically, use the following
843: ; syntax:
844: ;
845: ; extension=modulename.extension
846: ;
847: ; For example, on Windows:
848: ;
849: ; extension=msql.dll
850: ;
851: ; ... or under UNIX:
852: ;
853: ; extension=msql.so
854: ;
855: ; ... or with a path:
856: ;
857: ; extension=/path/to/extension/msql.so
858: ;
859: ; If you only provide the name of the extension, PHP will look for it in its
860: ; default extension directory.
861: ;
862: ; Windows Extensions
863: ; Note that ODBC support is built in, so no dll is needed for it.
864: ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
865: ; extension folders as well as the separate PECL DLL download (PHP 5).
866: ; Be sure to appropriately set the extension_dir directive.
867: ;
868: ;extension=php_bz2.dll
869: ;extension=php_curl.dll
870: ;extension=php_fileinfo.dll
871: ;extension=php_gd2.dll
872: ;extension=php_gettext.dll
873: ;extension=php_gmp.dll
874: ;extension=php_intl.dll
875: ;extension=php_imap.dll
876: ;extension=php_interbase.dll
877: ;extension=php_ldap.dll
878: ;extension=php_mbstring.dll
879: ;extension=php_exif.dll ; Must be after mbstring as it depends on it
880: ;extension=php_mysql.dll
881: ;extension=php_mysqli.dll
882: ;extension=php_oci8.dll ; Use with Oracle 10gR2 Instant Client
883: ;extension=php_oci8_11g.dll ; Use with Oracle 11gR2 Instant Client
884: ;extension=php_openssl.dll
885: ;extension=php_pdo_firebird.dll
886: ;extension=php_pdo_mysql.dll
887: ;extension=php_pdo_oci.dll
888: ;extension=php_pdo_odbc.dll
889: ;extension=php_pdo_pgsql.dll
890: ;extension=php_pdo_sqlite.dll
891: ;extension=php_pgsql.dll
892: ;extension=php_pspell.dll
893: ;extension=php_shmop.dll
894:
895: ; The MIBS data available in the PHP distribution must be installed.
896: ; See http://www.php.net/manual/en/snmp.installation.php
897: ;extension=php_snmp.dll
898:
899: ;extension=php_soap.dll
900: ;extension=php_sockets.dll
901: ;extension=php_sqlite3.dll
902: ;extension=php_sybase_ct.dll
903: ;extension=php_tidy.dll
904: ;extension=php_xmlrpc.dll
905: ;extension=php_xsl.dll
906: ;extension=php_zip.dll
907:
908: ;;;;;;;;;;;;;;;;;;;
909: ; Module Settings ;
910: ;;;;;;;;;;;;;;;;;;;
911:
1.1.1.2 ! misho 912: [CLI Server]
! 913: ; Whether the CLI web server uses ANSI color coding in its terminal output.
! 914: cli_server.color = On
! 915:
1.1 misho 916: [Date]
917: ; Defines the default timezone used by the date functions
918: ; http://php.net/date.timezone
919: ;date.timezone =
920:
921: ; http://php.net/date.default-latitude
922: ;date.default_latitude = 31.7667
923:
924: ; http://php.net/date.default-longitude
925: ;date.default_longitude = 35.2333
926:
927: ; http://php.net/date.sunrise-zenith
928: ;date.sunrise_zenith = 90.583333
929:
930: ; http://php.net/date.sunset-zenith
931: ;date.sunset_zenith = 90.583333
932:
933: [filter]
934: ; http://php.net/filter.default
935: ;filter.default = unsafe_raw
936:
937: ; http://php.net/filter.default-flags
938: ;filter.default_flags =
939:
940: [iconv]
941: ;iconv.input_encoding = ISO-8859-1
942: ;iconv.internal_encoding = ISO-8859-1
943: ;iconv.output_encoding = ISO-8859-1
944:
945: [intl]
946: ;intl.default_locale =
947: ; This directive allows you to produce PHP errors when some error
948: ; happens within intl functions. The value is the level of the error produced.
949: ; Default is 0, which does not produce any errors.
950: ;intl.error_level = E_WARNING
951:
952: [sqlite]
953: ; http://php.net/sqlite.assoc-case
954: ;sqlite.assoc_case = 0
955:
956: [sqlite3]
957: ;sqlite3.extension_dir =
958:
959: [Pcre]
960: ;PCRE library backtracking limit.
961: ; http://php.net/pcre.backtrack-limit
962: ;pcre.backtrack_limit=100000
963:
964: ;PCRE library recursion limit.
965: ;Please note that if you set this value to a high number you may consume all
966: ;the available process stack and eventually crash PHP (due to reaching the
967: ;stack size limit imposed by the Operating System).
968: ; http://php.net/pcre.recursion-limit
969: ;pcre.recursion_limit=100000
970:
971: [Pdo]
972: ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
973: ; http://php.net/pdo-odbc.connection-pooling
974: ;pdo_odbc.connection_pooling=strict
975:
976: ;pdo_odbc.db2_instance_name
977:
978: [Pdo_mysql]
979: ; If mysqlnd is used: Number of cache slots for the internal result set cache
980: ; http://php.net/pdo_mysql.cache_size
981: pdo_mysql.cache_size = 2000
982:
983: ; Default socket name for local MySQL connects. If empty, uses the built-in
984: ; MySQL defaults.
985: ; http://php.net/pdo_mysql.default-socket
986: pdo_mysql.default_socket=
987:
988: [Phar]
989: ; http://php.net/phar.readonly
990: ;phar.readonly = On
991:
992: ; http://php.net/phar.require-hash
993: ;phar.require_hash = On
994:
995: ;phar.cache_list =
996:
997: [mail function]
998: ; For Win32 only.
999: ; http://php.net/smtp
1000: SMTP = localhost
1001: ; http://php.net/smtp-port
1002: smtp_port = 25
1003:
1004: ; For Win32 only.
1005: ; http://php.net/sendmail-from
1006: ;sendmail_from = me@example.com
1007:
1008: ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
1009: ; http://php.net/sendmail-path
1010: ;sendmail_path =
1011:
1012: ; Force the addition of the specified parameters to be passed as extra parameters
1013: ; to the sendmail binary. These parameters will always replace the value of
1014: ; the 5th parameter to mail(), even in safe mode.
1015: ;mail.force_extra_parameters =
1016:
1017: ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
1018: mail.add_x_header = On
1019:
1020: ; The path to a log file that will log all mail() calls. Log entries include
1021: ; the full path of the script, line number, To address and headers.
1022: ;mail.log =
1023:
1024: [SQL]
1025: ; http://php.net/sql.safe-mode
1026: sql.safe_mode = Off
1027:
1028: [ODBC]
1029: ; http://php.net/odbc.default-db
1030: ;odbc.default_db = Not yet implemented
1031:
1032: ; http://php.net/odbc.default-user
1033: ;odbc.default_user = Not yet implemented
1034:
1035: ; http://php.net/odbc.default-pw
1036: ;odbc.default_pw = Not yet implemented
1037:
1038: ; Controls the ODBC cursor model.
1039: ; Default: SQL_CURSOR_STATIC (default).
1040: ;odbc.default_cursortype
1041:
1042: ; Allow or prevent persistent links.
1043: ; http://php.net/odbc.allow-persistent
1044: odbc.allow_persistent = On
1045:
1046: ; Check that a connection is still valid before reuse.
1047: ; http://php.net/odbc.check-persistent
1048: odbc.check_persistent = On
1049:
1050: ; Maximum number of persistent links. -1 means no limit.
1051: ; http://php.net/odbc.max-persistent
1052: odbc.max_persistent = -1
1053:
1054: ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1055: ; http://php.net/odbc.max-links
1056: odbc.max_links = -1
1057:
1058: ; Handling of LONG fields. Returns number of bytes to variables. 0 means
1059: ; passthru.
1060: ; http://php.net/odbc.defaultlrl
1061: odbc.defaultlrl = 4096
1062:
1063: ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
1064: ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
1065: ; of odbc.defaultlrl and odbc.defaultbinmode
1066: ; http://php.net/odbc.defaultbinmode
1067: odbc.defaultbinmode = 1
1068:
1069: ;birdstep.max_links = -1
1070:
1071: [Interbase]
1072: ; Allow or prevent persistent links.
1073: ibase.allow_persistent = 1
1074:
1075: ; Maximum number of persistent links. -1 means no limit.
1076: ibase.max_persistent = -1
1077:
1078: ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1079: ibase.max_links = -1
1080:
1081: ; Default database name for ibase_connect().
1082: ;ibase.default_db =
1083:
1084: ; Default username for ibase_connect().
1085: ;ibase.default_user =
1086:
1087: ; Default password for ibase_connect().
1088: ;ibase.default_password =
1089:
1090: ; Default charset for ibase_connect().
1091: ;ibase.default_charset =
1092:
1093: ; Default timestamp format.
1094: ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
1095:
1096: ; Default date format.
1097: ibase.dateformat = "%Y-%m-%d"
1098:
1099: ; Default time format.
1100: ibase.timeformat = "%H:%M:%S"
1101:
1102: [MySQL]
1103: ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1104: ; http://php.net/mysql.allow_local_infile
1105: mysql.allow_local_infile = On
1106:
1107: ; Allow or prevent persistent links.
1108: ; http://php.net/mysql.allow-persistent
1109: mysql.allow_persistent = On
1110:
1111: ; If mysqlnd is used: Number of cache slots for the internal result set cache
1112: ; http://php.net/mysql.cache_size
1113: mysql.cache_size = 2000
1114:
1115: ; Maximum number of persistent links. -1 means no limit.
1116: ; http://php.net/mysql.max-persistent
1117: mysql.max_persistent = -1
1118:
1119: ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1120: ; http://php.net/mysql.max-links
1121: mysql.max_links = -1
1122:
1123: ; Default port number for mysql_connect(). If unset, mysql_connect() will use
1124: ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1125: ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1126: ; at MYSQL_PORT.
1127: ; http://php.net/mysql.default-port
1128: mysql.default_port =
1129:
1130: ; Default socket name for local MySQL connects. If empty, uses the built-in
1131: ; MySQL defaults.
1132: ; http://php.net/mysql.default-socket
1133: mysql.default_socket =
1134:
1135: ; Default host for mysql_connect() (doesn't apply in safe mode).
1136: ; http://php.net/mysql.default-host
1137: mysql.default_host =
1138:
1139: ; Default user for mysql_connect() (doesn't apply in safe mode).
1140: ; http://php.net/mysql.default-user
1141: mysql.default_user =
1142:
1143: ; Default password for mysql_connect() (doesn't apply in safe mode).
1144: ; Note that this is generally a *bad* idea to store passwords in this file.
1145: ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
1146: ; and reveal this password! And of course, any users with read access to this
1147: ; file will be able to reveal the password as well.
1148: ; http://php.net/mysql.default-password
1149: mysql.default_password =
1150:
1151: ; Maximum time (in seconds) for connect timeout. -1 means no limit
1152: ; http://php.net/mysql.connect-timeout
1153: mysql.connect_timeout = 60
1154:
1155: ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
1156: ; SQL-Errors will be displayed.
1157: ; http://php.net/mysql.trace-mode
1158: mysql.trace_mode = Off
1159:
1160: [MySQLi]
1161:
1162: ; Maximum number of persistent links. -1 means no limit.
1163: ; http://php.net/mysqli.max-persistent
1164: mysqli.max_persistent = -1
1165:
1166: ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1167: ; http://php.net/mysqli.allow_local_infile
1168: ;mysqli.allow_local_infile = On
1169:
1170: ; Allow or prevent persistent links.
1171: ; http://php.net/mysqli.allow-persistent
1172: mysqli.allow_persistent = On
1173:
1174: ; Maximum number of links. -1 means no limit.
1175: ; http://php.net/mysqli.max-links
1176: mysqli.max_links = -1
1177:
1178: ; If mysqlnd is used: Number of cache slots for the internal result set cache
1179: ; http://php.net/mysqli.cache_size
1180: mysqli.cache_size = 2000
1181:
1182: ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
1183: ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1184: ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1185: ; at MYSQL_PORT.
1186: ; http://php.net/mysqli.default-port
1187: mysqli.default_port = 3306
1188:
1189: ; Default socket name for local MySQL connects. If empty, uses the built-in
1190: ; MySQL defaults.
1191: ; http://php.net/mysqli.default-socket
1192: mysqli.default_socket =
1193:
1194: ; Default host for mysql_connect() (doesn't apply in safe mode).
1195: ; http://php.net/mysqli.default-host
1196: mysqli.default_host =
1197:
1198: ; Default user for mysql_connect() (doesn't apply in safe mode).
1199: ; http://php.net/mysqli.default-user
1200: mysqli.default_user =
1201:
1202: ; Default password for mysqli_connect() (doesn't apply in safe mode).
1203: ; Note that this is generally a *bad* idea to store passwords in this file.
1204: ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
1205: ; and reveal this password! And of course, any users with read access to this
1206: ; file will be able to reveal the password as well.
1207: ; http://php.net/mysqli.default-pw
1208: mysqli.default_pw =
1209:
1210: ; Allow or prevent reconnect
1211: mysqli.reconnect = Off
1212:
1213: [mysqlnd]
1214: ; Enable / Disable collection of general statistics by mysqlnd which can be
1215: ; used to tune and monitor MySQL operations.
1216: ; http://php.net/mysqlnd.collect_statistics
1217: mysqlnd.collect_statistics = On
1218:
1219: ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
1220: ; used to tune and monitor MySQL operations.
1221: ; http://php.net/mysqlnd.collect_memory_statistics
1222: mysqlnd.collect_memory_statistics = Off
1223:
1224: ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
1225: ; http://php.net/mysqlnd.net_cmd_buffer_size
1226: ;mysqlnd.net_cmd_buffer_size = 2048
1227:
1228: ; Size of a pre-allocated buffer used for reading data sent by the server in
1229: ; bytes.
1230: ; http://php.net/mysqlnd.net_read_buffer_size
1231: ;mysqlnd.net_read_buffer_size = 32768
1232:
1233: [OCI8]
1234:
1235: ; Connection: Enables privileged connections using external
1236: ; credentials (OCI_SYSOPER, OCI_SYSDBA)
1237: ; http://php.net/oci8.privileged-connect
1238: ;oci8.privileged_connect = Off
1239:
1240: ; Connection: The maximum number of persistent OCI8 connections per
1241: ; process. Using -1 means no limit.
1242: ; http://php.net/oci8.max-persistent
1243: ;oci8.max_persistent = -1
1244:
1245: ; Connection: The maximum number of seconds a process is allowed to
1246: ; maintain an idle persistent connection. Using -1 means idle
1247: ; persistent connections will be maintained forever.
1248: ; http://php.net/oci8.persistent-timeout
1249: ;oci8.persistent_timeout = -1
1250:
1251: ; Connection: The number of seconds that must pass before issuing a
1252: ; ping during oci_pconnect() to check the connection validity. When
1253: ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
1254: ; pings completely.
1255: ; http://php.net/oci8.ping-interval
1256: ;oci8.ping_interval = 60
1257:
1258: ; Connection: Set this to a user chosen connection class to be used
1259: ; for all pooled server requests with Oracle 11g Database Resident
1260: ; Connection Pooling (DRCP). To use DRCP, this value should be set to
1261: ; the same string for all web servers running the same application,
1262: ; the database pool must be configured, and the connection string must
1263: ; specify to use a pooled server.
1264: ;oci8.connection_class =
1265:
1266: ; High Availability: Using On lets PHP receive Fast Application
1267: ; Notification (FAN) events generated when a database node fails. The
1268: ; database must also be configured to post FAN events.
1269: ;oci8.events = Off
1270:
1271: ; Tuning: This option enables statement caching, and specifies how
1272: ; many statements to cache. Using 0 disables statement caching.
1273: ; http://php.net/oci8.statement-cache-size
1274: ;oci8.statement_cache_size = 20
1275:
1276: ; Tuning: Enables statement prefetching and sets the default number of
1277: ; rows that will be fetched automatically after statement execution.
1278: ; http://php.net/oci8.default-prefetch
1279: ;oci8.default_prefetch = 100
1280:
1281: ; Compatibility. Using On means oci_close() will not close
1282: ; oci_connect() and oci_new_connect() connections.
1283: ; http://php.net/oci8.old-oci-close-semantics
1284: ;oci8.old_oci_close_semantics = Off
1285:
1286: [PostgreSQL]
1287: ; Allow or prevent persistent links.
1288: ; http://php.net/pgsql.allow-persistent
1289: pgsql.allow_persistent = On
1290:
1291: ; Detect broken persistent links always with pg_pconnect().
1292: ; Auto reset feature requires a little overheads.
1293: ; http://php.net/pgsql.auto-reset-persistent
1294: pgsql.auto_reset_persistent = Off
1295:
1296: ; Maximum number of persistent links. -1 means no limit.
1297: ; http://php.net/pgsql.max-persistent
1298: pgsql.max_persistent = -1
1299:
1300: ; Maximum number of links (persistent+non persistent). -1 means no limit.
1301: ; http://php.net/pgsql.max-links
1302: pgsql.max_links = -1
1303:
1304: ; Ignore PostgreSQL backends Notice message or not.
1305: ; Notice message logging require a little overheads.
1306: ; http://php.net/pgsql.ignore-notice
1307: pgsql.ignore_notice = 0
1308:
1309: ; Log PostgreSQL backends Notice message or not.
1310: ; Unless pgsql.ignore_notice=0, module cannot log notice message.
1311: ; http://php.net/pgsql.log-notice
1312: pgsql.log_notice = 0
1313:
1314: [Sybase-CT]
1315: ; Allow or prevent persistent links.
1316: ; http://php.net/sybct.allow-persistent
1317: sybct.allow_persistent = On
1318:
1319: ; Maximum number of persistent links. -1 means no limit.
1320: ; http://php.net/sybct.max-persistent
1321: sybct.max_persistent = -1
1322:
1323: ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1324: ; http://php.net/sybct.max-links
1325: sybct.max_links = -1
1326:
1327: ; Minimum server message severity to display.
1328: ; http://php.net/sybct.min-server-severity
1329: sybct.min_server_severity = 10
1330:
1331: ; Minimum client message severity to display.
1332: ; http://php.net/sybct.min-client-severity
1333: sybct.min_client_severity = 10
1334:
1335: ; Set per-context timeout
1336: ; http://php.net/sybct.timeout
1337: ;sybct.timeout=
1338:
1339: ;sybct.packet_size
1340:
1341: ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
1342: ; Default: one minute
1343: ;sybct.login_timeout=
1344:
1345: ; The name of the host you claim to be connecting from, for display by sp_who.
1346: ; Default: none
1347: ;sybct.hostname=
1348:
1349: ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
1350: ; Default: 0
1351: ;sybct.deadlock_retry_count=
1352:
1353: [bcmath]
1354: ; Number of decimal digits for all bcmath functions.
1355: ; http://php.net/bcmath.scale
1356: bcmath.scale = 0
1357:
1358: [browscap]
1359: ; http://php.net/browscap
1360: ;browscap = extra/browscap.ini
1361:
1362: [Session]
1363: ; Handler used to store/retrieve data.
1364: ; http://php.net/session.save-handler
1365: session.save_handler = files
1366:
1367: ; Argument passed to save_handler. In the case of files, this is the path
1368: ; where data files are stored. Note: Windows users have to change this
1369: ; variable in order to use PHP's session functions.
1370: ;
1371: ; The path can be defined as:
1372: ;
1373: ; session.save_path = "N;/path"
1374: ;
1375: ; where N is an integer. Instead of storing all the session files in
1376: ; /path, what this will do is use subdirectories N-levels deep, and
1377: ; store the session data in those directories. This is useful if you
1378: ; or your OS have problems with lots of files in one directory, and is
1379: ; a more efficient layout for servers that handle lots of sessions.
1380: ;
1381: ; NOTE 1: PHP will not create this directory structure automatically.
1382: ; You can use the script in the ext/session dir for that purpose.
1383: ; NOTE 2: See the section on garbage collection below if you choose to
1384: ; use subdirectories for session storage
1385: ;
1386: ; The file storage module creates files using mode 600 by default.
1387: ; You can change that by using
1388: ;
1389: ; session.save_path = "N;MODE;/path"
1390: ;
1391: ; where MODE is the octal representation of the mode. Note that this
1392: ; does not overwrite the process's umask.
1393: ; http://php.net/session.save-path
1394: ;session.save_path = "/tmp"
1395:
1396: ; Whether to use cookies.
1397: ; http://php.net/session.use-cookies
1398: session.use_cookies = 1
1399:
1400: ; http://php.net/session.cookie-secure
1401: ;session.cookie_secure =
1402:
1403: ; This option forces PHP to fetch and use a cookie for storing and maintaining
1.1.1.2 ! misho 1404: ; the session id. We encourage this operation as it's very helpful in combating
1.1 misho 1405: ; session hijacking when not specifying and managing your own session id. It is
1406: ; not the end all be all of session hijacking defense, but it's a good start.
1407: ; http://php.net/session.use-only-cookies
1408: session.use_only_cookies = 1
1409:
1410: ; Name of the session (used as cookie name).
1411: ; http://php.net/session.name
1412: session.name = PHPSESSID
1413:
1414: ; Initialize session on request startup.
1415: ; http://php.net/session.auto-start
1416: session.auto_start = 0
1417:
1418: ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
1419: ; http://php.net/session.cookie-lifetime
1420: session.cookie_lifetime = 0
1421:
1422: ; The path for which the cookie is valid.
1423: ; http://php.net/session.cookie-path
1424: session.cookie_path = /
1425:
1426: ; The domain for which the cookie is valid.
1427: ; http://php.net/session.cookie-domain
1428: session.cookie_domain =
1429:
1430: ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
1431: ; http://php.net/session.cookie-httponly
1432: session.cookie_httponly =
1433:
1434: ; Handler used to serialize data. php is the standard serializer of PHP.
1435: ; http://php.net/session.serialize-handler
1436: session.serialize_handler = php
1437:
1438: ; Defines the probability that the 'garbage collection' process is started
1439: ; on every session initialization. The probability is calculated by using
1440: ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
1441: ; and gc_divisor is the denominator in the equation. Setting this value to 1
1442: ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1443: ; the gc will run on any give request.
1444: ; Default Value: 1
1445: ; Development Value: 1
1446: ; Production Value: 1
1447: ; http://php.net/session.gc-probability
1448: session.gc_probability = 1
1449:
1450: ; Defines the probability that the 'garbage collection' process is started on every
1451: ; session initialization. The probability is calculated by using the following equation:
1452: ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
1453: ; session.gc_divisor is the denominator in the equation. Setting this value to 1
1454: ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1455: ; the gc will run on any give request. Increasing this value to 1000 will give you
1456: ; a 0.1% chance the gc will run on any give request. For high volume production servers,
1457: ; this is a more efficient approach.
1458: ; Default Value: 100
1459: ; Development Value: 1000
1460: ; Production Value: 1000
1461: ; http://php.net/session.gc-divisor
1462: session.gc_divisor = 1000
1463:
1464: ; After this number of seconds, stored data will be seen as 'garbage' and
1465: ; cleaned up by the garbage collection process.
1466: ; http://php.net/session.gc-maxlifetime
1467: session.gc_maxlifetime = 1440
1468:
1469: ; NOTE: If you are using the subdirectory option for storing session files
1470: ; (see session.save_path above), then garbage collection does *not*
1471: ; happen automatically. You will need to do your own garbage
1472: ; collection through a shell script, cron entry, or some other method.
1473: ; For example, the following script would is the equivalent of
1474: ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1475: ; find /path/to/sessions -cmin +24 | xargs rm
1476:
1477: ; PHP 4.2 and less have an undocumented feature/bug that allows you to
1.1.1.2 ! misho 1478: ; to initialize a session variable in the global scope.
! 1479: ; PHP 4.3 and later will warn you, if this feature is used.
1.1 misho 1480: ; You can disable the feature and the warning separately. At this time,
1481: ; the warning is only displayed, if bug_compat_42 is enabled. This feature
1482: ; introduces some serious security problems if not handled correctly. It's
1483: ; recommended that you do not use this feature on production servers. But you
1484: ; should enable this on development servers and enable the warning as well. If you
1485: ; do not enable the feature on development servers, you won't be warned when it's
1486: ; used and debugging errors caused by this can be difficult to track down.
1487: ; Default Value: On
1488: ; Development Value: On
1489: ; Production Value: Off
1490: ; http://php.net/session.bug-compat-42
1491: session.bug_compat_42 = Off
1492:
1493: ; This setting controls whether or not you are warned by PHP when initializing a
1494: ; session value into the global space. session.bug_compat_42 must be enabled before
1495: ; these warnings can be issued by PHP. See the directive above for more information.
1496: ; Default Value: On
1497: ; Development Value: On
1498: ; Production Value: Off
1499: ; http://php.net/session.bug-compat-warn
1500: session.bug_compat_warn = Off
1501:
1502: ; Check HTTP Referer to invalidate externally stored URLs containing ids.
1503: ; HTTP_REFERER has to contain this substring for the session to be
1504: ; considered as valid.
1505: ; http://php.net/session.referer-check
1506: session.referer_check =
1507:
1508: ; How many bytes to read from the file.
1509: ; http://php.net/session.entropy-length
1.1.1.2 ! misho 1510: ;session.entropy_length = 32
1.1 misho 1511:
1512: ; Specified here to create the session id.
1513: ; http://php.net/session.entropy-file
1.1.1.2 ! misho 1514: ; Defaults to /dev/urandom
! 1515: ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
! 1516: ; If neither are found at compile time, the default is no entropy file.
! 1517: ; On windows, setting the entropy_length setting will activate the
1.1 misho 1518: ; Windows random source (using the CryptoAPI)
1519: ;session.entropy_file = /dev/urandom
1520:
1521: ; Set to {nocache,private,public,} to determine HTTP caching aspects
1522: ; or leave this empty to avoid sending anti-caching headers.
1523: ; http://php.net/session.cache-limiter
1524: session.cache_limiter = nocache
1525:
1526: ; Document expires after n minutes.
1527: ; http://php.net/session.cache-expire
1528: session.cache_expire = 180
1529:
1530: ; trans sid support is disabled by default.
1531: ; Use of trans sid may risk your users security.
1532: ; Use this option with caution.
1533: ; - User may send URL contains active session ID
1534: ; to other person via. email/irc/etc.
1535: ; - URL that contains active session ID may be stored
1.1.1.2 ! misho 1536: ; in publicly accessible computer.
1.1 misho 1537: ; - User may access your site with the same session ID
1538: ; always using URL stored in browser's history or bookmarks.
1539: ; http://php.net/session.use-trans-sid
1540: session.use_trans_sid = 0
1541:
1542: ; Select a hash function for use in generating session ids.
1543: ; Possible Values
1544: ; 0 (MD5 128 bits)
1545: ; 1 (SHA-1 160 bits)
1546: ; This option may also be set to the name of any hash function supported by
1547: ; the hash extension. A list of available hashes is returned by the hash_algos()
1548: ; function.
1549: ; http://php.net/session.hash-function
1550: session.hash_function = 0
1551:
1552: ; Define how many bits are stored in each character when converting
1553: ; the binary hash data to something readable.
1554: ; Possible values:
1555: ; 4 (4 bits: 0-9, a-f)
1556: ; 5 (5 bits: 0-9, a-v)
1557: ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
1558: ; Default Value: 4
1559: ; Development Value: 5
1560: ; Production Value: 5
1561: ; http://php.net/session.hash-bits-per-character
1562: session.hash_bits_per_character = 5
1563:
1564: ; The URL rewriter will look for URLs in a defined set of HTML tags.
1565: ; form/fieldset are special; if you include them here, the rewriter will
1566: ; add a hidden <input> field with the info which is otherwise appended
1567: ; to URLs. If you want XHTML conformity, remove the form entry.
1568: ; Note that all valid entries require a "=", even if no value follows.
1569: ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
1570: ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1571: ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1572: ; http://php.net/url-rewriter.tags
1573: url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
1574:
1.1.1.2 ! misho 1575: ; Enable upload progress tracking in $_SESSION
! 1576: ; Default Value: On
! 1577: ; Development Value: On
! 1578: ; Production Value: On
! 1579: ; http://php.net/session.upload-progress.enabled
! 1580: ;session.upload_progress.enabled = On
! 1581:
! 1582: ; Cleanup the progress information as soon as all POST data has been read
! 1583: ; (i.e. upload completed).
! 1584: ; Default Value: On
! 1585: ; Development Value: On
! 1586: ; Production Value: On
! 1587: ; http://php.net/session.upload-progress.cleanup
! 1588: ;session.upload_progress.cleanup = On
! 1589:
! 1590: ; A prefix used for the upload progress key in $_SESSION
! 1591: ; Default Value: "upload_progress_"
! 1592: ; Development Value: "upload_progress_"
! 1593: ; Production Value: "upload_progress_"
! 1594: ; http://php.net/session.upload-progress.prefix
! 1595: ;session.upload_progress.prefix = "upload_progress_"
! 1596:
! 1597: ; The index name (concatenated with the prefix) in $_SESSION
! 1598: ; containing the upload progress information
! 1599: ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
! 1600: ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
! 1601: ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
! 1602: ; http://php.net/session.upload-progress.name
! 1603: ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
! 1604:
! 1605: ; How frequently the upload progress should be updated.
! 1606: ; Given either in percentages (per-file), or in bytes
! 1607: ; Default Value: "1%"
! 1608: ; Development Value: "1%"
! 1609: ; Production Value: "1%"
! 1610: ; http://php.net/session.upload-progress.freq
! 1611: ;session.upload_progress.freq = "1%"
! 1612:
! 1613: ; The minimum delay between updates, in seconds
! 1614: ; Default Value: 1
! 1615: ; Development Value: 1
! 1616: ; Production Value: 1
! 1617: ; http://php.net/session.upload-progress.min-freq
! 1618: ;session.upload_progress.min_freq = "1"
! 1619:
1.1 misho 1620: [MSSQL]
1621: ; Allow or prevent persistent links.
1622: mssql.allow_persistent = On
1623:
1624: ; Maximum number of persistent links. -1 means no limit.
1625: mssql.max_persistent = -1
1626:
1627: ; Maximum number of links (persistent+non persistent). -1 means no limit.
1628: mssql.max_links = -1
1629:
1630: ; Minimum error severity to display.
1631: mssql.min_error_severity = 10
1632:
1633: ; Minimum message severity to display.
1634: mssql.min_message_severity = 10
1635:
1636: ; Compatibility mode with old versions of PHP 3.0.
1637: mssql.compatability_mode = Off
1638:
1639: ; Connect timeout
1640: ;mssql.connect_timeout = 5
1641:
1642: ; Query timeout
1643: ;mssql.timeout = 60
1644:
1645: ; Valid range 0 - 2147483647. Default = 4096.
1646: ;mssql.textlimit = 4096
1647:
1648: ; Valid range 0 - 2147483647. Default = 4096.
1649: ;mssql.textsize = 4096
1650:
1651: ; Limits the number of records in each batch. 0 = all records in one batch.
1652: ;mssql.batchsize = 0
1653:
1654: ; Specify how datetime and datetim4 columns are returned
1655: ; On => Returns data converted to SQL server settings
1656: ; Off => Returns values as YYYY-MM-DD hh:mm:ss
1657: ;mssql.datetimeconvert = On
1658:
1659: ; Use NT authentication when connecting to the server
1660: mssql.secure_connection = Off
1661:
1662: ; Specify max number of processes. -1 = library default
1663: ; msdlib defaults to 25
1664: ; FreeTDS defaults to 4096
1665: ;mssql.max_procs = -1
1666:
1667: ; Specify client character set.
1668: ; If empty or not set the client charset from freetds.conf is used
1669: ; This is only used when compiled with FreeTDS
1670: ;mssql.charset = "ISO-8859-1"
1671:
1672: [Assertion]
1673: ; Assert(expr); active by default.
1674: ; http://php.net/assert.active
1675: ;assert.active = On
1676:
1677: ; Issue a PHP warning for each failed assertion.
1678: ; http://php.net/assert.warning
1679: ;assert.warning = On
1680:
1681: ; Don't bail out by default.
1682: ; http://php.net/assert.bail
1683: ;assert.bail = Off
1684:
1685: ; User-function to be called if an assertion fails.
1686: ; http://php.net/assert.callback
1687: ;assert.callback = 0
1688:
1689: ; Eval the expression with current error_reporting(). Set to true if you want
1690: ; error_reporting(0) around the eval().
1691: ; http://php.net/assert.quiet-eval
1692: ;assert.quiet_eval = 0
1693:
1694: [COM]
1695: ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1696: ; http://php.net/com.typelib-file
1697: ;com.typelib_file =
1698:
1699: ; allow Distributed-COM calls
1700: ; http://php.net/com.allow-dcom
1701: ;com.allow_dcom = true
1702:
1703: ; autoregister constants of a components typlib on com_load()
1704: ; http://php.net/com.autoregister-typelib
1705: ;com.autoregister_typelib = true
1706:
1707: ; register constants casesensitive
1708: ; http://php.net/com.autoregister-casesensitive
1709: ;com.autoregister_casesensitive = false
1710:
1711: ; show warnings on duplicate constant registrations
1712: ; http://php.net/com.autoregister-verbose
1713: ;com.autoregister_verbose = true
1714:
1715: ; The default character set code-page to use when passing strings to and from COM objects.
1716: ; Default: system ANSI code page
1717: ;com.code_page=
1718:
1719: [mbstring]
1720: ; language for internal character representation.
1721: ; http://php.net/mbstring.language
1722: ;mbstring.language = Japanese
1723:
1724: ; internal/script encoding.
1725: ; Some encoding cannot work as internal encoding.
1726: ; (e.g. SJIS, BIG5, ISO-2022-*)
1727: ; http://php.net/mbstring.internal-encoding
1728: ;mbstring.internal_encoding = EUC-JP
1729:
1730: ; http input encoding.
1731: ; http://php.net/mbstring.http-input
1732: ;mbstring.http_input = auto
1733:
1734: ; http output encoding. mb_output_handler must be
1735: ; registered as output buffer to function
1736: ; http://php.net/mbstring.http-output
1737: ;mbstring.http_output = SJIS
1738:
1739: ; enable automatic encoding translation according to
1740: ; mbstring.internal_encoding setting. Input chars are
1741: ; converted to internal encoding by setting this to On.
1742: ; Note: Do _not_ use automatic encoding translation for
1743: ; portable libs/applications.
1744: ; http://php.net/mbstring.encoding-translation
1745: ;mbstring.encoding_translation = Off
1746:
1747: ; automatic encoding detection order.
1748: ; auto means
1749: ; http://php.net/mbstring.detect-order
1750: ;mbstring.detect_order = auto
1751:
1752: ; substitute_character used when character cannot be converted
1753: ; one from another
1754: ; http://php.net/mbstring.substitute-character
1755: ;mbstring.substitute_character = none;
1756:
1757: ; overload(replace) single byte functions by mbstring functions.
1758: ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1759: ; etc. Possible values are 0,1,2,4 or combination of them.
1760: ; For example, 7 for overload everything.
1761: ; 0: No overload
1762: ; 1: Overload mail() function
1763: ; 2: Overload str*() functions
1764: ; 4: Overload ereg*() functions
1765: ; http://php.net/mbstring.func-overload
1766: ;mbstring.func_overload = 0
1767:
1768: ; enable strict encoding detection.
1769: ;mbstring.strict_detection = Off
1770:
1771: ; This directive specifies the regex pattern of content types for which mb_output_handler()
1772: ; is activated.
1773: ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
1774: ;mbstring.http_output_conv_mimetype=
1775:
1776: [gd]
1777: ; Tell the jpeg decode to ignore warnings and try to create
1778: ; a gd image. The warning will then be displayed as notices
1779: ; disabled by default
1780: ; http://php.net/gd.jpeg-ignore-warning
1781: ;gd.jpeg_ignore_warning = 0
1782:
1783: [exif]
1784: ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1785: ; With mbstring support this will automatically be converted into the encoding
1786: ; given by corresponding encode setting. When empty mbstring.internal_encoding
1787: ; is used. For the decode settings you can distinguish between motorola and
1788: ; intel byte order. A decode setting cannot be empty.
1789: ; http://php.net/exif.encode-unicode
1790: ;exif.encode_unicode = ISO-8859-15
1791:
1792: ; http://php.net/exif.decode-unicode-motorola
1793: ;exif.decode_unicode_motorola = UCS-2BE
1794:
1795: ; http://php.net/exif.decode-unicode-intel
1796: ;exif.decode_unicode_intel = UCS-2LE
1797:
1798: ; http://php.net/exif.encode-jis
1799: ;exif.encode_jis =
1800:
1801: ; http://php.net/exif.decode-jis-motorola
1802: ;exif.decode_jis_motorola = JIS
1803:
1804: ; http://php.net/exif.decode-jis-intel
1805: ;exif.decode_jis_intel = JIS
1806:
1807: [Tidy]
1808: ; The path to a default tidy configuration file to use when using tidy
1809: ; http://php.net/tidy.default-config
1810: ;tidy.default_config = /usr/local/lib/php/default.tcfg
1811:
1812: ; Should tidy clean and repair output automatically?
1813: ; WARNING: Do not use this option if you are generating non-html content
1814: ; such as dynamic images
1815: ; http://php.net/tidy.clean-output
1816: tidy.clean_output = Off
1817:
1818: [soap]
1819: ; Enables or disables WSDL caching feature.
1820: ; http://php.net/soap.wsdl-cache-enabled
1821: soap.wsdl_cache_enabled=1
1822:
1823: ; Sets the directory name where SOAP extension will put cache files.
1824: ; http://php.net/soap.wsdl-cache-dir
1825: soap.wsdl_cache_dir="/tmp"
1826:
1827: ; (time to live) Sets the number of second while cached file will be used
1828: ; instead of original one.
1829: ; http://php.net/soap.wsdl-cache-ttl
1830: soap.wsdl_cache_ttl=86400
1831:
1832: ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
1833: soap.wsdl_cache_limit = 5
1834:
1835: [sysvshm]
1836: ; A default size of the shared memory segment
1837: ;sysvshm.init_mem = 10000
1838:
1839: [ldap]
1840: ; Sets the maximum number of open links or -1 for unlimited.
1841: ldap.max_links = -1
1842:
1843: [mcrypt]
1844: ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
1845:
1846: ; Directory where to load mcrypt algorithms
1847: ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1848: ;mcrypt.algorithms_dir=
1849:
1850: ; Directory where to load mcrypt modes
1851: ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1852: ;mcrypt.modes_dir=
1853:
1854: [dba]
1855: ;dba.default_handler=
1856:
1857: ; Local Variables:
1858: ; tab-width: 4
1859: ; End:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>