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