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