mybot 0.0.4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (53) hide show
  1. data/Botfile +7 -61
  2. data/CHANGELOG.md +2 -25
  3. data/README.md +72 -189
  4. data/lib/mybot.rb +20 -21
  5. data/lib/mybot/base.rb +6 -2
  6. data/lib/mybot/cli.rb +45 -5
  7. data/lib/mybot/command.rb +37 -28
  8. data/lib/mybot/fmt.rb +143 -52
  9. data/lib/mybot/helpers.rb +24 -0
  10. data/lib/mybot/installer.rb +31 -0
  11. data/lib/mybot/lib.rb +20 -59
  12. data/lib/mybot/libs.rb +31 -28
  13. data/lib/mybot/loader.rb +25 -0
  14. data/lib/mybot/node.rb +100 -47
  15. data/lib/mybot/nodes.rb +16 -0
  16. data/lib/mybot/tasks.rb +47 -11
  17. data/lib/mybot/template.rb +8 -8
  18. data/lib/mybot/templates.rb +15 -0
  19. data/lib/mybot/version.rb +1 -1
  20. data/vendor/lib/{core/.gitkeep → .gitkeep} +0 -0
  21. data/vendor/{recipes → plugins}/.gitkeep +0 -0
  22. data/vendor/{tpl/core → tasks}/.gitkeep +0 -0
  23. data/vendor/tpl/.gitkeep +0 -0
  24. metadata +11 -34
  25. data/lib/mybot/aws.rb +0 -54
  26. data/lib/mybot/commands.rb +0 -108
  27. data/lib/mybot/core-ext/array.rb +0 -9
  28. data/lib/mybot/core-ext/class.rb +0 -53
  29. data/lib/mybot/core-ext/kernel.rb +0 -21
  30. data/lib/mybot/messages.rb +0 -30
  31. data/lib/mybot/recipes.rb +0 -25
  32. data/lib/mybot/result.rb +0 -26
  33. data/lib/mybot/utils.rb +0 -7
  34. data/vendor/lib/core/fs.rb +0 -191
  35. data/vendor/lib/core/osx/git.rb +0 -31
  36. data/vendor/lib/core/osx/rails.rb +0 -31
  37. data/vendor/lib/core/osx/static.rb +0 -31
  38. data/vendor/lib/core/ubuntu/apache.rb +0 -42
  39. data/vendor/lib/core/ubuntu/apt.rb +0 -57
  40. data/vendor/lib/core/ubuntu/git.rb +0 -48
  41. data/vendor/lib/core/ubuntu/mysql.rb +0 -214
  42. data/vendor/lib/core/ubuntu/nginx.rb +0 -43
  43. data/vendor/lib/core/ubuntu/passenger.rb +0 -55
  44. data/vendor/lib/core/ubuntu/php.rb +0 -76
  45. data/vendor/lib/core/ubuntu/rails.rb +0 -105
  46. data/vendor/lib/core/ubuntu/ruby.rb +0 -166
  47. data/vendor/lib/core/ubuntu/service.rb +0 -30
  48. data/vendor/lib/core/ubuntu/static.rb +0 -50
  49. data/vendor/lib/core/ubuntu/users.rb +0 -76
  50. data/vendor/lib/core/ubuntu/vim.rb +0 -31
  51. data/vendor/tpl/core/ubuntu/apache/apache2.conf.erb +0 -80
  52. data/vendor/tpl/core/ubuntu/nginx/nginx.conf.erb +0 -72
  53. data/vendor/tpl/core/ubuntu/php/php.ini.erb +0 -1818
@@ -1,1818 +0,0 @@
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 = 30
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 = "&amp;"
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 = 8M
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=0
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 = 2M
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
- ; Log mail to syslog (Event Log on NT, not valid in Windows 95).
981
- ;mail.log = syslog
982
-
983
- [SQL]
984
- ; http://php.net/sql.safe-mode
985
- sql.safe_mode = Off
986
-
987
- [ODBC]
988
- ; http://php.net/odbc.default-db
989
- ;odbc.default_db = Not yet implemented
990
-
991
- ; http://php.net/odbc.default-user
992
- ;odbc.default_user = Not yet implemented
993
-
994
- ; http://php.net/odbc.default-pw
995
- ;odbc.default_pw = Not yet implemented
996
-
997
- ; Controls the ODBC cursor model.
998
- ; Default: SQL_CURSOR_STATIC (default).
999
- ;odbc.default_cursortype
1000
-
1001
- ; Allow or prevent persistent links.
1002
- ; http://php.net/odbc.allow-persistent
1003
- odbc.allow_persistent = On
1004
-
1005
- ; Check that a connection is still valid before reuse.
1006
- ; http://php.net/odbc.check-persistent
1007
- odbc.check_persistent = On
1008
-
1009
- ; Maximum number of persistent links. -1 means no limit.
1010
- ; http://php.net/odbc.max-persistent
1011
- odbc.max_persistent = -1
1012
-
1013
- ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1014
- ; http://php.net/odbc.max-links
1015
- odbc.max_links = -1
1016
-
1017
- ; Handling of LONG fields. Returns number of bytes to variables. 0 means
1018
- ; passthru.
1019
- ; http://php.net/odbc.defaultlrl
1020
- odbc.defaultlrl = 4096
1021
-
1022
- ; Handling of binary data. 0 means passthru, 1 return as is, 2 convert to char.
1023
- ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
1024
- ; of odbc.defaultlrl and odbc.defaultbinmode
1025
- ; http://php.net/odbc.defaultbinmode
1026
- odbc.defaultbinmode = 1
1027
-
1028
- ;birdstep.max_links = -1
1029
-
1030
- [Interbase]
1031
- ; Allow or prevent persistent links.
1032
- ibase.allow_persistent = 1
1033
-
1034
- ; Maximum number of persistent links. -1 means no limit.
1035
- ibase.max_persistent = -1
1036
-
1037
- ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1038
- ibase.max_links = -1
1039
-
1040
- ; Default database name for ibase_connect().
1041
- ;ibase.default_db =
1042
-
1043
- ; Default username for ibase_connect().
1044
- ;ibase.default_user =
1045
-
1046
- ; Default password for ibase_connect().
1047
- ;ibase.default_password =
1048
-
1049
- ; Default charset for ibase_connect().
1050
- ;ibase.default_charset =
1051
-
1052
- ; Default timestamp format.
1053
- ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
1054
-
1055
- ; Default date format.
1056
- ibase.dateformat = "%Y-%m-%d"
1057
-
1058
- ; Default time format.
1059
- ibase.timeformat = "%H:%M:%S"
1060
-
1061
- [MySQL]
1062
- ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1063
- ; http://php.net/mysql.allow_local_infile
1064
- mysql.allow_local_infile = On
1065
-
1066
- ; Allow or prevent persistent links.
1067
- ; http://php.net/mysql.allow-persistent
1068
- mysql.allow_persistent = On
1069
-
1070
- ; If mysqlnd is used: Number of cache slots for the internal result set cache
1071
- ; http://php.net/mysql.cache_size
1072
- mysql.cache_size = 2000
1073
-
1074
- ; Maximum number of persistent links. -1 means no limit.
1075
- ; http://php.net/mysql.max-persistent
1076
- mysql.max_persistent = -1
1077
-
1078
- ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1079
- ; http://php.net/mysql.max-links
1080
- mysql.max_links = -1
1081
-
1082
- ; Default port number for mysql_connect(). If unset, mysql_connect() will use
1083
- ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1084
- ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1085
- ; at MYSQL_PORT.
1086
- ; http://php.net/mysql.default-port
1087
- mysql.default_port =
1088
-
1089
- ; Default socket name for local MySQL connects. If empty, uses the built-in
1090
- ; MySQL defaults.
1091
- ; http://php.net/mysql.default-socket
1092
- mysql.default_socket =
1093
-
1094
- ; Default host for mysql_connect() (doesn't apply in safe mode).
1095
- ; http://php.net/mysql.default-host
1096
- mysql.default_host =
1097
-
1098
- ; Default user for mysql_connect() (doesn't apply in safe mode).
1099
- ; http://php.net/mysql.default-user
1100
- mysql.default_user =
1101
-
1102
- ; Default password for mysql_connect() (doesn't apply in safe mode).
1103
- ; Note that this is generally a *bad* idea to store passwords in this file.
1104
- ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
1105
- ; and reveal this password! And of course, any users with read access to this
1106
- ; file will be able to reveal the password as well.
1107
- ; http://php.net/mysql.default-password
1108
- mysql.default_password =
1109
-
1110
- ; Maximum time (in seconds) for connect timeout. -1 means no limit
1111
- ; http://php.net/mysql.connect-timeout
1112
- mysql.connect_timeout = 60
1113
-
1114
- ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
1115
- ; SQL-Errors will be displayed.
1116
- ; http://php.net/mysql.trace-mode
1117
- mysql.trace_mode = Off
1118
-
1119
- [MySQLi]
1120
-
1121
- ; Maximum number of persistent links. -1 means no limit.
1122
- ; http://php.net/mysqli.max-persistent
1123
- mysqli.max_persistent = -1
1124
-
1125
- ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
1126
- ; http://php.net/mysqli.allow_local_infile
1127
- ;mysqli.allow_local_infile = On
1128
-
1129
- ; Allow or prevent persistent links.
1130
- ; http://php.net/mysqli.allow-persistent
1131
- mysqli.allow_persistent = On
1132
-
1133
- ; Maximum number of links. -1 means no limit.
1134
- ; http://php.net/mysqli.max-links
1135
- mysqli.max_links = -1
1136
-
1137
- ; If mysqlnd is used: Number of cache slots for the internal result set cache
1138
- ; http://php.net/mysqli.cache_size
1139
- mysqli.cache_size = 2000
1140
-
1141
- ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
1142
- ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1143
- ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1144
- ; at MYSQL_PORT.
1145
- ; http://php.net/mysqli.default-port
1146
- mysqli.default_port = 3306
1147
-
1148
- ; Default socket name for local MySQL connects. If empty, uses the built-in
1149
- ; MySQL defaults.
1150
- ; http://php.net/mysqli.default-socket
1151
- mysqli.default_socket =
1152
-
1153
- ; Default host for mysql_connect() (doesn't apply in safe mode).
1154
- ; http://php.net/mysqli.default-host
1155
- mysqli.default_host =
1156
-
1157
- ; Default user for mysql_connect() (doesn't apply in safe mode).
1158
- ; http://php.net/mysqli.default-user
1159
- mysqli.default_user =
1160
-
1161
- ; Default password for mysqli_connect() (doesn't apply in safe mode).
1162
- ; Note that this is generally a *bad* idea to store passwords in this file.
1163
- ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
1164
- ; and reveal this password! And of course, any users with read access to this
1165
- ; file will be able to reveal the password as well.
1166
- ; http://php.net/mysqli.default-pw
1167
- mysqli.default_pw =
1168
-
1169
- ; Allow or prevent reconnect
1170
- mysqli.reconnect = Off
1171
-
1172
- [mysqlnd]
1173
- ; Enable / Disable collection of general statistics by mysqlnd which can be
1174
- ; used to tune and monitor MySQL operations.
1175
- ; http://php.net/mysqlnd.collect_statistics
1176
- mysqlnd.collect_statistics = On
1177
-
1178
- ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
1179
- ; used to tune and monitor MySQL operations.
1180
- ; http://php.net/mysqlnd.collect_memory_statistics
1181
- mysqlnd.collect_memory_statistics = Off
1182
-
1183
- ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
1184
- ; http://php.net/mysqlnd.net_cmd_buffer_size
1185
- ;mysqlnd.net_cmd_buffer_size = 2048
1186
-
1187
- ; Size of a pre-allocated buffer used for reading data sent by the server in
1188
- ; bytes.
1189
- ; http://php.net/mysqlnd.net_read_buffer_size
1190
- ;mysqlnd.net_read_buffer_size = 32768
1191
-
1192
- [OCI8]
1193
-
1194
- ; Connection: Enables privileged connections using external
1195
- ; credentials (OCI_SYSOPER, OCI_SYSDBA)
1196
- ; http://php.net/oci8.privileged-connect
1197
- ;oci8.privileged_connect = Off
1198
-
1199
- ; Connection: The maximum number of persistent OCI8 connections per
1200
- ; process. Using -1 means no limit.
1201
- ; http://php.net/oci8.max-persistent
1202
- ;oci8.max_persistent = -1
1203
-
1204
- ; Connection: The maximum number of seconds a process is allowed to
1205
- ; maintain an idle persistent connection. Using -1 means idle
1206
- ; persistent connections will be maintained forever.
1207
- ; http://php.net/oci8.persistent-timeout
1208
- ;oci8.persistent_timeout = -1
1209
-
1210
- ; Connection: The number of seconds that must pass before issuing a
1211
- ; ping during oci_pconnect() to check the connection validity. When
1212
- ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
1213
- ; pings completely.
1214
- ; http://php.net/oci8.ping-interval
1215
- ;oci8.ping_interval = 60
1216
-
1217
- ; Connection: Set this to a user chosen connection class to be used
1218
- ; for all pooled server requests with Oracle 11g Database Resident
1219
- ; Connection Pooling (DRCP). To use DRCP, this value should be set to
1220
- ; the same string for all web servers running the same application,
1221
- ; the database pool must be configured, and the connection string must
1222
- ; specify to use a pooled server.
1223
- ;oci8.connection_class =
1224
-
1225
- ; High Availability: Using On lets PHP receive Fast Application
1226
- ; Notification (FAN) events generated when a database node fails. The
1227
- ; database must also be configured to post FAN events.
1228
- ;oci8.events = Off
1229
-
1230
- ; Tuning: This option enables statement caching, and specifies how
1231
- ; many statements to cache. Using 0 disables statement caching.
1232
- ; http://php.net/oci8.statement-cache-size
1233
- ;oci8.statement_cache_size = 20
1234
-
1235
- ; Tuning: Enables statement prefetching and sets the default number of
1236
- ; rows that will be fetched automatically after statement execution.
1237
- ; http://php.net/oci8.default-prefetch
1238
- ;oci8.default_prefetch = 100
1239
-
1240
- ; Compatibility. Using On means oci_close() will not close
1241
- ; oci_connect() and oci_new_connect() connections.
1242
- ; http://php.net/oci8.old-oci-close-semantics
1243
- ;oci8.old_oci_close_semantics = Off
1244
-
1245
- [PostgreSQL]
1246
- ; Allow or prevent persistent links.
1247
- ; http://php.net/pgsql.allow-persistent
1248
- pgsql.allow_persistent = On
1249
-
1250
- ; Detect broken persistent links always with pg_pconnect().
1251
- ; Auto reset feature requires a little overheads.
1252
- ; http://php.net/pgsql.auto-reset-persistent
1253
- pgsql.auto_reset_persistent = Off
1254
-
1255
- ; Maximum number of persistent links. -1 means no limit.
1256
- ; http://php.net/pgsql.max-persistent
1257
- pgsql.max_persistent = -1
1258
-
1259
- ; Maximum number of links (persistent+non persistent). -1 means no limit.
1260
- ; http://php.net/pgsql.max-links
1261
- pgsql.max_links = -1
1262
-
1263
- ; Ignore PostgreSQL backends Notice message or not.
1264
- ; Notice message logging require a little overheads.
1265
- ; http://php.net/pgsql.ignore-notice
1266
- pgsql.ignore_notice = 0
1267
-
1268
- ; Log PostgreSQL backends Notice message or not.
1269
- ; Unless pgsql.ignore_notice=0, module cannot log notice message.
1270
- ; http://php.net/pgsql.log-notice
1271
- pgsql.log_notice = 0
1272
-
1273
- [Sybase-CT]
1274
- ; Allow or prevent persistent links.
1275
- ; http://php.net/sybct.allow-persistent
1276
- sybct.allow_persistent = On
1277
-
1278
- ; Maximum number of persistent links. -1 means no limit.
1279
- ; http://php.net/sybct.max-persistent
1280
- sybct.max_persistent = -1
1281
-
1282
- ; Maximum number of links (persistent + non-persistent). -1 means no limit.
1283
- ; http://php.net/sybct.max-links
1284
- sybct.max_links = -1
1285
-
1286
- ; Minimum server message severity to display.
1287
- ; http://php.net/sybct.min-server-severity
1288
- sybct.min_server_severity = 10
1289
-
1290
- ; Minimum client message severity to display.
1291
- ; http://php.net/sybct.min-client-severity
1292
- sybct.min_client_severity = 10
1293
-
1294
- ; Set per-context timeout
1295
- ; http://php.net/sybct.timeout
1296
- ;sybct.timeout=
1297
-
1298
- ;sybct.packet_size
1299
-
1300
- ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
1301
- ; Default: one minute
1302
- ;sybct.login_timeout=
1303
-
1304
- ; The name of the host you claim to be connecting from, for display by sp_who.
1305
- ; Default: none
1306
- ;sybct.hostname=
1307
-
1308
- ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
1309
- ; Default: 0
1310
- ;sybct.deadlock_retry_count=
1311
-
1312
- [bcmath]
1313
- ; Number of decimal digits for all bcmath functions.
1314
- ; http://php.net/bcmath.scale
1315
- bcmath.scale = 0
1316
-
1317
- [browscap]
1318
- ; http://php.net/browscap
1319
- ;browscap = extra/browscap.ini
1320
-
1321
- [Session]
1322
- ; Handler used to store/retrieve data.
1323
- ; http://php.net/session.save-handler
1324
- session.save_handler = files
1325
-
1326
- ; Argument passed to save_handler. In the case of files, this is the path
1327
- ; where data files are stored. Note: Windows users have to change this
1328
- ; variable in order to use PHP's session functions.
1329
- ;
1330
- ; The path can be defined as:
1331
- ;
1332
- ; session.save_path = "N;/path"
1333
- ;
1334
- ; where N is an integer. Instead of storing all the session files in
1335
- ; /path, what this will do is use subdirectories N-levels deep, and
1336
- ; store the session data in those directories. This is useful if you
1337
- ; or your OS have problems with lots of files in one directory, and is
1338
- ; a more efficient layout for servers that handle lots of sessions.
1339
- ;
1340
- ; NOTE 1: PHP will not create this directory structure automatically.
1341
- ; You can use the script in the ext/session dir for that purpose.
1342
- ; NOTE 2: See the section on garbage collection below if you choose to
1343
- ; use subdirectories for session storage
1344
- ;
1345
- ; The file storage module creates files using mode 600 by default.
1346
- ; You can change that by using
1347
- ;
1348
- ; session.save_path = "N;MODE;/path"
1349
- ;
1350
- ; where MODE is the octal representation of the mode. Note that this
1351
- ; does not overwrite the process's umask.
1352
- ; http://php.net/session.save-path
1353
- ;session.save_path = "/var/lib/php5"
1354
-
1355
- ; Whether to use cookies.
1356
- ; http://php.net/session.use-cookies
1357
- session.use_cookies = 1
1358
-
1359
- ; http://php.net/session.cookie-secure
1360
- ;session.cookie_secure =
1361
-
1362
- ; This option forces PHP to fetch and use a cookie for storing and maintaining
1363
- ; the session id. We encourage this operation as it's very helpful in combating
1364
- ; session hijacking when not specifying and managing your own session id. It is
1365
- ; not the end all be all of session hijacking defense, but it's a good start.
1366
- ; http://php.net/session.use-only-cookies
1367
- session.use_only_cookies = 1
1368
-
1369
- ; Name of the session (used as cookie name).
1370
- ; http://php.net/session.name
1371
- session.name = PHPSESSID
1372
-
1373
- ; Initialize session on request startup.
1374
- ; http://php.net/session.auto-start
1375
- session.auto_start = 0
1376
-
1377
- ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
1378
- ; http://php.net/session.cookie-lifetime
1379
- session.cookie_lifetime = 0
1380
-
1381
- ; The path for which the cookie is valid.
1382
- ; http://php.net/session.cookie-path
1383
- session.cookie_path = /
1384
-
1385
- ; The domain for which the cookie is valid.
1386
- ; http://php.net/session.cookie-domain
1387
- session.cookie_domain =
1388
-
1389
- ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
1390
- ; http://php.net/session.cookie-httponly
1391
- session.cookie_httponly =
1392
-
1393
- ; Handler used to serialize data. php is the standard serializer of PHP.
1394
- ; http://php.net/session.serialize-handler
1395
- session.serialize_handler = php
1396
-
1397
- ; Defines the probability that the 'garbage collection' process is started
1398
- ; on every session initialization. The probability is calculated by using
1399
- ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
1400
- ; and gc_divisor is the denominator in the equation. Setting this value to 1
1401
- ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1402
- ; the gc will run on any give request.
1403
- ; Default Value: 1
1404
- ; Development Value: 1
1405
- ; Production Value: 1
1406
- ; http://php.net/session.gc-probability
1407
- session.gc_probability = 0
1408
-
1409
- ; Defines the probability that the 'garbage collection' process is started on every
1410
- ; session initialization. The probability is calculated by using the following equation:
1411
- ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
1412
- ; session.gc_divisor is the denominator in the equation. Setting this value to 1
1413
- ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
1414
- ; the gc will run on any give request. Increasing this value to 1000 will give you
1415
- ; a 0.1% chance the gc will run on any give request. For high volume production servers,
1416
- ; this is a more efficient approach.
1417
- ; Default Value: 100
1418
- ; Development Value: 1000
1419
- ; Production Value: 1000
1420
- ; http://php.net/session.gc-divisor
1421
- session.gc_divisor = 1000
1422
-
1423
- ; After this number of seconds, stored data will be seen as 'garbage' and
1424
- ; cleaned up by the garbage collection process.
1425
- ; http://php.net/session.gc-maxlifetime
1426
- session.gc_maxlifetime = 1440
1427
-
1428
- ; NOTE: If you are using the subdirectory option for storing session files
1429
- ; (see session.save_path above), then garbage collection does *not*
1430
- ; happen automatically. You will need to do your own garbage
1431
- ; collection through a shell script, cron entry, or some other method.
1432
- ; For example, the following script would is the equivalent of
1433
- ; setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
1434
- ; find /path/to/sessions -cmin +24 | xargs rm
1435
-
1436
- ; PHP 4.2 and less have an undocumented feature/bug that allows you to
1437
- ; to initialize a session variable in the global scope.
1438
- ; PHP 4.3 and later will warn you, if this feature is used.
1439
- ; You can disable the feature and the warning separately. At this time,
1440
- ; the warning is only displayed, if bug_compat_42 is enabled. This feature
1441
- ; introduces some serious security problems if not handled correctly. It's
1442
- ; recommended that you do not use this feature on production servers. But you
1443
- ; should enable this on development servers and enable the warning as well. If you
1444
- ; do not enable the feature on development servers, you won't be warned when it's
1445
- ; used and debugging errors caused by this can be difficult to track down.
1446
- ; Default Value: On
1447
- ; Development Value: On
1448
- ; Production Value: Off
1449
- ; http://php.net/session.bug-compat-42
1450
- session.bug_compat_42 = Off
1451
-
1452
- ; This setting controls whether or not you are warned by PHP when initializing a
1453
- ; session value into the global space. session.bug_compat_42 must be enabled before
1454
- ; these warnings can be issued by PHP. See the directive above for more information.
1455
- ; Default Value: On
1456
- ; Development Value: On
1457
- ; Production Value: Off
1458
- ; http://php.net/session.bug-compat-warn
1459
- session.bug_compat_warn = Off
1460
-
1461
- ; Check HTTP Referer to invalidate externally stored URLs containing ids.
1462
- ; HTTP_REFERER has to contain this substring for the session to be
1463
- ; considered as valid.
1464
- ; http://php.net/session.referer-check
1465
- session.referer_check =
1466
-
1467
- ; How many bytes to read from the file.
1468
- ; http://php.net/session.entropy-length
1469
- ;session.entropy_length = 32
1470
-
1471
- ; Specified here to create the session id.
1472
- ; http://php.net/session.entropy-file
1473
- ; Defaults to /dev/urandom
1474
- ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
1475
- ; If neither are found at compile time, the default is no entropy file.
1476
- ; On windows, setting the entropy_length setting will activate the
1477
- ; Windows random source (using the CryptoAPI)
1478
- ;session.entropy_file = /dev/urandom
1479
-
1480
- ; Set to {nocache,private,public,} to determine HTTP caching aspects
1481
- ; or leave this empty to avoid sending anti-caching headers.
1482
- ; http://php.net/session.cache-limiter
1483
- session.cache_limiter = nocache
1484
-
1485
- ; Document expires after n minutes.
1486
- ; http://php.net/session.cache-expire
1487
- session.cache_expire = 180
1488
-
1489
- ; trans sid support is disabled by default.
1490
- ; Use of trans sid may risk your users security.
1491
- ; Use this option with caution.
1492
- ; - User may send URL contains active session ID
1493
- ; to other person via. email/irc/etc.
1494
- ; - URL that contains active session ID may be stored
1495
- ; in publicly accessible computer.
1496
- ; - User may access your site with the same session ID
1497
- ; always using URL stored in browser's history or bookmarks.
1498
- ; http://php.net/session.use-trans-sid
1499
- session.use_trans_sid = 0
1500
-
1501
- ; Select a hash function for use in generating session ids.
1502
- ; Possible Values
1503
- ; 0 (MD5 128 bits)
1504
- ; 1 (SHA-1 160 bits)
1505
- ; This option may also be set to the name of any hash function supported by
1506
- ; the hash extension. A list of available hashes is returned by the hash_algos()
1507
- ; function.
1508
- ; http://php.net/session.hash-function
1509
- session.hash_function = 0
1510
-
1511
- ; Define how many bits are stored in each character when converting
1512
- ; the binary hash data to something readable.
1513
- ; Possible values:
1514
- ; 4 (4 bits: 0-9, a-f)
1515
- ; 5 (5 bits: 0-9, a-v)
1516
- ; 6 (6 bits: 0-9, a-z, A-Z, "-", ",")
1517
- ; Default Value: 4
1518
- ; Development Value: 5
1519
- ; Production Value: 5
1520
- ; http://php.net/session.hash-bits-per-character
1521
- session.hash_bits_per_character = 5
1522
-
1523
- ; The URL rewriter will look for URLs in a defined set of HTML tags.
1524
- ; form/fieldset are special; if you include them here, the rewriter will
1525
- ; add a hidden <input> field with the info which is otherwise appended
1526
- ; to URLs. If you want XHTML conformity, remove the form entry.
1527
- ; Note that all valid entries require a "=", even if no value follows.
1528
- ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
1529
- ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1530
- ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
1531
- ; http://php.net/url-rewriter.tags
1532
- url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
1533
-
1534
- ; Enable upload progress tracking in $_SESSION
1535
- ; Default Value: On
1536
- ; Development Value: On
1537
- ; Production Value: On
1538
- ; http://php.net/session.upload-progress.enabled
1539
- ;session.upload_progress.enabled = On
1540
-
1541
- ; Cleanup the progress information as soon as all POST data has been read
1542
- ; (i.e. upload completed).
1543
- ; Default Value: On
1544
- ; Development Value: On
1545
- ; Production Value: On
1546
- ; http://php.net/session.upload-progress.cleanup
1547
- ;session.upload_progress.cleanup = On
1548
-
1549
- ; A prefix used for the upload progress key in $_SESSION
1550
- ; Default Value: "upload_progress_"
1551
- ; Development Value: "upload_progress_"
1552
- ; Production Value: "upload_progress_"
1553
- ; http://php.net/session.upload-progress.prefix
1554
- ;session.upload_progress.prefix = "upload_progress_"
1555
-
1556
- ; The index name (concatenated with the prefix) in $_SESSION
1557
- ; containing the upload progress information
1558
- ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
1559
- ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
1560
- ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
1561
- ; http://php.net/session.upload-progress.name
1562
- ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
1563
-
1564
- ; How frequently the upload progress should be updated.
1565
- ; Given either in percentages (per-file), or in bytes
1566
- ; Default Value: "1%"
1567
- ; Development Value: "1%"
1568
- ; Production Value: "1%"
1569
- ; http://php.net/session.upload-progress.freq
1570
- ;session.upload_progress.freq = "1%"
1571
-
1572
- ; The minimum delay between updates, in seconds
1573
- ; Default Value: 1
1574
- ; Development Value: 1
1575
- ; Production Value: 1
1576
- ; http://php.net/session.upload-progress.min-freq
1577
- ;session.upload_progress.min_freq = "1"
1578
-
1579
- [MSSQL]
1580
- ; Allow or prevent persistent links.
1581
- mssql.allow_persistent = On
1582
-
1583
- ; Maximum number of persistent links. -1 means no limit.
1584
- mssql.max_persistent = -1
1585
-
1586
- ; Maximum number of links (persistent+non persistent). -1 means no limit.
1587
- mssql.max_links = -1
1588
-
1589
- ; Minimum error severity to display.
1590
- mssql.min_error_severity = 10
1591
-
1592
- ; Minimum message severity to display.
1593
- mssql.min_message_severity = 10
1594
-
1595
- ; Compatibility mode with old versions of PHP 3.0.
1596
- mssql.compatability_mode = Off
1597
-
1598
- ; Connect timeout
1599
- ;mssql.connect_timeout = 5
1600
-
1601
- ; Query timeout
1602
- ;mssql.timeout = 60
1603
-
1604
- ; Valid range 0 - 2147483647. Default = 4096.
1605
- ;mssql.textlimit = 4096
1606
-
1607
- ; Valid range 0 - 2147483647. Default = 4096.
1608
- ;mssql.textsize = 4096
1609
-
1610
- ; Limits the number of records in each batch. 0 = all records in one batch.
1611
- ;mssql.batchsize = 0
1612
-
1613
- ; Specify how datetime and datetim4 columns are returned
1614
- ; On => Returns data converted to SQL server settings
1615
- ; Off => Returns values as YYYY-MM-DD hh:mm:ss
1616
- ;mssql.datetimeconvert = On
1617
-
1618
- ; Use NT authentication when connecting to the server
1619
- mssql.secure_connection = Off
1620
-
1621
- ; Specify max number of processes. -1 = library default
1622
- ; msdlib defaults to 25
1623
- ; FreeTDS defaults to 4096
1624
- ;mssql.max_procs = -1
1625
-
1626
- ; Specify client character set.
1627
- ; If empty or not set the client charset from freetds.conf is used
1628
- ; This is only used when compiled with FreeTDS
1629
- ;mssql.charset = "ISO-8859-1"
1630
-
1631
- [Assertion]
1632
- ; Assert(expr); active by default.
1633
- ; http://php.net/assert.active
1634
- ;assert.active = On
1635
-
1636
- ; Issue a PHP warning for each failed assertion.
1637
- ; http://php.net/assert.warning
1638
- ;assert.warning = On
1639
-
1640
- ; Don't bail out by default.
1641
- ; http://php.net/assert.bail
1642
- ;assert.bail = Off
1643
-
1644
- ; User-function to be called if an assertion fails.
1645
- ; http://php.net/assert.callback
1646
- ;assert.callback = 0
1647
-
1648
- ; Eval the expression with current error_reporting(). Set to true if you want
1649
- ; error_reporting(0) around the eval().
1650
- ; http://php.net/assert.quiet-eval
1651
- ;assert.quiet_eval = 0
1652
-
1653
- [COM]
1654
- ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
1655
- ; http://php.net/com.typelib-file
1656
- ;com.typelib_file =
1657
-
1658
- ; allow Distributed-COM calls
1659
- ; http://php.net/com.allow-dcom
1660
- ;com.allow_dcom = true
1661
-
1662
- ; autoregister constants of a components typlib on com_load()
1663
- ; http://php.net/com.autoregister-typelib
1664
- ;com.autoregister_typelib = true
1665
-
1666
- ; register constants casesensitive
1667
- ; http://php.net/com.autoregister-casesensitive
1668
- ;com.autoregister_casesensitive = false
1669
-
1670
- ; show warnings on duplicate constant registrations
1671
- ; http://php.net/com.autoregister-verbose
1672
- ;com.autoregister_verbose = true
1673
-
1674
- ; The default character set code-page to use when passing strings to and from COM objects.
1675
- ; Default: system ANSI code page
1676
- ;com.code_page=
1677
-
1678
- [mbstring]
1679
- ; language for internal character representation.
1680
- ; http://php.net/mbstring.language
1681
- ;mbstring.language = Japanese
1682
-
1683
- ; internal/script encoding.
1684
- ; Some encoding cannot work as internal encoding.
1685
- ; (e.g. SJIS, BIG5, ISO-2022-*)
1686
- ; http://php.net/mbstring.internal-encoding
1687
- ;mbstring.internal_encoding = EUC-JP
1688
-
1689
- ; http input encoding.
1690
- ; http://php.net/mbstring.http-input
1691
- ;mbstring.http_input = auto
1692
-
1693
- ; http output encoding. mb_output_handler must be
1694
- ; registered as output buffer to function
1695
- ; http://php.net/mbstring.http-output
1696
- ;mbstring.http_output = SJIS
1697
-
1698
- ; enable automatic encoding translation according to
1699
- ; mbstring.internal_encoding setting. Input chars are
1700
- ; converted to internal encoding by setting this to On.
1701
- ; Note: Do _not_ use automatic encoding translation for
1702
- ; portable libs/applications.
1703
- ; http://php.net/mbstring.encoding-translation
1704
- ;mbstring.encoding_translation = Off
1705
-
1706
- ; automatic encoding detection order.
1707
- ; auto means
1708
- ; http://php.net/mbstring.detect-order
1709
- ;mbstring.detect_order = auto
1710
-
1711
- ; substitute_character used when character cannot be converted
1712
- ; one from another
1713
- ; http://php.net/mbstring.substitute-character
1714
- ;mbstring.substitute_character = none;
1715
-
1716
- ; overload(replace) single byte functions by mbstring functions.
1717
- ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
1718
- ; etc. Possible values are 0,1,2,4 or combination of them.
1719
- ; For example, 7 for overload everything.
1720
- ; 0: No overload
1721
- ; 1: Overload mail() function
1722
- ; 2: Overload str*() functions
1723
- ; 4: Overload ereg*() functions
1724
- ; http://php.net/mbstring.func-overload
1725
- ;mbstring.func_overload = 0
1726
-
1727
- ; enable strict encoding detection.
1728
- ;mbstring.strict_detection = Off
1729
-
1730
- ; This directive specifies the regex pattern of content types for which mb_output_handler()
1731
- ; is activated.
1732
- ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
1733
- ;mbstring.http_output_conv_mimetype=
1734
-
1735
- [gd]
1736
- ; Tell the jpeg decode to ignore warnings and try to create
1737
- ; a gd image. The warning will then be displayed as notices
1738
- ; disabled by default
1739
- ; http://php.net/gd.jpeg-ignore-warning
1740
- ;gd.jpeg_ignore_warning = 0
1741
-
1742
- [exif]
1743
- ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
1744
- ; With mbstring support this will automatically be converted into the encoding
1745
- ; given by corresponding encode setting. When empty mbstring.internal_encoding
1746
- ; is used. For the decode settings you can distinguish between motorola and
1747
- ; intel byte order. A decode setting cannot be empty.
1748
- ; http://php.net/exif.encode-unicode
1749
- ;exif.encode_unicode = ISO-8859-15
1750
-
1751
- ; http://php.net/exif.decode-unicode-motorola
1752
- ;exif.decode_unicode_motorola = UCS-2BE
1753
-
1754
- ; http://php.net/exif.decode-unicode-intel
1755
- ;exif.decode_unicode_intel = UCS-2LE
1756
-
1757
- ; http://php.net/exif.encode-jis
1758
- ;exif.encode_jis =
1759
-
1760
- ; http://php.net/exif.decode-jis-motorola
1761
- ;exif.decode_jis_motorola = JIS
1762
-
1763
- ; http://php.net/exif.decode-jis-intel
1764
- ;exif.decode_jis_intel = JIS
1765
-
1766
- [Tidy]
1767
- ; The path to a default tidy configuration file to use when using tidy
1768
- ; http://php.net/tidy.default-config
1769
- ;tidy.default_config = /usr/local/lib/php/default.tcfg
1770
-
1771
- ; Should tidy clean and repair output automatically?
1772
- ; WARNING: Do not use this option if you are generating non-html content
1773
- ; such as dynamic images
1774
- ; http://php.net/tidy.clean-output
1775
- tidy.clean_output = Off
1776
-
1777
- [soap]
1778
- ; Enables or disables WSDL caching feature.
1779
- ; http://php.net/soap.wsdl-cache-enabled
1780
- soap.wsdl_cache_enabled=1
1781
-
1782
- ; Sets the directory name where SOAP extension will put cache files.
1783
- ; http://php.net/soap.wsdl-cache-dir
1784
- soap.wsdl_cache_dir="/tmp"
1785
-
1786
- ; (time to live) Sets the number of second while cached file will be used
1787
- ; instead of original one.
1788
- ; http://php.net/soap.wsdl-cache-ttl
1789
- soap.wsdl_cache_ttl=86400
1790
-
1791
- ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
1792
- soap.wsdl_cache_limit = 5
1793
-
1794
- [sysvshm]
1795
- ; A default size of the shared memory segment
1796
- ;sysvshm.init_mem = 10000
1797
-
1798
- [ldap]
1799
- ; Sets the maximum number of open links or -1 for unlimited.
1800
- ldap.max_links = -1
1801
-
1802
- [mcrypt]
1803
- ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
1804
-
1805
- ; Directory where to load mcrypt algorithms
1806
- ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1807
- ;mcrypt.algorithms_dir=
1808
-
1809
- ; Directory where to load mcrypt modes
1810
- ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
1811
- ;mcrypt.modes_dir=
1812
-
1813
- [dba]
1814
- ;dba.default_handler=
1815
-
1816
- ; Local Variables:
1817
- ; tab-width: 4
1818
- ; End: