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:
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:
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.
51
; This is the recommended, PHP 5-style version of the php.ini-dist file. It
52
; sets some non standard settings, that make PHP more efficient, more secure,
53
; and encourage cleaner coding.
55
; The price is that with these settings, PHP may be incompatible with some
56
; applications, and sometimes, more difficult to develop with. Using this
57
; file is warmly recommended for production sites. As all of the changes from
58
; the standard settings are thoroughly documented, you can go over each one,
59
; and decide whether you want to use it or not.
61
; For general information about the php.ini file, please consult the php.ini-dist
62
; file, included in your PHP distribution.
64
; This file is different from the php.ini-dist file in the fact that it features
65
; different values for several directives, in order to improve performance, while
66
; possibly breaking compatibility with the standard out-of-the-box behavior of
67
; PHP. Please make sure you read what's different, and modify your scripts
68
; accordingly, if you decide to use this file instead.
70
; - register_globals = Off [Security, Performance]
71
; Global variables are no longer registered for input data (POST, GET, cookies,
72
; environment and other server variables). Instead of using $foo, you must use
73
; you can use $_REQUEST["foo"] (includes any variable that arrives through the
74
; request, namely, POST, GET and cookie variables), or use one of the specific
75
; $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
76
; on where the input originates. Also, you can look at the
77
; import_request_variables() function.
78
; Note that register_globals is going to be depracated (i.e., turned off by
79
; default) in the next version of PHP, because it often leads to security bugs.
80
; Read http://php.net/manual/en/security.registerglobals.php for further
82
; - register_long_arrays = Off [Performance]
83
; Disables registration of the older (and deprecated) long predefined array
84
; variables ($HTTP_*_VARS). Instead, use the superglobals that were
85
; introduced in PHP 4.1.0
86
; - display_errors = Off [Security]
87
; With this directive set to off, errors that occur during the execution of
88
; scripts will no longer be displayed as a part of the script output, and thus,
89
; will no longer be exposed to remote users. With some errors, the error message
90
; content may expose information about your script, web server, or database
91
; server that may be exploitable for hacking. Production sites should have this
92
; directive set to off.
93
; - log_errors = On [Security]
94
; This directive complements the above one. Any errors that occur during the
95
; execution of your script will be logged (typically, to your server's error log,
96
; but can be configured in several ways). Along with setting display_errors to off,
97
; this setup gives you the ability to fully understand what may have gone wrong,
98
; without exposing any sensitive information to remote users.
99
; - output_buffering = 4096 [Performance]
100
; Set a 4KB output buffer. Enabling output buffering typically results in less
101
; writes, and sometimes less packets sent on the wire, which can often lead to
102
; better performance. The gain this directive actually yields greatly depends
103
; on which Web server you're working with, and what kind of scripts you're using.
104
; - register_argc_argv = Off [Performance]
105
; Disables registration of the somewhat redundant $argv and $argc global
107
; - magic_quotes_gpc = Off [Performance]
108
; Input data is no longer escaped with slashes so that it can be sent into
109
; SQL databases without further manipulation. Instead, you should use the
110
; function addslashes() on each input element you wish to send to a database.
111
; - variables_order = "GPCS" [Performance]
112
; The environment variables are not hashed into the $_ENV. To access
113
; environment variables, you can use getenv() instead.
114
; - error_reporting = E_ALL [Code Cleanliness, Security(?)]
115
; By default, PHP surpresses errors of type E_NOTICE. These error messages
116
; are emitted for non-critical errors, but that could be a symptom of a bigger
117
; problem. Most notably, this will cause error messages about the use
118
; of uninitialized variables to be displayed.
119
; - allow_call_time_pass_reference = Off [Code cleanliness]
120
; It's not possible to decide to force a variable to be passed by reference
121
; when calling a function. The PHP 4 style to do this is by making the
122
; function require the relevant argument by reference.
129
; Enable the PHP scripting language engine under Apache.
132
; Enable compatibility mode with Zend Engine 1 (PHP 4.x)
133
zend.ze1_compatibility_mode = Off
135
; Allow the <? tag. Otherwise, only <?php and <script> tags are recognized.
136
; NOTE: Using short tags should be avoided when developing applications or
137
; libraries that are meant for redistribution, or deployment on PHP
138
; servers which are not under your control, because short tags may not
139
; be supported on the target server. For portable, redistributable code,
140
; be sure not to use short tags.
143
; Allow ASP-style <% %> tags.
146
; The number of significant digits displayed in floating point numbers.
149
; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
152
; Output buffering allows you to send header lines (including cookies) even
153
; after you send body content, at the price of slowing PHP's output layer a
154
; bit. You can enable output buffering during runtime by calling the output
155
; buffering functions. You can also enable output buffering for all files by
156
; setting this directive to On. If you wish to limit the size of the buffer
157
; to a certain size - you can use a maximum number of bytes instead of 'On', as
158
; a value for this directive (e.g., output_buffering=4096).
159
output_buffering = 4096
161
; You can redirect all of the output of your scripts to a function. For
162
; example, if you set output_handler to "mb_output_handler", character
163
; encoding will be transparently converted to the specified encoding.
164
; Setting any output handler automatically turns on output buffering.
165
; Note: People who wrote portable scripts should not depend on this ini
166
; directive. Instead, explicitly set the output handler using ob_start().
167
; Using this ini directive may cause problems unless you know what script
169
; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
170
; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
171
; Note: output_handler must be empty if this is set 'On' !!!!
172
; Instead you must use zlib.output_handler.
175
; Transparent output compression using the zlib library
176
; Valid values for this option are 'off', 'on', or a specific buffer size
177
; to be used for compression (default is 4KB)
178
; Note: Resulting chunk size may vary due to nature of compression. PHP
179
; outputs chunks that are few hundreds bytes each as a result of
180
; compression. If you prefer a larger chunk size for better
181
; performance, enable output_buffering in addition.
182
; Note: You need to use zlib.output_handler instead of the standard
183
; output_handler, or otherwise the output will be corrupted.
184
zlib.output_compression = Off
186
; You cannot specify additional output handlers if zlib.output_compression
187
; is activated here. This setting does the same as output_handler but in
189
;zlib.output_handler =
191
; Implicit flush tells PHP to tell the output layer to flush itself
192
; automatically after every output block. This is equivalent to calling the
193
; PHP function flush() after each and every call to print() or echo() and each
194
; and every HTML block. Turning this option on has serious performance
195
; implications and is generally recommended for debugging purposes only.
198
; The unserialize callback function will be called (with the undefined class'
199
; name as parameter), if the unserializer finds an undefined class
200
; which should be instanciated.
201
; A warning appears if the specified function is not defined, or if the
202
; function doesn't include/implement the missing class.
203
; So only set this entry, if you really want to implement such a
205
unserialize_callback_func=
207
; When floats & doubles are serialized store serialize_precision significant
208
; digits after the floating point. The default value ensures that when floats
209
; are decoded with unserialize, the data will remain the same.
210
serialize_precision = 100
212
; Whether to enable the ability to force arguments to be passed by reference
213
; at function call time. This method is deprecated and is likely to be
214
; unsupported in future versions of PHP/Zend. The encouraged method of
215
; specifying which arguments should be passed by reference is in the function
216
; declaration. You're encouraged to try and turn this option Off and make
217
; sure your scripts work properly with it in order to ensure they will work
218
; with future versions of the language (you will receive a warning each time
219
; you use this feature, and the argument will be passed by value instead of by
221
allow_call_time_pass_reference = Off
228
; By default, Safe Mode does a UID compare check when
229
; opening files. If you want to relax this to a GID compare,
230
; then turn on safe_mode_gid.
233
; When safe_mode is on, UID/GID checks are bypassed when
234
; including files from this directory and its subdirectories.
235
; (directory must also be in include_path or full path must
236
; be used when including)
237
safe_mode_include_dir =
239
; When safe_mode is on, only executables located in the safe_mode_exec_dir
240
; will be allowed to be executed via the exec family of functions.
243
; Setting certain environment variables may be a potential security breach.
244
; This directive contains a comma-delimited list of prefixes. In Safe Mode,
245
; the user may only alter environment variables whose names begin with the
246
; prefixes supplied here. By default, users will only be able to set
247
; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
249
; Note: If this directive is empty, PHP will let the user modify ANY
250
; environment variable!
251
safe_mode_allowed_env_vars = PHP_
253
; This directive contains a comma-delimited list of environment variables that
254
; the end user won't be able to change using putenv(). These variables will be
255
; protected even if safe_mode_allowed_env_vars is set to allow to change them.
256
safe_mode_protected_env_vars = LD_LIBRARY_PATH
258
; open_basedir, if set, limits all file operations to the defined directory
259
; and below. This directive makes most sense if used in a per-directory
260
; or per-virtualhost web server configuration file. This directive is
261
; *NOT* affected by whether Safe Mode is turned On or Off.
264
; This directive allows you to disable certain functions for security reasons.
265
; It receives a comma-delimited list of function names. This directive is
266
; *NOT* affected by whether Safe Mode is turned On or Off.
269
; This directive allows you to disable certain classes for security reasons.
270
; It receives a comma-delimited list of class names. This directive is
271
; *NOT* affected by whether Safe Mode is turned On or Off.
274
; Colors for Syntax Highlighting mode. Anything that's acceptable in
275
; <span style="color: ???????"> would work.
276
;highlight.string = #DD0000
277
;highlight.comment = #FF9900
278
;highlight.keyword = #007700
279
;highlight.bg = #FFFFFF
280
;highlight.default = #0000BB
281
;highlight.html = #000000
287
; Decides whether PHP may expose the fact that it is installed on the server
288
; (e.g. by adding its signature to the Web server header). It is no security
289
; threat in any way, but it makes it possible to determine whether you use PHP
290
; on your server or not.
298
max_execution_time = 30 ; Maximum execution time of each script, in seconds
299
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
300
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
303
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
304
; Error handling and logging ;
305
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
307
; error_reporting is a bit-field. Or each number up to get desired error
309
; E_ALL - All errors and warnings (doesn't include E_STRICT)
310
; E_ERROR - fatal run-time errors
311
; E_WARNING - run-time warnings (non-fatal errors)
312
; E_PARSE - compile-time parse errors
313
; E_NOTICE - run-time notices (these are warnings which often result
314
; from a bug in your code, but it's possible that it was
315
; intentional (e.g., using an uninitialized variable and
316
; relying on the fact it's automatically initialized to an
318
; E_STRICT - run-time notices, enable to have PHP suggest changes
319
; to your code which will ensure the best interoperability
320
; and forward compatibility of your code
321
; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
322
; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
324
; E_COMPILE_ERROR - fatal compile-time errors
325
; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
326
; E_USER_ERROR - user-generated error message
327
; E_USER_WARNING - user-generated warning message
328
; E_USER_NOTICE - user-generated notice message
332
; - Show all errors, except for notices and coding standards warnings
334
;error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
336
; - Show all errors, except for notices
338
;error_reporting = E_ALL & ~E_NOTICE
342
;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
346
error_reporting = E_ALL
348
; Print out errors (as a part of the output). For production web sites,
349
; you're strongly encouraged to turn this feature off, and use error logging
350
; instead (see below). Keeping display_errors enabled on a production web site
351
; may reveal security information to end users, such as file paths on your Web
352
; server, your database schema or other information.
355
; Even when display_errors is on, errors that occur during PHP's startup
356
; sequence are not displayed. It's strongly recommended to keep
357
; display_startup_errors off, except for when debugging.
358
display_startup_errors = Off
360
; Log errors into a log file (server-specific log, stderr, or error_log (below))
361
; As stated above, you're strongly advised to use error logging in place of
362
; error displaying on production web sites.
365
; Set maximum length of log_errors. In error_log information about the source is
366
; added. The default is 1024 and 0 allows to not apply any maximum length at all.
367
log_errors_max_len = 1024
369
; Do not log repeated messages. Repeated errors must occur in same file on same
370
; line until ignore_repeated_source is set true.
371
ignore_repeated_errors = Off
373
; Ignore source of message when ignoring repeated messages. When this setting
374
; is On you will not log errors with repeated messages from different files or
376
ignore_repeated_source = Off
378
; If this parameter is set to Off, then memory leaks will not be shown (on
379
; stdout or in the log). This has only effect in a debug compile, and if
380
; error reporting includes E_WARNING in the allowed list
383
; Store the last error/warning message in $php_errormsg (boolean).
386
; Disable the inclusion of HTML tags in error messages.
387
; Note: Never use this feature for production boxes.
390
; If html_errors is set On PHP produces clickable error messages that direct
391
; to a page describing the error or function causing the error in detail.
392
; You can download a copy of the PHP manual from http://www.php.net/docs.php
393
; and change docref_root to the base URL of your local copy including the
394
; leading '/'. You must also specify the file extension being used including
396
; Note: Never use this feature for production boxes.
397
;docref_root = "/phpmanual/"
400
; String to output before an error message.
401
;error_prepend_string = "<font color=ff0000>"
403
; String to output after an error message.
404
;error_append_string = "</font>"
406
; Log errors to specified file.
407
;error_log = filename
409
; Log errors to syslog (Event Log on NT, not valid in Windows 95).
417
; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
419
; The separator used in PHP generated URLs to separate arguments.
421
;arg_separator.output = "&"
423
; List of separator(s) used by PHP to parse input URLs into variables.
425
; NOTE: Every character in this directive is considered as separator!
426
;arg_separator.input = ";&"
428
; This directive describes the order in which PHP registers GET, POST, Cookie,
429
; Environment and Built-in variables (G, P, C, E & S respectively, often
430
; referred to as EGPCS or GPC). Registration is done from left to right, newer
431
; values override older values.
432
variables_order = "GPCS"
434
; Whether or not to register the EGPCS variables as global variables. You may
435
; want to turn this off if you don't want to clutter your scripts' global scope
436
; with user data. This makes most sense when coupled with track_vars - in which
437
; case you can access all of the GPC variables through the $HTTP_*_VARS[],
440
; You should do your best to write your scripts so that they do not require
441
; register_globals to be on; Using form variables as globals can easily lead
442
; to possible security problems, if the code is not very well thought of.
443
register_globals = Off
445
; Whether or not to register the old-style input arrays, HTTP_GET_VARS
446
; and friends. If you're not using them, it's recommended to turn them off,
447
; for performance reasons.
448
register_long_arrays = Off
450
; This directive tells PHP whether to declare the argv&argc variables (that
451
; would contain the GET information). If you don't use these variables, you
452
; should turn it off for increased performance.
453
register_argc_argv = Off
455
; When enabled, the SERVER and ENV variables are created when they're first
456
; used (Just In Time) instead of when the script starts. If these variables
457
; are not used within a script, having this directive on will result in a
458
; performance gain. The PHP directives register_globals, register_long_arrays,
459
; and register_argc_argv must be disabled for this directive to have any affect.
460
auto_globals_jit = On
462
; Maximum size of POST data that PHP will accept.
468
; Magic quotes for incoming GET/POST/Cookie data.
469
magic_quotes_gpc = Off
471
; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
472
magic_quotes_runtime = Off
474
; Use Sybase-style magic quotes (escape ' with '' instead of \').
475
magic_quotes_sybase = Off
477
; Automatically add files before or after any PHP document.
481
; As of 4.0b4, PHP always outputs a character encoding by default in
482
; the Content-type: header. To disable sending of the charset, simply
483
; set it to be empty.
485
; PHP's built-in default is text/html
486
default_mimetype = "text/html"
487
;default_charset = "iso-8859-1"
489
; Always populate the $HTTP_RAW_POST_DATA variable.
490
;always_populate_raw_post_data = On
493
;;;;;;;;;;;;;;;;;;;;;;;;;
494
; Paths and Directories ;
495
;;;;;;;;;;;;;;;;;;;;;;;;;
497
; UNIX: "/path1:/path2"
498
;include_path = ".:/php/includes"
500
; Windows: "\path1;\path2"
501
;include_path = ".;c:\php\includes"
503
; The root of the PHP pages, used only if nonempty.
504
; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
505
; if you are running php as a CGI under any web server (other than IIS)
506
; see documentation for security issues. The alternate is to use the
507
; cgi.force_redirect configuration below
510
; The directory under which PHP opens the script using /~username used only
514
; Directory in which the loadable extensions (modules) reside.
517
; Whether or not to enable the dl() function. The dl() function does NOT work
518
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
522
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
523
; most web servers. Left undefined, PHP turns this on by default. You can
524
; turn it off here AT YOUR OWN RISK
525
; **You CAN safely turn this off for IIS, in fact, you MUST.**
526
; cgi.force_redirect = 1
528
; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
532
; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
533
; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
534
; will look for to know it is OK to continue execution. Setting this variable MAY
535
; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
536
; cgi.redirect_status_env = ;
538
; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
539
; security tokens of the calling client. This allows IIS to define the
540
; security context that the request runs under. mod_fastcgi under Apache
541
; does not currently support this feature (03/17/2002)
542
; Set to 1 if running under IIS. Default is zero.
543
; fastcgi.impersonate = 1;
545
; Disable logging through FastCGI connection
548
; cgi.rfc2616_headers configuration option tells PHP what type of headers to
549
; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
550
; is supported by Apache. When this option is set to 1 PHP will send
551
; RFC2616 compliant header.
553
;cgi.rfc2616_headers = 0
560
; Whether to allow HTTP file uploads.
563
; Temporary directory for HTTP uploaded files (will use system default if not
567
; Maximum allowed size for uploaded files.
568
upload_max_filesize = 2M
575
; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
578
; Define the anonymous ftp password (your email address)
581
; Define the User-Agent string
584
; Default timeout for socket based streams (seconds)
585
default_socket_timeout = 60
587
; If your scripts have to deal with files from Macintosh systems,
588
; or you are running on a Mac and need to deal with files from
589
; unix or win32 systems, setting this flag will cause PHP to
590
; automatically detect the EOL character in those files so that
591
; fgets() and file() will work regardless of the source of the file.
592
; auto_detect_line_endings = Off
595
;;;;;;;;;;;;;;;;;;;;;;
596
; Dynamic Extensions ;
597
;;;;;;;;;;;;;;;;;;;;;;
599
; If you wish to have an extension loaded automatically, use the following
602
; extension=modulename.extension
604
; For example, on Windows:
612
; Note that it should be the name of the module only; no directory information
613
; needs to go here. Specify the location of the extension with the
614
; extension_dir directive above.
618
;Note that ODBC support is built in, so no dll is needed for it.
621
;extension=php_mbstring.dll
622
;extension=php_bz2.dll
623
;extension=php_cpdf.dll
624
;extension=php_curl.dll
625
;extension=php_dba.dll
626
;extension=php_dbase.dll
627
;extension=php_dbx.dll
628
;extension=php_exif.dll
629
;extension=php_fdf.dll
630
;extension=php_filepro.dll
631
;extension=php_gd2.dll
632
;extension=php_gettext.dll
633
;extension=php_ifx.dll
634
;extension=php_iisfunc.dll
635
;extension=php_imap.dll
636
;extension=php_interbase.dll
637
;extension=php_java.dll
638
;extension=php_ldap.dll
639
;extension=php_mcrypt.dll
640
;extension=php_mhash.dll
641
;extension=php_mime_magic.dll
642
;extension=php_ming.dll
643
;extension=php_mssql.dll
644
;extension=php_msql.dll
645
;extension=php_mysql.dll
646
;extension=php_oci8.dll
647
;extension=php_openssl.dll
648
;extension=php_oracle.dll
649
;extension=php_pdf.dll
650
;extension=php_pgsql.dll
651
;extension=php_shmop.dll
652
;extension=php_snmp.dll
653
;extension=php_sockets.dll
654
;extension=php_sybase_ct.dll
655
;extension=php_tidy.dll
656
;extension=php_w32api.dll
657
;extension=php_xmlrpc.dll
658
;extension=php_xsl.dll
659
;extension=php_yaz.dll
660
;extension=php_zip.dll
668
; Whether or not to define the various syslog variables (e.g. $LOG_PID,
669
; $LOG_CRON, etc.). Turning it off is a good idea performance-wise. In
670
; runtime, you can define these variables by calling define_syslog_variables().
671
define_syslog_variables = Off
679
;sendmail_from = me@example.com
681
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
684
; Force the addition of the specified parameters to be passed as extra parameters
685
; to the sendmail binary. These parameters will always replace the value of
686
; the 5th parameter to mail(), even in safe mode.
687
;mail.force_extra_parameters =
693
;odbc.default_db = Not yet implemented
694
;odbc.default_user = Not yet implemented
695
;odbc.default_pw = Not yet implemented
697
; Allow or prevent persistent links.
698
odbc.allow_persistent = On
700
; Check that a connection is still valid before reuse.
701
odbc.check_persistent = On
703
; Maximum number of persistent links. -1 means no limit.
704
odbc.max_persistent = -1
706
; Maximum number of links (persistent + non-persistent). -1 means no limit.
709
; Handling of LONG fields. Returns number of bytes to variables. 0 means
711
odbc.defaultlrl = 4096
713
; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
714
; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
715
; of uodbc.defaultlrl and uodbc.defaultbinmode
716
odbc.defaultbinmode = 1
719
; Allow or prevent persistent links.
720
mysql.allow_persistent = On
722
; Maximum number of persistent links. -1 means no limit.
723
mysql.max_persistent = -1
725
; Maximum number of links (persistent + non-persistent). -1 means no limit.
728
; Default port number for mysql_connect(). If unset, mysql_connect() will use
729
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
730
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
734
; Default socket name for local MySQL connects. If empty, uses the built-in
736
mysql.default_socket =
738
; Default host for mysql_connect() (doesn't apply in safe mode).
741
; Default user for mysql_connect() (doesn't apply in safe mode).
744
; Default password for mysql_connect() (doesn't apply in safe mode).
745
; Note that this is generally a *bad* idea to store passwords in this file.
746
; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
747
; and reveal this password! And of course, any users with read access to this
748
; file will be able to reveal the password as well.
749
mysql.default_password =
751
; Maximum time (in secondes) for connect timeout. -1 means no limit
752
mysql.connect_timeout = 60
754
; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
755
; SQL-Errors will be displayed.
756
mysql.trace_mode = Off
760
; Maximum number of links. -1 means no limit.
761
mysqli.max_links = -1
763
; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
764
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
765
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
767
mysqli.default_port = 3306
769
; Default socket name for local MySQL connects. If empty, uses the built-in
771
mysqli.default_socket =
773
; Default host for mysql_connect() (doesn't apply in safe mode).
774
mysqli.default_host =
776
; Default user for mysql_connect() (doesn't apply in safe mode).
777
mysqli.default_user =
779
; Default password for mysqli_connect() (doesn't apply in safe mode).
780
; Note that this is generally a *bad* idea to store passwords in this file.
781
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
782
; and reveal this password! And of course, any users with read access to this
783
; file will be able to reveal the password as well.
786
; Allow or prevent reconnect
787
mysqli.reconnect = Off
790
; Allow or prevent persistent links.
791
msql.allow_persistent = On
793
; Maximum number of persistent links. -1 means no limit.
794
msql.max_persistent = -1
796
; Maximum number of links (persistent+non persistent). -1 means no limit.
800
; Allow or prevent persistent links.
801
pgsql.allow_persistent = On
803
; Detect broken persistent links always with pg_pconnect().
804
; Auto reset feature requires a little overheads.
805
pgsql.auto_reset_persistent = Off
807
; Maximum number of persistent links. -1 means no limit.
808
pgsql.max_persistent = -1
810
; Maximum number of links (persistent+non persistent). -1 means no limit.
813
; Ignore PostgreSQL backends Notice message or not.
814
; Notice message logging require a little overheads.
815
pgsql.ignore_notice = 0
817
; Log PostgreSQL backends Noitce message or not.
818
; Unless pgsql.ignore_notice=0, module cannot log notice message.
822
; Allow or prevent persistent links.
823
sybase.allow_persistent = On
825
; Maximum number of persistent links. -1 means no limit.
826
sybase.max_persistent = -1
828
; Maximum number of links (persistent + non-persistent). -1 means no limit.
829
sybase.max_links = -1
831
;sybase.interface_file = "/usr/sybase/interfaces"
833
; Minimum error severity to display.
834
sybase.min_error_severity = 10
836
; Minimum message severity to display.
837
sybase.min_message_severity = 10
839
; Compatability mode with old versions of PHP 3.0.
840
; If on, this will cause PHP to automatically assign types to results according
841
; to their Sybase type, instead of treating them all as strings. This
842
; compatability mode will probably not stay around forever, so try applying
843
; whatever necessary changes to your code, and turn it off.
844
sybase.compatability_mode = Off
847
; Allow or prevent persistent links.
848
sybct.allow_persistent = On
850
; Maximum number of persistent links. -1 means no limit.
851
sybct.max_persistent = -1
853
; Maximum number of links (persistent + non-persistent). -1 means no limit.
856
; Minimum server message severity to display.
857
sybct.min_server_severity = 10
859
; Minimum client message severity to display.
860
sybct.min_client_severity = 10
863
; returned column names can be converted for compatibility reasons
864
; possible values for dbx.colnames_case are
865
; "unchanged" (default, if not set)
868
; the recommended default is either upper- or lowercase, but
869
; unchanged is currently set for backwards compatibility
870
dbx.colnames_case = "lowercase"
873
; Number of decimal digits for all bcmath functions.
877
;browscap = extra/browscap.ini
880
; Default host for ifx_connect() (doesn't apply in safe mode).
883
; Default user for ifx_connect() (doesn't apply in safe mode).
886
; Default password for ifx_connect() (doesn't apply in safe mode).
887
ifx.default_password =
889
; Allow or prevent persistent links.
890
ifx.allow_persistent = On
892
; Maximum number of persistent links. -1 means no limit.
893
ifx.max_persistent = -1
895
; Maximum number of links (persistent + non-persistent). -1 means no limit.
898
; If on, select statements return the contents of a text blob instead of its id.
899
ifx.textasvarchar = 0
901
; If on, select statements return the contents of a byte blob instead of its id.
902
ifx.byteasvarchar = 0
904
; Trailing blanks are stripped from fixed-length char columns. May help the
905
; life of Informix SE users.
906
ifx.charasvarchar = 0
908
; If on, the contents of text and byte blobs are dumped to a file instead of
909
; keeping them in memory.
912
; NULL's are returned as empty strings, unless this is set to 1. In that case,
913
; NULL's are returned as string 'NULL'.
917
; Handler used to store/retrieve data.
918
session.save_handler = files
920
; Argument passed to save_handler. In the case of files, this is the path
921
; where data files are stored. Note: Windows users have to change this
922
; variable in order to use PHP's session functions.
924
; As of PHP 4.0.1, you can define the path as:
926
; session.save_path = "N;/path"
928
; where N is an integer. Instead of storing all the session files in
929
; /path, what this will do is use subdirectories N-levels deep, and
930
; store the session data in those directories. This is useful if you
931
; or your OS have problems with lots of files in one directory, and is
932
; a more efficient layout for servers that handle lots of sessions.
934
; NOTE 1: PHP will not create this directory structure automatically.
935
; You can use the script in the ext/session dir for that purpose.
936
; NOTE 2: See the section on garbage collection below if you choose to
937
; use subdirectories for session storage
939
; The file storage module creates files using mode 600 by default.
940
; You can change that by using
942
; session.save_path = "N;MODE;/path"
944
; where MODE is the octal representation of the mode. Note that this
945
; does not overwrite the process's umask.
946
;session.save_path = "/tmp"
948
; Whether to use cookies.
949
session.use_cookies = 1
951
; This option enables administrators to make their users invulnerable to
952
; attacks which involve passing session ids in URLs; defaults to 0.
953
; session.use_only_cookies = 1
955
; Name of the session (used as cookie name).
956
session.name = PHPSESSID
958
; Initialize session on request startup.
959
session.auto_start = 0
961
; Lifetime in seconds of cookie or, if 0, until browser is restarted.
962
session.cookie_lifetime = 0
964
; The path for which the cookie is valid.
965
session.cookie_path = /
967
; The domain for which the cookie is valid.
968
session.cookie_domain =
970
; Handler used to serialize data. php is the standard serializer of PHP.
971
session.serialize_handler = php
973
; Define the probability that the 'garbage collection' process is started
974
; on every session initialization.
975
; The probability is calculated by using gc_probability/gc_divisor,
976
; e.g. 1/100 means there is a 1% chance that the GC process starts
979
session.gc_probability = 1
980
session.gc_divisor = 1000
982
; After this number of seconds, stored data will be seen as 'garbage' and
983
; cleaned up by the garbage collection process.
984
session.gc_maxlifetime = 1440
986
; NOTE: If you are using the subdirectory option for storing session files
987
; (see session.save_path above), then garbage collection does *not*
988
; happen automatically. You will need to do your own garbage
989
; collection through a shell script, cron entry, or some other method.
990
; For example, the following script would is the equivalent of
991
; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
992
; cd /path/to/sessions; find -cmin +24 | xargs rm
994
; PHP 4.2 and less have an undocumented feature/bug that allows you to
995
; to initialize a session variable in the global scope, albeit register_globals
996
; is disabled. PHP 4.3 and later will warn you, if this feature is used.
997
; You can disable the feature and the warning separately. At this time,
998
; the warning is only displayed, if bug_compat_42 is enabled.
1000
session.bug_compat_42 = 0
1001
session.bug_compat_warn = 1
1003
; Check HTTP Referer to invalidate externally stored URLs containing ids.
1004
; HTTP_REFERER has to contain this substring for the session to be
1005
; considered as valid.
1006
session.referer_check =
1008
; How many bytes to read from the file.
1009
session.entropy_length = 0
1011
; Specified here to create the session id.
1012
session.entropy_file =
1014
;session.entropy_length = 16
1016
;session.entropy_file = /dev/urandom
1018
; Set to {nocache,private,public,} to determine HTTP caching aspects
1019
; or leave this empty to avoid sending anti-caching headers.
1020
session.cache_limiter = nocache
1022
; Document expires after n minutes.
1023
session.cache_expire = 180
1025
; trans sid support is disabled by default.
1026
; Use of trans sid may risk your users security.
1027
; Use this option with caution.
1028
; - User may send URL contains active session ID
1029
; to other person via. email/irc/etc.
1030
; - URL that contains active session ID may be stored
1031
; in publically accessible computer.
1032
; - User may access your site with the same session ID
1033
; always using URL stored in browser's history or bookmarks.
1034
session.use_trans_sid = 0
1036
; Select a hash function
1038
; 1: SHA-1 (160 bits)
1039
session.hash_function = 0
1041
; Define how many bits are stored in each character when converting
1042
; the binary hash data to something readable.
1046
; 6 bits: 0-9, a-z, A-Z, "-", ","
1047
session.hash_bits_per_character = 5
1049
; The URL rewriter will look for URLs in a defined set of HTML tags.
1050
; form/fieldset are special; if you include them here, the rewriter will
1051
; add a hidden <input> field with the info which is otherwise appended
1052
; to URLs. If you want XHTML conformity, remove the form entry.
1053
; Note that all valid entries require a "=", even if no value follows.
1054
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
1057
; Allow or prevent persistent links.
1058
mssql.allow_persistent = On
1060
; Maximum number of persistent links. -1 means no limit.
1061
mssql.max_persistent = -1
1063
; Maximum number of links (persistent+non persistent). -1 means no limit.
1064
mssql.max_links = -1
1066
; Minimum error severity to display.
1067
mssql.min_error_severity = 10
1069
; Minimum message severity to display.
1070
mssql.min_message_severity = 10
1072
; Compatability mode with old versions of PHP 3.0.
1073
mssql.compatability_mode = Off
1076
;mssql.connect_timeout = 5
1081
; Valid range 0 - 2147483647. Default = 4096.
1082
;mssql.textlimit = 4096
1084
; Valid range 0 - 2147483647. Default = 4096.
1085
;mssql.textsize = 4096
1087
; Limits the number of records in each batch. 0 = all records in one batch.
1088
;mssql.batchsize = 0
1090
; Specify how datetime and datetim4 columns are returned
1091
; On => Returns data converted to SQL server settings
1092
; Off => Returns values as YYYY-MM-DD hh:mm:ss
1093
;mssql.datetimeconvert = On
1095
; Use NT authentication when connecting to the server
1096
mssql.secure_connection = Off
1098
; Specify max number of processes. Default = 25
1099
;mssql.max_procs = 25
1102
; Assert(expr); active by default.
1105
; Issue a PHP warning for each failed assertion.
1106
;assert.warning = On
1108
; Don't bail out by default.
1111
; User-function to be called if an assertion fails.
1112
;assert.callback = 0
1114
; Eval the expression with current error_reporting(). Set to true if you want
1115
; error_reporting(0) around the eval().
1116
;assert.quiet_eval = 0
1119
; Allow or prevent persistent links.
1120
ingres.allow_persistent = On
1122
; Maximum number of persistent links. -1 means no limit.
1123
ingres.max_persistent = -1
1125
; Maximum number of links, including persistents. -1 means no limit.
1126
ingres.max_links = -1
1128
; Default database (format: [node_id::]dbname[/srv_class]).
1129
ingres.default_database =
1132
ingres.default_user =
1135
ingres.default_password =
1137
[Verisign Payflow Pro]
1138
; Default Payflow Pro server.
1139
pfpro.defaulthost = "test-payflow.verisign.com"
1141
; Default port to connect to.
1142
pfpro.defaultport = 443
1144
; Default timeout in seconds.
1145
pfpro.defaulttimeout = 30
1147
; Default proxy IP address (if required).
1148
;pfpro.proxyaddress =
1150
; Default proxy port.
1153
; Default proxy logon.
1156
; Default proxy password.
1157
;pfpro.proxypassword =
1160
; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1162
; allow Distributed-COM calls
1163
;com.allow_dcom = true
1164
; autoregister constants of a components typlib on com_load()
1165
;com.autoregister_typelib = true
1166
; register constants casesensitive
1167
;com.autoregister_casesensitive = false
1168
; show warnings on duplicate constat registrations
1169
;com.autoregister_verbose = true
1172
; language for internal character representation.
1173
;mbstring.language = Japanese
1175
; internal/script encoding.
1176
; Some encoding cannot work as internal encoding.
1177
; (e.g. SJIS, BIG5, ISO-2022-*)
1178
;mbstring.internal_encoding = EUC-JP
1180
; http input encoding.
1181
;mbstring.http_input = auto
1183
; http output encoding. mb_output_handler must be
1184
; registered as output buffer to function
1185
;mbstring.http_output = SJIS
1187
; enable automatic encoding translation accoding to
1188
; mbstring.internal_encoding setting. Input chars are
1189
; converted to internal encoding by setting this to On.
1190
; Note: Do _not_ use automatic encoding translation for
1191
; portable libs/applications.
1192
;mbstring.encoding_translation = Off
1194
; automatic encoding detection order.
1196
;mbstring.detect_order = auto
1198
; substitute_character used when character cannot be converted
1200
;mbstring.substitute_character = none;
1202
; overload(replace) single byte functions by mbstring functions.
1203
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1204
; etc. Possible values are 0,1,2,4 or combination of them.
1205
; For example, 7 for overload everything.
1207
; 1: Overload mail() function
1208
; 2: Overload str*() functions
1209
; 4: Overload ereg*() functions
1210
;mbstring.func_overload = 0
1213
;fbsql.allow_persistent = On
1214
;fbsql.autocommit = On
1215
;fbsql.default_database =
1216
;fbsql.default_database_password =
1217
;fbsql.default_host =
1218
;fbsql.default_password =
1219
;fbsql.default_user = "_SYSTEM"
1220
;fbsql.generate_warnings = Off
1221
;fbsql.max_connections = 128
1222
;fbsql.max_links = 128
1223
;fbsql.max_persistent = -1
1224
;fbsql.max_results = 128
1225
;fbsql.batchSize = 1000
1228
; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1229
; With mbstring support this will automatically be converted into the encoding
1230
; given by corresponding encode setting. When empty mbstring.internal_encoding
1231
; is used. For the decode settings you can distinguish between motorola and
1232
; intel byte order. A decode setting cannot be empty.
1233
;exif.encode_unicode = ISO-8859-15
1234
;exif.decode_unicode_motorola = UCS-2BE
1235
;exif.decode_unicode_intel = UCS-2LE
1237
;exif.decode_jis_motorola = JIS
1238
;exif.decode_jis_intel = JIS
1241
; The path to a default tidy configuration file to use when using tidy
1242
;tidy.default_config = /usr/local/lib/php/default.tcfg
1244
; Should tidy clean and repair output automatically?
1245
; WARNING: Do not use this option if you are generating non-html content
1246
; such as dynamic images
1247
tidy.clean_output = Off
1250
; Enables or disables WSDL caching feature.
1251
soap.wsdl_cache_enabled=1
1252
; Sets the directory name where SOAP extension will put cache files.
1253
soap.wsdl_cache_dir="/tmp"
1254
; (time to live) Sets the number of second while cached file will be used
1255
; instead of original one.
1256
soap.wsdl_cache_ttl=86400