illumos-gate: patch param.h to use a pidmax value for the 21st century
[oi-userland.git] / components / web / php / php-8_1 / files / php.ini
blobcd7085c2075ffbad26674a2bf9e1f9844083a1f0
1 [PHP]
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.
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.
19 ; Directives are specified using the following syntax:
20 ; directive = value
21 ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
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").
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
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.
36 ; An empty string can be denoted by simply not writing anything after the equal
37 ; sign, or by using the None keyword:
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'
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.
48 ;;;;;;;;;;;;;;;;;;;
49 ; About this file ;
50 ;;;;;;;;;;;;;;;;;;;
51 ; All the values in the php.ini-dist file correspond to the builtin
52 ; defaults (that is, if no php.ini is used, or if you delete these lines,
53 ; the builtin defaults will be identical).
56 ;;;;;;;;;;;;;;;;;;;;
57 ; Language Options ;
58 ;;;;;;;;;;;;;;;;;;;;
60 ; Enable the PHP scripting language engine under Apache.
61 engine = On
63 ; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
64 zend.ze1_compatibility_mode = Off
66 ; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
67 ; NOTE: Using short tags should be avoided when developing applications or
68 ; libraries that are meant for redistribution, or deployment on PHP
69 ; servers which are not under your control, because short tags may not
70 ; be supported on the target server. For portable, redistributable code,
71 ; be sure not to use short tags.
72 short_open_tag = On
74 ; Allow ASP-style <% %> tags.
75 asp_tags = Off
77 ; The number of significant digits displayed in floating point numbers.
78 precision = 14
80 ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
81 y2k_compliance = On
83 ; Output buffering allows you to send header lines (including cookies) even
84 ; after you send body content, at the price of slowing PHP's output layer a
85 ; bit. You can enable output buffering during runtime by calling the output
86 ; buffering functions. You can also enable output buffering for all files by
87 ; setting this directive to On. If you wish to limit the size of the buffer
88 ; to a certain size - you can use a maximum number of bytes instead of 'On', as
89 ; a value for this directive (e.g., output_buffering=4096).
90 output_buffering = 4096
92 ; You can redirect all of the output of your scripts to a function. For
93 ; example, if you set output_handler to "mb_output_handler", character
94 ; encoding will be transparently converted to the specified encoding.
95 ; Setting any output handler automatically turns on output buffering.
96 ; Note: People who wrote portable scripts should not depend on this ini
97 ; directive. Instead, explicitly set the output handler using ob_start().
98 ; Using this ini directive may cause problems unless you know what script
99 ; is doing.
100 ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
101 ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
102 ; Note: output_handler must be empty if this is set 'On' !!!!
103 ; Instead you must use zlib.output_handler.
104 ;output_handler =
106 ; Transparent output compression using the zlib library
107 ; Valid values for this option are 'off', 'on', or a specific buffer size
108 ; to be used for compression (default is 4KB)
109 ; Note: Resulting chunk size may vary due to nature of compression. PHP
110 ; outputs chunks that are few hundreds bytes each as a result of
111 ; compression. If you prefer a larger chunk size for better
112 ; performance, enable output_buffering in addition.
113 ; Note: You need to use zlib.output_handler instead of the standard
114 ; output_handler, or otherwise the output will be corrupted.
115 zlib.output_compression = Off
116 ;zlib.output_compression_level = -1
118 ; You cannot specify additional output handlers if zlib.output_compression
119 ; is activated here. This setting does the same as output_handler but in
120 ; a different order.
121 ;zlib.output_handler =
123 ; Implicit flush tells PHP to tell the output layer to flush itself
124 ; automatically after every output block. This is equivalent to calling the
125 ; PHP function flush() after each and every call to print() or echo() and each
126 ; and every HTML block. Turning this option on has serious performance
127 ; implications and is generally recommended for debugging purposes only.
128 implicit_flush = Off
130 ; The unserialize callback function will be called (with the undefined class'
131 ; name as parameter), if the unserializer finds an undefined class
132 ; which should be instantiated.
133 ; A warning appears if the specified function is not defined, or if the
134 ; function doesn't include/implement the missing class.
135 ; So only set this entry, if you really want to implement such a
136 ; callback-function.
137 unserialize_callback_func=
139 ; When floats & doubles are serialized store serialize_precision significant
140 ; digits after the floating point. The default value ensures that when floats
141 ; are decoded with unserialize, the data will remain the same.
142 serialize_precision = 100
144 ; Whether to enable the ability to force arguments to be passed by reference
145 ; at function call time. This method is deprecated and is likely to be
146 ; unsupported in future versions of PHP/Zend. The encouraged method of
147 ; specifying which arguments should be passed by reference is in the function
148 ; declaration. You're encouraged to try and turn this option Off and make
149 ; sure your scripts work properly with it in order to ensure they will work
150 ; with future versions of the language (you will receive a warning each time
151 ; you use this feature, and the argument will be passed by value instead of by
152 ; reference).
153 allow_call_time_pass_reference = Off
156 ; Safe Mode
158 safe_mode = Off
160 ; By default, Safe Mode does a UID compare check when
161 ; opening files. If you want to relax this to a GID compare,
162 ; then turn on safe_mode_gid.
163 safe_mode_gid = Off
165 ; When safe_mode is on, UID/GID checks are bypassed when
166 ; including files from this directory and its subdirectories.
167 ; (directory must also be in include_path or full path must
168 ; be used when including)
169 safe_mode_include_dir =
171 ; When safe_mode is on, only executables located in the safe_mode_exec_dir
172 ; will be allowed to be executed via the exec family of functions.
173 safe_mode_exec_dir =
175 ; Setting certain environment variables may be a potential security breach.
176 ; This directive contains a comma-delimited list of prefixes. In Safe Mode,
177 ; the user may only alter environment variables whose names begin with the
178 ; prefixes supplied here. By default, users will only be able to set
179 ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
181 ; Note: If this directive is empty, PHP will let the user modify ANY
182 ; environment variable!
183 safe_mode_allowed_env_vars = PHP_
185 ; This directive contains a comma-delimited list of environment variables that
186 ; the end user won't be able to change using putenv(). These variables will be
187 ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
188 safe_mode_protected_env_vars = LD_LIBRARY_PATH
190 ; open_basedir, if set, limits all file operations to the defined directory
191 ; and below. This directive makes most sense if used in a per-directory
192 ; or per-virtualhost web server configuration file. This directive is
193 ; *NOT* affected by whether Safe Mode is turned On or Off.
194 ;open_basedir =
196 ; This directive allows you to disable certain functions for security reasons.
197 ; It receives a comma-delimited list of function names. This directive is
198 ; *NOT* affected by whether Safe Mode is turned On or Off.
199 disable_functions =
201 ; This directive allows you to disable certain classes for security reasons.
202 ; It receives a comma-delimited list of class names. This directive is
203 ; *NOT* affected by whether Safe Mode is turned On or Off.
204 disable_classes =
206 ; Colors for Syntax Highlighting mode. Anything that's acceptable in
207 ; <span style="color: ???????"> would work.
208 ;highlight.string = #DD0000
209 ;highlight.comment = #FF9900
210 ;highlight.keyword = #007700
211 ;highlight.bg = #FFFFFF
212 ;highlight.default = #0000BB
213 ;highlight.html = #000000
215 ; If enabled, the request will be allowed to complete even if the user aborts
216 ; the request. Consider enabling it if executing long request, which may end up
217 ; being interrupted by the user or a browser timing out.
218 ; ignore_user_abort = On
220 ; Determines the size of the realpath cache to be used by PHP. This value should
221 ; be increased on systems where PHP opens many files to reflect the quantity of
222 ; the file operations performed.
223 ; realpath_cache_size=16k
225 ; Duration of time, in seconds for which to cache realpath information for a given
226 ; file or directory. For systems with rarely changing files, consider increasing this
227 ; value.
228 ; realpath_cache_ttl=120
231 ; Misc
233 ; Decides whether PHP may expose the fact that it is installed on the server
234 ; (e.g. by adding its signature to the Web server header). It is no security
235 ; threat in any way, but it makes it possible to determine whether you use PHP
236 ; on your server or not.
237 expose_php = On
240 ;;;;;;;;;;;;;;;;;;;
241 ; Resource Limits ;
242 ;;;;;;;;;;;;;;;;;;;
244 max_execution_time = 30 ; Maximum execution time of each script, in seconds
245 max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
246 ;max_input_nesting_level = 64 ; Maximum input variable nesting level
247 memory_limit = 128M ; Maximum amount of memory a script may consume (128MB)
250 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
251 ; Error handling and logging ;
252 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
254 ; error_reporting is a bit-field. Or each number up to get desired error
255 ; reporting level
256 ; E_ALL - All errors and warnings (doesn't include E_STRICT)
257 ; E_ERROR - fatal run-time errors
258 ; E_RECOVERABLE_ERROR - almost fatal run-time errors
259 ; E_WARNING - run-time warnings (non-fatal errors)
260 ; E_PARSE - compile-time parse errors
261 ; E_NOTICE - run-time notices (these are warnings which often result
262 ; from a bug in your code, but it's possible that it was
263 ; intentional (e.g., using an uninitialized variable and
264 ; relying on the fact it's automatically initialized to an
265 ; empty string)
266 ; E_STRICT - run-time notices, enable to have PHP suggest changes
267 ; to your code which will ensure the best interoperability
268 ; and forward compatibility of your code
269 ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
270 ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
271 ; initial startup
272 ; E_COMPILE_ERROR - fatal compile-time errors
273 ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
274 ; E_USER_ERROR - user-generated error message
275 ; E_USER_WARNING - user-generated warning message
276 ; E_USER_NOTICE - user-generated notice message
278 ; Examples:
280 ; - Show all errors, except for notices and coding standards warnings
282 ;error_reporting = E_ALL & ~E_NOTICE
284 ; - Show all errors, except for notices
286 ;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
288 ; - Show only errors
290 ;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
292 ; - Show all errors except for notices and coding standards warnings
294 ;error_reporting = E_ALL & ~E_NOTICE
295 error_reporting = E_ALL
297 ; Print out errors (as a part of the output). For production web sites,
298 ; you're strongly encouraged to turn this feature off, and use error logging
299 ; instead (see below). Keeping display_errors enabled on a production web site
300 ; may reveal security information to end users, such as file paths on your Web
301 ; server, your database schema or other information.
303 ; possible values for display_errors:
305 ; Off - Do not display any errors
306 ; stderr - Display errors to STDERR (affects only CGI/CLI binaries!)
308 ;display_errors = "stderr"
310 ; stdout (On) - Display errors to STDOUT
312 display_errors = Off
314 ; Even when display_errors is on, errors that occur during PHP's startup
315 ; sequence are not displayed. It's strongly recommended to keep
316 ; display_startup_errors off, except for when debugging.
317 display_startup_errors = Off
319 ; Log errors into a log file (server-specific log, stderr, or error_log (below))
320 ; As stated above, you're strongly advised to use error logging in place of
321 ; error displaying on production web sites.
322 log_errors = On
324 ; Set maximum length of log_errors. In error_log information about the source is
325 ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
326 log_errors_max_len = 1024
328 ; Do not log repeated messages. Repeated errors must occur in same file on same
329 ; line unless ignore_repeated_source is set true.
330 ignore_repeated_errors = Off
332 ; Ignore source of message when ignoring repeated messages. When this setting
333 ; is On you will not log errors with repeated messages from different files or
334 ; source lines.
335 ignore_repeated_source = Off
337 ; If this parameter is set to Off, then memory leaks will not be shown (on
338 ; stdout or in the log). This has only effect in a debug compile, and if
339 ; error reporting includes E_WARNING in the allowed list
340 report_memleaks = On
342 ;report_zend_debug = 0
344 ; Store the last error/warning message in $php_errormsg (boolean).
345 track_errors = Off
347 ; Turn off normal error reporting and emit XML-RPC error XML
348 ;xmlrpc_errors = 0
349 ; An XML-RPC faultCode
350 ;xmlrpc_error_number = 0
352 ; Disable the inclusion of HTML tags in error messages.
353 ; Note: Never use this feature for production boxes.
354 ;html_errors = Off
356 ; If html_errors is set On PHP produces clickable error messages that direct
357 ; to a page describing the error or function causing the error in detail.
358 ; You can download a copy of the PHP manual from http://www.php.net/docs.php
359 ; and change docref_root to the base URL of your local copy including the
360 ; leading '/'. You must also specify the file extension being used including
361 ; the dot.
362 ; Note: Never use this feature for production boxes.
363 ;docref_root = "/phpmanual/"
364 ;docref_ext = .html
366 ; String to output before an error message.
367 ;error_prepend_string = "<font color=#ff0000>"
369 ; String to output after an error message.
370 ;error_append_string = "</font>"
372 ; Log errors to specified file.
373 ;error_log = filename
375 ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
376 ;error_log = syslog
379 ;;;;;;;;;;;;;;;;;
380 ; Data Handling ;
381 ;;;;;;;;;;;;;;;;;
383 ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
385 ; The separator used in PHP generated URLs to separate arguments.
386 ; Default is "&".
387 ;arg_separator.output = "&amp;"
389 ; List of separator(s) used by PHP to parse input URLs into variables.
390 ; Default is "&".
391 ; NOTE: Every character in this directive is considered as separator!
392 ;arg_separator.input = ";&"
394 ; This directive describes the order in which PHP registers GET, POST, Cookie,
395 ; Environment and Built-in variables (G, P, C, E & S respectively, often
396 ; referred to as EGPCS or GPC). Registration is done from left to right, newer
397 ; values override older values.
398 ;variables_order = "EGPCS"
399 variables_order = "GPCS"
401 ; Whether or not to register the EGPCS variables as global variables. You may
402 ; want to turn this off if you don't want to clutter your scripts' global scope
403 ; with user data. This makes most sense when coupled with track_vars - in which
404 ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
405 ; variables.
407 ; You should do your best to write your scripts so that they do not require
408 ; register_globals to be on; Using form variables as globals can easily lead
409 ; to possible security problems, if the code is not very well thought of.
410 register_globals = Off
412 ; Whether or not to register the old-style input arrays, HTTP_GET_VARS
413 ; and friends. If you're not using them, it's recommended to turn them off,
414 ; for performance reasons.
415 register_long_arrays = Off
417 ; This directive tells PHP whether to declare the argv&argc variables (that
418 ; would contain the GET information). If you don't use these variables, you
419 ; should turn it off for increased performance.
420 register_argc_argv = Off
422 ; When enabled, the SERVER and ENV variables are created when they're first
423 ; used (Just In Time) instead of when the script starts. If these variables
424 ; are not used within a script, having this directive on will result in a
425 ; performance gain. The PHP directives register_globals, register_long_arrays,
426 ; and register_argc_argv must be disabled for this directive to have any affect.
427 auto_globals_jit = On
429 ; Maximum size of POST data that PHP will accept.
430 post_max_size = 64M
432 ; Magic quotes
435 ; Magic quotes for incoming GET/POST/Cookie data.
436 magic_quotes_gpc = Off
438 ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
439 magic_quotes_runtime = Off
441 ; Use Sybase-style magic quotes (escape ' with '' instead of \').
442 magic_quotes_sybase = Off
444 ; Automatically add files before or after any PHP document.
445 auto_prepend_file =
446 auto_append_file =
448 ; As of 4.0b4, PHP always outputs a character encoding by default in
449 ; the Content-type: header. To disable sending of the charset, simply
450 ; set it to be empty.
452 ; PHP's built-in default is text/html
453 default_mimetype = "text/html"
454 ;default_charset = "iso-8859-1"
456 ; Always populate the $HTTP_RAW_POST_DATA variable.
457 ;always_populate_raw_post_data = On
460 ;;;;;;;;;;;;;;;;;;;;;;;;;
461 ; Paths and Directories ;
462 ;;;;;;;;;;;;;;;;;;;;;;;;;
464 ; UNIX: "/path1:/path2"
465 ;include_path = ".:/php/includes"
467 ; Windows: "\path1;\path2"
468 ;include_path = ".;c:\php\includes"
470 ; The root of the PHP pages, used only if nonempty.
471 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
472 ; if you are running php as a CGI under any web server (other than IIS)
473 ; see documentation for security issues. The alternate is to use the
474 ; cgi.force_redirect configuration below
475 doc_root =
477 ; The directory under which PHP opens the script using /~username used only
478 ; if nonempty.
479 user_dir =
481 ; Directory in which the loadable extensions (modules) reside.
482 ;extension_dir = "/usr/php/8.1/extensions"
484 ; Whether or not to enable the dl() function. The dl() function does NOT work
485 ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
486 ; disabled on them.
487 enable_dl = On
489 ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
490 ; most web servers. Left undefined, PHP turns this on by default. You can
491 ; turn it off here AT YOUR OWN RISK
492 ; **You CAN safely turn this off for IIS, in fact, you MUST.**
493 ; cgi.force_redirect = 1
495 ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
496 ; every request.
497 ; cgi.nph = 1
499 ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
500 ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
501 ; will look for to know it is OK to continue execution. Setting this variable MAY
502 ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
503 ; cgi.redirect_status_env = ;
505 ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
506 ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
507 ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
508 ; this to 1 will cause PHP CGI to fix it's paths to conform to the spec. A setting
509 ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
510 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
511 ; cgi.fix_pathinfo=0
513 ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
514 ; security tokens of the calling client. This allows IIS to define the
515 ; security context that the request runs under. mod_fastcgi under Apache
516 ; does not currently support this feature (03/17/2002)
517 ; Set to 1 if running under IIS. Default is zero.
518 ; fastcgi.impersonate = 1;
520 ; Disable logging through FastCGI connection
521 ; fastcgi.logging = 0
523 ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
524 ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
525 ; is supported by Apache. When this option is set to 1 PHP will send
526 ; RFC2616 compliant header.
527 ; Default is zero.
528 ;cgi.rfc2616_headers = 0
531 ;;;;;;;;;;;;;;;;
532 ; File Uploads ;
533 ;;;;;;;;;;;;;;;;
535 ; Whether to allow HTTP file uploads.
536 file_uploads = On
538 ; Temporary directory for HTTP uploaded files (will use system default if not
539 ; specified).
540 ;upload_tmp_dir =
542 ; Maximum allowed size for uploaded files.
543 upload_max_filesize = 64M
546 ; Maximum number of files that can be uploaded via a single request
547 max_file_uploads = 20
549 ;;;;;;;;;;;;;;;;;;
550 ; Fopen wrappers ;
551 ;;;;;;;;;;;;;;;;;;
553 ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
554 allow_url_fopen = On
556 ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
557 allow_url_include = Off
559 ; Define the anonymous ftp password (your email address)
560 ;from="john@doe.com"
562 ; Define the User-Agent string
563 ; user_agent="PHP"
565 ; Default timeout for socket based streams (seconds)
566 default_socket_timeout = 60
568 ; If your scripts have to deal with files from Macintosh systems,
569 ; or you are running on a Mac and need to deal with files from
570 ; unix or win32 systems, setting this flag will cause PHP to
571 ; automatically detect the EOL character in those files so that
572 ; fgets() and file() will work regardless of the source of the file.
573 ; auto_detect_line_endings = Off
576 ;;;;;;;;;;;;;;;;;;;;;;
577 ; Dynamic Extensions ;
578 ;;;;;;;;;;;;;;;;;;;;;;
580 ; If you wish to have an extension loaded automatically, use the following
581 ; syntax:
583 ; extension=modulename.extension
585 ; For example, on Windows:
587 ; extension=msql.dll
589 ; ... or under UNIX:
591 ; extension=msql.so
593 ; Note that it should be the name of the module only; no directory information
594 ; needs to go here. Specify the location of the extension with the
595 ; extension_dir directive above.
597 ;;;;;;;;;;;;;;;;;;;
598 ; Module Settings ;
599 ;;;;;;;;;;;;;;;;;;;
601 [Date]
602 ; Defines the default timezone used by the date functions
603 date.timezone = "UTC"
605 ;date.default_latitude = 31.7667
606 ;date.default_longitude = 35.2333
608 ;date.sunrise_zenith = 90.583333
609 ;date.sunset_zenith = 90.583333
611 [filter]
612 ;filter.default = unsafe_raw
613 ;filter.default_flags =
615 [Pcre]
616 ;PCRE library backtracking limit.
617 ;pcre.backtrack_limit=100000
619 ;PCRE library recursion limit.
620 ;Please note that if you set this value to a high number you may consume all
621 ;the available process stack and eventually crash PHP (due to reaching the
622 ;stack size limit imposed by the Operating System).
623 ;pcre.recursion_limit=100000
625 [Syslog]
626 ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
627 ; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
628 ; runtime, you can define these variables by calling define_syslog_variables().
629 define_syslog_variables = Off
631 [mail function]
632 ; For Win32 only.
633 SMTP = localhost
634 smtp_port = 25
636 ; For Win32 only.
637 ;sendmail_from = me@example.com
639 ; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
640 ;sendmail_path =
642 ; Force the addition of the specified parameters to be passed as extra parameters
643 ; to the sendmail binary. These parameters will always replace the value of
644 ; the 5th parameter to mail(), even in safe mode.
645 ;mail.force_extra_parameters =
647 [SQL]
648 sql.safe_mode = Off
650 [ODBC]
651 ;odbc.default_db = Not yet implemented
652 ;odbc.default_user = Not yet implemented
653 ;odbc.default_pw = Not yet implemented
655 ; Allow or prevent persistent links.
656 odbc.allow_persistent = On
658 ; Check that a connection is still valid before reuse.
659 odbc.check_persistent = On
661 ; Maximum number of persistent links. -1 means no limit.
662 odbc.max_persistent = -1
664 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
665 odbc.max_links = -1
667 ; Handling of LONG fields. Returns number of bytes to variables. 0 means
668 ; passthru.
669 odbc.defaultlrl = 4096
671 ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
672 ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
673 ; of uodbc.defaultlrl and uodbc.defaultbinmode
674 odbc.defaultbinmode = 1
676 [MySQL]
677 ; Allow or prevent persistent links.
678 mysql.allow_persistent = On
680 ; Maximum number of persistent links. -1 means no limit.
681 mysql.max_persistent = -1
683 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
684 mysql.max_links = -1
686 ; Default port number for mysql_connect(). If unset, mysql_connect() will use
687 ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
688 ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
689 ; at MYSQL_PORT.
690 mysql.default_port =
692 ; Default socket name for local MySQL connects. If empty, uses the built-in
693 ; MySQL defaults.
694 mysql.default_socket =
696 ; Default host for mysql_connect() (doesn't apply in safe mode).
697 mysql.default_host =
699 ; Default user for mysql_connect() (doesn't apply in safe mode).
700 mysql.default_user =
702 ; Default password for mysql_connect() (doesn't apply in safe mode).
703 ; Note that this is generally a *bad* idea to store passwords in this file.
704 ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
705 ; and reveal this password! And of course, any users with read access to this
706 ; file will be able to reveal the password as well.
707 mysql.default_password =
709 ; Maximum time (in seconds) for connect timeout. -1 means no limit
710 mysql.connect_timeout = 60
712 ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
713 ; SQL-Errors will be displayed.
714 mysql.trace_mode = Off
716 [MySQLi]
718 ; Maximum number of links. -1 means no limit.
719 mysqli.max_links = -1
721 ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
722 ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
723 ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
724 ; at MYSQL_PORT.
725 mysqli.default_port = 3306
727 ; Default socket name for local MySQL connects. If empty, uses the built-in
728 ; MySQL defaults.
729 mysqli.default_socket =
731 ; Default host for mysql_connect() (doesn't apply in safe mode).
732 mysqli.default_host =
734 ; Default user for mysql_connect() (doesn't apply in safe mode).
735 mysqli.default_user =
737 ; Default password for mysqli_connect() (doesn't apply in safe mode).
738 ; Note that this is generally a *bad* idea to store passwords in this file.
739 ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
740 ; and reveal this password! And of course, any users with read access to this
741 ; file will be able to reveal the password as well.
742 mysqli.default_pw =
744 ; Allow or prevent reconnect
745 mysqli.reconnect = Off
747 [mSQL]
748 ; Allow or prevent persistent links.
749 msql.allow_persistent = On
751 ; Maximum number of persistent links. -1 means no limit.
752 msql.max_persistent = -1
754 ; Maximum number of links (persistent+non persistent). -1 means no limit.
755 msql.max_links = -1
757 [OCI8]
758 ; enables privileged connections using external credentials (OCI_SYSOPER, OCI_SYSDBA)
759 ;oci8.privileged_connect = Off
761 ; Connection: The maximum number of persistent OCI8 connections per
762 ; process. Using -1 means no limit.
763 ;oci8.max_persistent = -1
765 ; Connection: The maximum number of seconds a process is allowed to
766 ; maintain an idle persistent connection. Using -1 means idle
767 ; persistent connections will be maintained forever.
768 ;oci8.persistent_timeout = -1
770 ; Connection: The number of seconds that must pass before issuing a
771 ; ping during oci_pconnect() to check the connection validity. When
772 ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
773 ; pings completely.
774 ;oci8.ping_interval = 60
776 ; Tuning: This option enables statement caching, and specifies how
777 ; many statements to cache. Using 0 disables statement caching.
778 ;oci8.statement_cache_size = 20
780 ; Tuning: Enables statement prefetching and sets the default number of
781 ; rows that will be fetched automatically after statement execution.
782 ;oci8.default_prefetch = 10
784 ; Compatibility. Using On means oci_close() will not close
785 ; oci_connect() and oci_new_connect() connections.
786 ;oci8.old_oci_close_semantics = Off
788 [PostgresSQL]
789 ; Allow or prevent persistent links.
790 pgsql.allow_persistent = On
792 ; Detect broken persistent links always with pg_pconnect().
793 ; Auto reset feature requires a little overheads.
794 pgsql.auto_reset_persistent = Off
796 ; Maximum number of persistent links. -1 means no limit.
797 pgsql.max_persistent = -1
799 ; Maximum number of links (persistent+non persistent). -1 means no limit.
800 pgsql.max_links = -1
802 ; Ignore PostgreSQL backends Notice message or not.
803 ; Notice message logging require a little overheads.
804 pgsql.ignore_notice = 0
806 ; Log PostgreSQL backends Notice message or not.
807 ; Unless pgsql.ignore_notice=0, module cannot log notice message.
808 pgsql.log_notice = 0
810 [Sybase]
811 ; Allow or prevent persistent links.
812 sybase.allow_persistent = On
814 ; Maximum number of persistent links. -1 means no limit.
815 sybase.max_persistent = -1
817 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
818 sybase.max_links = -1
820 ;sybase.interface_file = "/usr/sybase/interfaces"
822 ; Minimum error severity to display.
823 sybase.min_error_severity = 10
825 ; Minimum message severity to display.
826 sybase.min_message_severity = 10
828 ; Compatibility mode with old versions of PHP 3.0.
829 ; If on, this will cause PHP to automatically assign types to results according
830 ; to their Sybase type, instead of treating them all as strings. This
831 ; compatibility mode will probably not stay around forever, so try applying
832 ; whatever necessary changes to your code, and turn it off.
833 sybase.compatability_mode = Off
835 [Sybase-CT]
836 ; Allow or prevent persistent links.
837 sybct.allow_persistent = On
839 ; Maximum number of persistent links. -1 means no limit.
840 sybct.max_persistent = -1
842 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
843 sybct.max_links = -1
845 ; Minimum server message severity to display.
846 sybct.min_server_severity = 10
848 ; Minimum client message severity to display.
849 sybct.min_client_severity = 10
851 [browscap]
852 ;browscap = extra/browscap.ini
854 [Informix]
855 ; Default host for ifx_connect() (doesn't apply in safe mode).
856 ifx.default_host =
858 ; Default user for ifx_connect() (doesn't apply in safe mode).
859 ifx.default_user =
861 ; Default password for ifx_connect() (doesn't apply in safe mode).
862 ifx.default_password =
864 ; Allow or prevent persistent links.
865 ifx.allow_persistent = On
867 ; Maximum number of persistent links. -1 means no limit.
868 ifx.max_persistent = -1
870 ; Maximum number of links (persistent + non-persistent). -1 means no limit.
871 ifx.max_links = -1
873 ; If on, select statements return the contents of a text blob instead of its id.
874 ifx.textasvarchar = 0
876 ; If on, select statements return the contents of a byte blob instead of its id.
877 ifx.byteasvarchar = 0
879 ; Trailing blanks are stripped from fixed-length char columns. May help the
880 ; life of Informix SE users.
881 ifx.charasvarchar = 0
883 ; If on, the contents of text and byte blobs are dumped to a file instead of
884 ; keeping them in memory.
885 ifx.blobinfile = 0
887 ; NULL's are returned as empty strings, unless this is set to 1. In that case,
888 ; NULL's are returned as string 'NULL'.
889 ifx.nullformat = 0
891 [Session]
892 ; Handler used to store/retrieve data.
893 session.save_handler = files
895 ; Argument passed to save_handler. In the case of files, this is the path
896 ; where data files are stored. Note: Windows users have to change this
897 ; variable in order to use PHP's session functions.
899 ; As of PHP 4.0.1, you can define the path as:
901 ; session.save_path = "N;/path"
903 ; where N is an integer. Instead of storing all the session files in
904 ; /path, what this will do is use subdirectories N-levels deep, and
905 ; store the session data in those directories. This is useful if you
906 ; or your OS have problems with lots of files in one directory, and is
907 ; a more efficient layout for servers that handle lots of sessions.
909 ; NOTE 1: PHP will not create this directory structure automatically.
910 ; You can use the script in the ext/session dir for that purpose.
911 ; NOTE 2: See the section on garbage collection below if you choose to
912 ; use subdirectories for session storage
914 ; The file storage module creates files using mode 600 by default.
915 ; You can change that by using
917 ; session.save_path = "N;MODE;/path"
919 ; where MODE is the octal representation of the mode. Note that this
920 ; does not overwrite the process's umask.
921 ;session.save_path = "/tmp"
923 ; Whether to use cookies.
924 session.use_cookies = 1
926 ;session.cookie_secure =
928 ; This option enables administrators to make their users invulnerable to
929 ; attacks which involve passing session ids in URLs; defaults to 0.
930 ; session.use_only_cookies = 1
932 ; Name of the session (used as cookie name).
933 session.name = PHPSESSID
935 ; Initialize session on request startup.
936 session.auto_start = 0
938 ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
939 session.cookie_lifetime = 0
941 ; The path for which the cookie is valid.
942 session.cookie_path = /
944 ; The domain for which the cookie is valid.
945 session.cookie_domain =
947 ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
948 session.cookie_httponly =
950 ; Handler used to serialize data. php is the standard serializer of PHP.
951 session.serialize_handler = php
953 ; Define the probability that the 'garbage collection' process is started
954 ; on every session initialization.
955 ; The probability is calculated by using gc_probability/gc_divisor,
956 ; e.g. 1/100 means there is a 1% chance that the GC process starts
957 ; on each request.
959 session.gc_probability = 1
960 session.gc_divisor = 100
962 ; After this number of seconds, stored data will be seen as 'garbage' and
963 ; cleaned up by the garbage collection process.
964 session.gc_maxlifetime = 1440
966 ; NOTE: If you are using the subdirectory option for storing session files
967 ; (see session.save_path above), then garbage collection does *not*
968 ; happen automatically. You will need to do your own garbage
969 ; collection through a shell script, cron entry, or some other method.
970 ; For example, the following script would is the equivalent of
971 ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
972 ; cd /path/to/sessions; find -cmin +24 | xargs rm
974 ; PHP 4.2 and less have an undocumented feature/bug that allows you to
975 ; to initialize a session variable in the global scope, albeit register_globals
976 ; is disabled. PHP 4.3 and later will warn you, if this feature is used.
977 ; You can disable the feature and the warning separately. At this time,
978 ; the warning is only displayed, if bug_compat_42 is enabled.
980 session.bug_compat_42 = 1
981 session.bug_compat_warn = 1
983 ; Check HTTP Referer to invalidate externally stored URLs containing ids.
984 ; HTTP_REFERER has to contain this substring for the session to be
985 ; considered as valid.
986 session.referer_check =
988 ; How many bytes to read from the file.
989 session.entropy_length = 0
991 ; Specified here to create the session id.
992 session.entropy_file =
994 ;session.entropy_length = 16
996 ;session.entropy_file = /dev/urandom
998 ; Set to {nocache,private,public,} to determine HTTP caching aspects
999 ; or leave this empty to avoid sending anti-caching headers.
1000 session.cache_limiter = nocache
1002 ; Document expires after n minutes.
1003 session.cache_expire = 180
1005 ; trans sid support is disabled by default.
1006 ; Use of trans sid may risk your users security.
1007 ; Use this option with caution.
1008 ; - User may send URL contains active session ID
1009 ; to other person via. email/irc/etc.
1010 ; - URL that contains active session ID may be stored
1011 ; in publically accessible computer.
1012 ; - User may access your site with the same session ID
1013 ; always using URL stored in browser's history or bookmarks.
1014 session.use_trans_sid = 0
1016 ; Select a hash function
1017 ; 0: MD5 (128 bits)
1018 ; 1: SHA-1 (160 bits)
1019 session.hash_function = 0
1021 ; Define how many bits are stored in each character when converting
1022 ; the binary hash data to something readable.
1024 ; 4 bits: 0-9, a-f
1025 ; 5 bits: 0-9, a-v
1026 ; 6 bits: 0-9, a-z, A-Z, "-", ","
1027 session.hash_bits_per_character = 4
1029 ; The URL rewriter will look for URLs in a defined set of HTML tags.
1030 ; form/fieldset are special; if you include them here, the rewriter will
1031 ; add a hidden <input> field with the info which is otherwise appended
1032 ; to URLs. If you want XHTML conformity, remove the form entry.
1033 ; Note that all valid entries require a "=", even if no value follows.
1034 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
1036 [MSSQL]
1037 ; Allow or prevent persistent links.
1038 mssql.allow_persistent = On
1040 ; Maximum number of persistent links. -1 means no limit.
1041 mssql.max_persistent = -1
1043 ; Maximum number of links (persistent+non persistent). -1 means no limit.
1044 mssql.max_links = -1
1046 ; Minimum error severity to display.
1047 mssql.min_error_severity = 10
1049 ; Minimum message severity to display.
1050 mssql.min_message_severity = 10
1052 ; Compatibility mode with old versions of PHP 3.0.
1053 mssql.compatability_mode = Off
1055 ; Connect timeout
1056 ;mssql.connect_timeout = 5
1058 ; Query timeout
1059 ;mssql.timeout = 60
1061 ; Valid range 0 - 2147483647. Default = 4096.
1062 ;mssql.textlimit = 4096
1064 ; Valid range 0 - 2147483647. Default = 4096.
1065 ;mssql.textsize = 4096
1067 ; Limits the number of records in each batch. 0 = all records in one batch.
1068 ;mssql.batchsize = 0
1070 ; Specify how datetime and datetim4 columns are returned
1071 ; On => Returns data converted to SQL server settings
1072 ; Off => Returns values as YYYY-MM-DD hh:mm:ss
1073 ;mssql.datetimeconvert = On
1075 ; Use NT authentication when connecting to the server
1076 mssql.secure_connection = Off
1078 ; Specify max number of processes. -1 = library default
1079 ; msdlib defaults to 25
1080 ; FreeTDS defaults to 4096
1081 ;mssql.max_procs = -1
1083 ; Specify client character set.
1084 ; If empty or not set the client charset from freetds.comf is used
1085 ; This is only used when compiled with FreeTDS
1086 ;mssql.charset = "ISO-8859-1"
1088 [Assertion]
1089 ; Assert(expr); active by default.
1090 ;assert.active = On
1092 ; Issue a PHP warning for each failed assertion.
1093 ;assert.warning = On
1095 ; Don't bail out by default.
1096 ;assert.bail = Off
1098 ; User-function to be called if an assertion fails.
1099 ;assert.callback = 0
1101 ; Eval the expression with current error_reporting(). Set to true if you want
1102 ; error_reporting(0) around the eval().
1103 ;assert.quiet_eval = 0
1105 [COM]
1106 ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1107 ;com.typelib_file =
1108 ; allow Distributed-COM calls
1109 ;com.allow_dcom = true
1110 ; autoregister constants of a components typlib on com_load()
1111 ;com.autoregister_typelib = true
1112 ; register constants casesensitive
1113 ;com.autoregister_casesensitive = false
1114 ; show warnings on duplicate constant registrations
1115 ;com.autoregister_verbose = true
1117 [FrontBase]
1118 ;fbsql.allow_persistent = On
1119 ;fbsql.autocommit = On
1120 ;fbsql.show_timestamp_decimals = Off
1121 ;fbsql.default_database =
1122 ;fbsql.default_database_password =
1123 ;fbsql.default_host =
1124 ;fbsql.default_password =
1125 ;fbsql.default_user = "_SYSTEM"
1126 ;fbsql.generate_warnings = Off
1127 ;fbsql.max_connections = 128
1128 ;fbsql.max_links = 128
1129 ;fbsql.max_persistent = -1
1130 ;fbsql.max_results = 128
1132 ; Local Variables:
1133 ; tab-width: 4
1134 ; End: