/[packages]/backports/6/php/current/SOURCES/php-ini
ViewVC logotype

Contents of /backports/6/php/current/SOURCES/php-ini

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1332554 - (show annotations) (download)
Tue Nov 20 23:23:58 2018 UTC (5 years, 6 months ago) by mokraemer
File size: 36329 byte(s)
fix packaging error
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 is
82 ; much more verbose when it comes to errors. We recommend 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.gc_divisor
142 ; Default Value: 100
143 ; Development Value: 1000
144 ; Production Value: 1000
145
146 ; session.sid_bits_per_character
147 ; Default Value: 4
148 ; Development Value: 5
149 ; Production Value: 5
150
151 ; short_open_tag
152 ; Default Value: On
153 ; Development Value: Off
154 ; Production Value: Off
155
156 ; track_errors
157 ; Default Value: Off
158 ; Development Value: On
159 ; Production Value: Off
160
161 ; variables_order
162 ; Default Value: "EGPCS"
163 ; Development Value: "GPCS"
164 ; Production Value: "GPCS"
165
166 ;;;;;;;;;;;;;;;;;;;;
167 ; php.ini Options ;
168 ;;;;;;;;;;;;;;;;;;;;
169 ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
170 ;user_ini.filename = ".user.ini"
171
172 ; To disable this feature set this option to empty value
173 user_ini.filename =
174
175 ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
176 ;user_ini.cache_ttl = 300
177
178 ;;;;;;;;;;;;;;;;;;;;
179 ; Language Options ;
180 ;;;;;;;;;;;;;;;;;;;;
181
182 ; Enable the PHP scripting language engine under Apache.
183 ; http://php.net/engine
184 engine = On
185
186 ; This directive determines whether or not PHP will recognize code between
187 ; <? and ?> tags as PHP source which should be processed as such. It is
188 ; generally recommended that <?php and ?> should be used and that this feature
189 ; should be disabled, as enabling it may result in issues when generating XML
190 ; documents, however this remains supported for backward compatibility reasons.
191 ; Note that this directive does not control the <?= shorthand tag, which can be
192 ; used regardless of this directive.
193 ; Default Value: On
194 ; Development Value: Off
195 ; Production Value: Off
196 ; http://php.net/short-open-tag
197 short_open_tag = On
198
199 ; The number of significant digits displayed in floating point numbers.
200 ; http://php.net/precision
201 precision = 14
202
203 ; Output buffering is a mechanism for controlling how much output data
204 ; (excluding headers and cookies) PHP should keep internally before pushing that
205 ; data to the client. If your application's output exceeds this setting, PHP
206 ; will send that data in chunks of roughly the size you specify.
207 ; Turning on this setting and managing its maximum buffer size can yield some
208 ; interesting side-effects depending on your application and web server.
209 ; You may be able to send headers and cookies after you've already sent output
210 ; through print or echo. You also may see performance benefits if your server is
211 ; emitting less packets due to buffered output versus PHP streaming the output
212 ; as it gets it. On production servers, 4096 bytes is a good setting for performance
213 ; reasons.
214 ; Note: Output buffering can also be controlled via Output Buffering Control
215 ; functions.
216 ; Possible Values:
217 ; On = Enabled and buffer is unlimited. (Use with caution)
218 ; Off = Disabled
219 ; Integer = Enables the buffer and sets its maximum size in bytes.
220 ; Note: This directive is hardcoded to Off for the CLI SAPI
221 ; Default Value: Off
222 ; Development Value: 4096
223 ; Production Value: 4096
224 ; http://php.net/output-buffering
225 output_buffering = 4096
226
227 ; You can redirect all of the output of your scripts to a function. For
228 ; example, if you set output_handler to "mb_output_handler", character
229 ; encoding will be transparently converted to the specified encoding.
230 ; Setting any output handler automatically turns on output buffering.
231 ; Note: People who wrote portable scripts should not depend on this ini
232 ; directive. Instead, explicitly set the output handler using ob_start().
233 ; Using this ini directive may cause problems unless you know what script
234 ; is doing.
235 ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
236 ; and you cannot use both "ob_gzhandler" and "zlib.output_compression".
237 ; Note: output_handler must be empty if this is set 'On' !!!!
238 ; Instead you must use zlib.output_handler.
239 ; http://php.net/output-handler
240 ;output_handler =
241
242 ; URL rewriter function rewrites URL on the fly by using
243 ; output buffer. You can set target tags by this configuration.
244 ; "form" tag is special tag. It will add hidden input tag to pass values.
245 ; Refer to session.trans_sid_tags for usage.
246 ; Default Value: "form="
247 ; Development Value: "form="
248 ; Production Value: "form="
249 ;url_rewriter.tags
250
251 ; URL rewriter will not rewrites absolute URL nor form by default. To enable
252 ; absolute URL rewrite, allowed hosts must be defined at RUNTIME.
253 ; Refer to session.trans_sid_hosts for more details.
254 ; Default Value: ""
255 ; Development Value: ""
256 ; Production Value: ""
257 ;url_rewriter.hosts
258
259 ; Implicit flush tells PHP to tell the output layer to flush itself
260 ; automatically after every output block. This is equivalent to calling the
261 ; PHP function flush() after each and every call to print() or echo() and each
262 ; and every HTML block. Turning this option on has serious performance
263 ; implications and is generally recommended for debugging purposes only.
264 ; http://php.net/implicit-flush
265 ; Note: This directive is hardcoded to On for the CLI SAPI
266 implicit_flush = Off
267
268 ; The unserialize callback function will be called (with the undefined class'
269 ; name as parameter), if the unserializer finds an undefined class
270 ; which should be instantiated. A warning appears if the specified function is
271 ; not defined, or if the function doesn't include/implement the missing class.
272 ; So only set this entry, if you really want to implement such a
273 ; callback-function.
274 unserialize_callback_func =
275
276 ; When floats & doubles are serialized, store serialize_precision significant
277 ; digits after the floating point. The default value ensures that when floats
278 ; are decoded with unserialize, the data will remain the same.
279 ; The value is also used for json_encode when encoding double values.
280 ; If -1 is used, then dtoa mode 0 is used which automatically select the best
281 ; precision.
282 serialize_precision = -1
283
284 ; open_basedir, if set, limits all file operations to the defined directory
285 ; and below. This directive makes most sense if used in a per-directory
286 ; or per-virtualhost web server configuration file.
287 ; http://php.net/open-basedir
288 ;open_basedir =
289
290 ; This directive allows you to disable certain functions for security reasons.
291 ; It receives a comma-delimited list of function names.
292 ; http://php.net/disable-functions
293 disable_functions =
294
295 ; this is an example
296 ;disable_functions = php_uname, getmyuid, getmypid, passthru, leak, listen, diskfreespace, tmpfile, link, ignore_user_abord, shell_exec, dl, set_time_limit, exec, system, highlight_file, source, show_source, fpaththru, virtual, posix_ctermid, posix _getcwd, posix_getegid, posix_geteuid, posix_getgid, posix_getgrgid, posix_getgrnam, posix_getgroups, posix_getlogin, posix_g etpgid, posix_getpgrp, posix_getpid, posix, _getppid, posix_getpwnam, posix_getpwuid, posix_getrlimit, posix_getsid, posix_ge tuid, posix_isatty, posix_kill, posix_mkfifo, posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_ setuid, posix_times, posix_ttyname, posix_uname, proc_open, proc_close, proc_get_status, proc_nice, proc_terminate, phpinfo
297
298 ; This directive allows you to disable certain classes for security reasons.
299 ; It receives a comma-delimited list of class names.
300 ; http://php.net/disable-classes
301 disable_classes =
302
303 ; Colors for Syntax Highlighting mode. Anything that's acceptable in
304 ; <span style="color: ???????"> would work.
305 ; http://php.net/syntax-highlighting
306 ;highlight.string = #DD0000
307 ;highlight.comment = #FF9900
308 ;highlight.keyword = #007700
309 ;highlight.default = #0000BB
310 ;highlight.html = #000000
311
312 ; If enabled, the request will be allowed to complete even if the user aborts
313 ; the request. Consider enabling it if executing long requests, which may end up
314 ; being interrupted by the user or a browser timing out. PHP's default behavior
315 ; is to disable this feature.
316 ; http://php.net/ignore-user-abort
317 ;ignore_user_abort = On
318
319 ; Determines the size of the realpath cache to be used by PHP. This value should
320 ; be increased on systems where PHP opens many files to reflect the quantity of
321 ; the file operations performed.
322 ; http://php.net/realpath-cache-size
323 ;realpath_cache_size = 4096k
324
325 ; Duration of time, in seconds for which to cache realpath information for a given
326 ; file or directory. For systems with rarely changing files, consider increasing this
327 ; value.
328 ; http://php.net/realpath-cache-ttl
329 ;realpath_cache_ttl = 120
330
331 ; Enables or disables the circular reference collector.
332 ; http://php.net/zend.enable-gc
333 zend.enable_gc = On
334
335 ; If enabled, scripts may be written in encodings that are incompatible with
336 ; the scanner. CP936, Big5, CP949 and Shift_JIS are the examples of such
337 ; encodings. To use this feature, mbstring extension must be enabled.
338 ; Default: Off
339 ;zend.multibyte = Off
340
341 ; Allows to set the default encoding for the scripts. This value will be used
342 ; unless "declare(encoding=...)" directive appears at the top of the script.
343 ; Only affects if zend.multibyte is set.
344 ; Default: ""
345 ;zend.script_encoding =
346
347 ;;;;;;;;;;;;;;;;;
348 ; Miscellaneous ;
349 ;;;;;;;;;;;;;;;;;
350
351 ; Decides whether PHP may expose the fact that it is installed on the server
352 ; (e.g. by adding its signature to the Web server header). It is no security
353 ; threat in any way, but it makes it possible to determine whether you use PHP
354 ; on your server or not.
355 ; http://php.net/expose-php
356 expose_php = On
357
358 ;;;;;;;;;;;;;;;;;;;
359 ; Resource Limits ;
360 ;;;;;;;;;;;;;;;;;;;
361
362 ; Maximum execution time of each script, in seconds
363 ; http://php.net/max-execution-time
364 ; Note: This directive is hardcoded to 0 for the CLI SAPI
365 max_execution_time = 30
366
367 ; Maximum amount of time each script may spend parsing request data. It's a good
368 ; idea to limit this time on productions servers in order to eliminate unexpectedly
369 ; long running scripts.
370 ; Note: This directive is hardcoded to -1 for the CLI SAPI
371 ; Default Value: -1 (Unlimited)
372 ; Development Value: 60 (60 seconds)
373 ; Production Value: 60 (60 seconds)
374 ; http://php.net/max-input-time
375 max_input_time = 60
376
377 ; Maximum input variable nesting level
378 ; http://php.net/max-input-nesting-level
379 ;max_input_nesting_level = 64
380
381 ; How many GET/POST/COOKIE input variables may be accepted
382 ; max_input_vars = 1000
383
384 ; Maximum amount of memory a script may consume (128MB)
385 ; http://php.net/memory-limit
386 memory_limit = 128M
387
388 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
389 ; Error handling and logging ;
390 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
391
392 ; This directive informs PHP of which errors, warnings and notices you would like
393 ; it to take action for. The recommended way of setting values for this
394 ; directive is through the use of the error level constants and bitwise
395 ; operators. The error level constants are below here for convenience as well as
396 ; some common settings and their meanings.
397 ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
398 ; those related to E_NOTICE and E_STRICT, which together cover best practices and
399 ; recommended coding standards in PHP. For performance reasons, this is the
400 ; recommend error reporting setting. Your production server shouldn't be wasting
401 ; resources complaining about best practices and coding standards. That's what
402 ; development servers and development settings are for.
403 ; Note: The php.ini-development file has this setting as E_ALL. This
404 ; means it pretty much reports everything which is exactly what you want during
405 ; development and early testing.
406 ;
407 ; Error Level Constants:
408 ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
409 ; E_ERROR - fatal run-time errors
410 ; E_RECOVERABLE_ERROR - almost fatal run-time errors
411 ; E_WARNING - run-time warnings (non-fatal errors)
412 ; E_PARSE - compile-time parse errors
413 ; E_NOTICE - run-time notices (these are warnings which often result
414 ; from a bug in your code, but it's possible that it was
415 ; intentional (e.g., using an uninitialized variable and
416 ; relying on the fact it is automatically initialized to an
417 ; empty string)
418 ; E_STRICT - run-time notices, enable to have PHP suggest changes
419 ; to your code which will ensure the best interoperability
420 ; and forward compatibility of your code
421 ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
422 ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
423 ; initial startup
424 ; E_COMPILE_ERROR - fatal compile-time errors
425 ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
426 ; E_USER_ERROR - user-generated error message
427 ; E_USER_WARNING - user-generated warning message
428 ; E_USER_NOTICE - user-generated notice message
429 ; E_DEPRECATED - warn about code that will not work in future versions
430 ; of PHP
431 ; E_USER_DEPRECATED - user-generated deprecation warnings
432 ;
433 ; Common Values:
434 ; E_ALL (Show all errors, warnings and notices including coding standards.)
435 ; E_ALL & ~E_NOTICE (Show all errors, except for notices)
436 ; E_ALL & ~E_NOTICE & ~E_STRICT (Show all errors, except for notices and coding standards warnings.)
437 ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
438 ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
439 ; Development Value: E_ALL
440 ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
441 ; http://php.net/error-reporting
442 error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
443
444 ; This directive controls whether or not and where PHP will output errors,
445 ; notices and warnings too. Error output is very useful during development, but
446 ; it could be very dangerous in production environments. Depending on the code
447 ; which is triggering the error, sensitive information could potentially leak
448 ; out of your application such as database usernames and passwords or worse.
449 ; For production environments, we recommend logging errors rather than
450 ; sending them to STDOUT.
451 ; Possible Values:
452 ; Off = Do not display any errors
453 ; stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
454 ; On or stdout = Display errors to STDOUT
455 ; Default Value: On
456 ; Development Value: On
457 ; Production Value: Off
458 ; http://php.net/display-errors
459 display_errors = Off
460
461 ; The display of errors which occur during PHP's startup sequence are handled
462 ; separately from display_errors. PHP's default behavior is to suppress those
463 ; errors from clients. Turning the display of startup errors on can be useful in
464 ; debugging configuration problems. We strongly recommend you
465 ; set this to 'off' for production servers.
466 ; Default Value: Off
467 ; Development Value: On
468 ; Production Value: Off
469 ; http://php.net/display-startup-errors
470 display_startup_errors = Off
471
472 ; Besides displaying errors, PHP can also log errors to locations such as a
473 ; server-specific log, STDERR, or a location specified by the error_log
474 ; directive found below. While errors should not be displayed on productions
475 ; servers they should still be monitored and logging is a great way to do that.
476 ; Default Value: Off
477 ; Development Value: On
478 ; Production Value: On
479 ; http://php.net/log-errors
480 log_errors = On
481
482 ; Set maximum length of log_errors. In error_log information about the source is
483 ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
484 ; http://php.net/log-errors-max-len
485 log_errors_max_len = 1024
486
487 ; Do not log repeated messages. Repeated errors must occur in same file on same
488 ; line unless ignore_repeated_source is set true.
489 ; http://php.net/ignore-repeated-errors
490 ignore_repeated_errors = Off
491
492 ; Ignore source of message when ignoring repeated messages. When this setting
493 ; is On you will not log errors with repeated messages from different files or
494 ; source lines.
495 ; http://php.net/ignore-repeated-source
496 ignore_repeated_source = Off
497
498 ; If this parameter is set to Off, then memory leaks will not be shown (on
499 ; stdout or in the log). This has only effect in a debug compile, and if
500 ; error reporting includes E_WARNING in the allowed list
501 ; http://php.net/report-memleaks
502 report_memleaks = On
503
504 ; This setting is on by default.
505 ;report_zend_debug = 0
506
507 ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
508 ; to On can assist in debugging and is appropriate for development servers. It should
509 ; however be disabled on production servers.
510 ; This directive is DEPRECATED.
511 ; Default Value: Off
512 ; Development Value: Off
513 ; Production Value: Off
514 ; http://php.net/track-errors
515 ;track_errors = Off
516
517 ; Turn off normal error reporting and emit XML-RPC error XML
518 ; http://php.net/xmlrpc-errors
519 ;xmlrpc_errors = 0
520
521 ; An XML-RPC faultCode
522 ;xmlrpc_error_number = 0
523
524 ; When PHP displays or logs an error, it has the capability of formatting the
525 ; error message as HTML for easier reading. This directive controls whether
526 ; the error message is formatted as HTML or not.
527 ; Note: This directive is hardcoded to Off for the CLI SAPI
528 ; Default Value: On
529 ; Development Value: On
530 ; Production value: On
531 ; http://php.net/html-errors
532 html_errors = On
533
534 ; If html_errors is set to On *and* docref_root is not empty, then PHP
535 ; produces clickable error messages that direct to a page describing the error
536 ; or function causing the error in detail.
537 ; You can download a copy of the PHP manual from http://php.net/docs
538 ; and change docref_root to the base URL of your local copy including the
539 ; leading '/'. You must also specify the file extension being used including
540 ; the dot. PHP's default behavior is to leave these settings empty, in which
541 ; case no links to documentation are generated.
542 ; Note: Never use this feature for production boxes.
543 ; http://php.net/docref-root
544 ; Examples
545 ;docref_root = "/phpmanual/"
546
547 ; http://php.net/docref-ext
548 ;docref_ext = .html
549
550 ; String to output before an error message. PHP's default behavior is to leave
551 ; this setting blank.
552 ; http://php.net/error-prepend-string
553 ; Example:
554 ;error_prepend_string = "<span style='color: #ff0000'>"
555
556 ; String to output after an error message. PHP's default behavior is to leave
557 ; this setting blank.
558 ; http://php.net/error-append-string
559 ; Example:
560 ;error_append_string = "</span>"
561
562 ; Log errors to specified file. PHP's default behavior is to leave this value
563 ; empty.
564 ; http://php.net/error-log
565 ; Example:
566 ;error_log = php_errors.log
567 ; Log errors to syslog (Event Log on Windows).
568 ;error_log = syslog
569
570 ;windows.show_crt_warning
571 ; Default value: 0
572 ; Development value: 0
573 ; Production value: 0
574
575 ;;;;;;;;;;;;;;;;;
576 ; Data Handling ;
577 ;;;;;;;;;;;;;;;;;
578
579 ; The separator used in PHP generated URLs to separate arguments.
580 ; PHP's default setting is "&".
581 ; http://php.net/arg-separator.output
582 ; Example:
583 ;arg_separator.output = "&amp;"
584
585 ; List of separator(s) used by PHP to parse input URLs into variables.
586 ; PHP's default setting is "&".
587 ; NOTE: Every character in this directive is considered as separator!
588 ; http://php.net/arg-separator.input
589 ; Example:
590 ;arg_separator.input = ";&"
591
592 ; This directive determines which super global arrays are registered when PHP
593 ; starts up. G,P,C,E & S are abbreviations for the following respective super
594 ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
595 ; paid for the registration of these arrays and because ENV is not as commonly
596 ; used as the others, ENV is not recommended on productions servers. You
597 ; can still get access to the environment variables through getenv() should you
598 ; need to.
599 ; Default Value: "EGPCS"
600 ; Development Value: "GPCS"
601 ; Production Value: "GPCS";
602 ; http://php.net/variables-order
603 variables_order = "GPCS"
604
605 ; This directive determines which super global data (G,P & C) should be
606 ; registered into the super global array REQUEST. If so, it also determines
607 ; the order in which that data is registered. The values for this directive
608 ; are specified in the same manner as the variables_order directive,
609 ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
610 ; in the variables_order directive. It does not mean it will leave the super
611 ; globals array REQUEST empty.
612 ; Default Value: None
613 ; Development Value: "GP"
614 ; Production Value: "GP"
615 ; http://php.net/request-order
616 request_order = "GP"
617
618 ; This directive determines whether PHP registers $argv & $argc each time it
619 ; runs. $argv contains an array of all the arguments passed to PHP when a script
620 ; is invoked. $argc contains an integer representing the number of arguments
621 ; that were passed when the script was invoked. These arrays are extremely
622 ; useful when running scripts from the command line. When this directive is
623 ; enabled, registering these variables consumes CPU cycles and memory each time
624 ; a script is executed. For performance reasons, this feature should be disabled
625 ; on production servers.
626 ; Note: This directive is hardcoded to On for the CLI SAPI
627 ; Default Value: On
628 ; Development Value: Off
629 ; Production Value: Off
630 ; http://php.net/register-argc-argv
631 register_argc_argv = Off
632
633 ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
634 ; first used (Just In Time) instead of when the script starts. If these
635 ; variables are not used within a script, having this directive on will result
636 ; in a performance gain. The PHP directive register_argc_argv must be disabled
637 ; for this directive to have any affect.
638 ; http://php.net/auto-globals-jit
639 auto_globals_jit = On
640
641 ; Whether PHP will read the POST data.
642 ; This option is enabled by default.
643 ; Most likely, you won't want to disable this option globally. It causes $_POST
644 ; and $_FILES to always be empty; the only way you will be able to read the
645 ; POST data will be through the php://input stream wrapper. This can be useful
646 ; to proxy requests or to process the POST data in a memory efficient fashion.
647 ; http://php.net/enable-post-data-reading
648 ;enable_post_data_reading = Off
649
650 ; Maximum size of POST data that PHP will accept.
651 ; Its value may be 0 to disable the limit. It is ignored if POST data reading
652 ; is disabled through enable_post_data_reading.
653 ; http://php.net/post-max-size
654 post_max_size = 8M
655
656 ; Automatically add files before PHP document.
657 ; http://php.net/auto-prepend-file
658 auto_prepend_file =
659
660 ; Automatically add files after PHP document.
661 ; http://php.net/auto-append-file
662 auto_append_file =
663
664 ; By default, PHP will output a media type using the Content-Type header. To
665 ; disable this, simply set it to be empty.
666 ;
667 ; PHP's built-in default media type is set to text/html.
668 ; http://php.net/default-mimetype
669 default_mimetype = "text/html"
670
671 ; PHP's default character set is set to UTF-8.
672 ; http://php.net/default-charset
673 default_charset = "UTF-8"
674
675 ; PHP internal character encoding is set to empty.
676 ; If empty, default_charset is used.
677 ; http://php.net/internal-encoding
678 ;internal_encoding =
679
680 ; PHP input character encoding is set to empty.
681 ; If empty, default_charset is used.
682 ; http://php.net/input-encoding
683 ;input_encoding =
684
685 ; PHP output character encoding is set to empty.
686 ; If empty, default_charset is used.
687 ; See also output_buffer.
688 ; http://php.net/output-encoding
689 ;output_encoding =
690
691 ;;;;;;;;;;;;;;;;;;;;;;;;;
692 ; Paths and Directories ;
693 ;;;;;;;;;;;;;;;;;;;;;;;;;
694
695 ; PHP's default setting for include_path is ".;/path/to/php/pear"
696 ; http://php.net/include-path
697 include_path = ".:/usr/lib/php/:/usr/share/pear/:/usr/share/php/"
698
699 ; The root of the PHP pages, used only if nonempty.
700 ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
701 ; if you are running php as a CGI under any web server (other than IIS)
702 ; see documentation for security issues. The alternate is to use the
703 ; cgi.force_redirect configuration below
704 ; http://php.net/doc-root
705 doc_root =
706
707 ; The directory under which PHP opens the script using /~username used only
708 ; if nonempty.
709 ; http://php.net/user-dir
710 user_dir =
711
712 ; Directory in which the loadable extensions (modules) reside.
713 ; http://php.net/extension-dir
714 extension_dir = "/usr/lib/php/extensions"
715
716 ; Directory where the temporary files should be placed.
717 ; Defaults to the system default (see sys_get_temp_dir)
718 ; sys_temp_dir = "/tmp"
719
720 ; Whether or not to enable the dl() function. The dl() function does NOT work
721 ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
722 ; disabled on them.
723 ; http://php.net/enable-dl
724 enable_dl = Off
725
726 ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
727 ; most web servers. Left undefined, PHP turns this on by default. You can
728 ; turn it off here AT YOUR OWN RISK
729 ; **You CAN safely turn this off for IIS, in fact, you MUST.**
730 ; http://php.net/cgi.force-redirect
731 ;cgi.force_redirect = 1
732
733 ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
734 ; every request. PHP's default behavior is to disable this feature.
735 ;cgi.nph = 1
736
737 ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
738 ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
739 ; will look for to know it is OK to continue execution. Setting this variable MAY
740 ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
741 ; http://php.net/cgi.redirect-status-env
742 ;cgi.redirect_status_env =
743
744 ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI. PHP's
745 ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
746 ; what PATH_INFO is. For more information on PATH_INFO, see the cgi specs. Setting
747 ; this to 1 will cause PHP CGI to fix its paths to conform to the spec. A setting
748 ; of zero causes PHP to behave as before. Default is 1. You should fix your scripts
749 ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
750 ; http://php.net/cgi.fix-pathinfo
751 ;cgi.fix_pathinfo=1
752
753 ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
754 ; of the web tree and people will not be able to circumvent .htaccess security.
755 ; http://php.net/cgi.dicard-path
756 ;cgi.discard_path=1
757
758 ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
759 ; security tokens of the calling client. This allows IIS to define the
760 ; security context that the request runs under. mod_fastcgi under Apache
761 ; does not currently support this feature (03/17/2002)
762 ; Set to 1 if running under IIS. Default is zero.
763 ; http://php.net/fastcgi.impersonate
764 ;fastcgi.impersonate = 1
765
766 ; Disable logging through FastCGI connection. PHP's default behavior is to enable
767 ; this feature.
768 ;fastcgi.logging = 0
769
770 ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
771 ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
772 ; is supported by Apache. When this option is set to 1, PHP will send
773 ; RFC2616 compliant header.
774 ; Default is zero.
775 ; http://php.net/cgi.rfc2616-headers
776 ;cgi.rfc2616_headers = 0
777
778 ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
779 ; (shebang) at the top of the running script. This line might be needed if the
780 ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
781 ; mode skips this line and ignores its content if this directive is turned on.
782 ; http://php.net/cgi.check-shebang-line
783 ;cgi.check_shebang_line=1
784
785 ;;;;;;;;;;;;;;;;
786 ; File Uploads ;
787 ;;;;;;;;;;;;;;;;
788
789 ; Whether to allow HTTP file uploads.
790 ; http://php.net/file-uploads
791 file_uploads = On
792
793 ; Temporary directory for HTTP uploaded files (will use system default if not
794 ; specified).
795 ; http://php.net/upload-tmp-dir
796 upload_tmp_dir = /var/tmp
797
798 ; Maximum allowed size for uploaded files.
799 ; http://php.net/upload-max-filesize
800 upload_max_filesize = 16M
801
802 ; Maximum number of files that can be uploaded via a single request
803 max_file_uploads = 20
804
805 ;;;;;;;;;;;;;;;;;;
806 ; Fopen wrappers ;
807 ;;;;;;;;;;;;;;;;;;
808
809 ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
810 ; http://php.net/allow-url-fopen
811 allow_url_fopen = On
812
813 ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
814 ; http://php.net/allow-url-include
815 allow_url_include = Off
816
817 ; Define the anonymous ftp password (your email address). PHP's default setting
818 ; for this is empty.
819 ; http://php.net/from
820 ;from="john@doe.com"
821
822 ; Define the User-Agent string. PHP's default setting for this is empty.
823 ; http://php.net/user-agent
824 ;user_agent="PHP"
825
826 ; Default timeout for socket based streams (seconds)
827 ; http://php.net/default-socket-timeout
828 default_socket_timeout = 60
829
830 ; If your scripts have to deal with files from Macintosh systems,
831 ; or you are running on a Mac and need to deal with files from
832 ; unix or win32 systems, setting this flag will cause PHP to
833 ; automatically detect the EOL character in those files so that
834 ; fgets() and file() will work regardless of the source of the file.
835 ; http://php.net/auto-detect-line-endings
836 ;auto_detect_line_endings = Off
837
838 ;;;;;;;;;;;;;;;;;;;;;;
839 ; Dynamic Extensions ;
840 ;;;;;;;;;;;;;;;;;;;;;;
841 ; In Mageia, we don't add the extensions in php.ini anymore, we put
842 ; them in /etc/php.d/<number>_<name>.ini, for example 10_recode.ini.
843 ; This is so that the RPMS can register themselves without having to
844 ; modify the php.ini file.
845
846 ;;;;;;;;;;;;;;;;;;;
847 ; Module Settings ;
848 ;;;;;;;;;;;;;;;;;;;
849
850 [CLI Server]
851 ; Whether the CLI web server uses ANSI color coding in its terminal output.
852 cli_server.color = On
853
854 [Date]
855 ;Note in mageia this config is in /etc/php.d/05_date.ini
856
857 [filter]
858 ;Note in mageia this config is in /etc/php.d/81_filter.ini
859
860 [iconv]
861 ;Note in mageia this config is in /etc/php.d/26_iconv.ini
862
863 [intl]
864 ;Note in mageia this config is in /etc/php.d/27_intl.ini
865
866 [sqlite3]
867 ;Note in mageia this config is in /etc/php.d/78_sqlite3.ini
868
869 [Pcre]
870 ;Note in mageia this config is in /etc/php.d/05_pcre.ini
871
872 [Pdo]
873 ;Note in mageia this config is in /etc/php.d/75_pdo_odbc.ini
874
875 [Pdo_mysql]
876 ;Note in mageia this config is in /etc/php.d/73_pdo_mysql.ini
877
878 [Phar]
879 ;Note in mageia this config is in /etc/php.d/84_phar.ini
880
881 [mail function]
882 ;Note in mageia this config is in /etc/php.d/05_mail.ini
883
884 [ODBC]
885 ;Note in mageia this config is in /etc/php.d/39_odbc.ini
886
887 [Interbase]
888 ;Note in mageia this config is in /etc/php.d/42_interbase.ini
889
890 [MySQLi]
891 ;Note in mageia this config is in /etc/php.d/37_mysqli.ini
892
893 [mysqlnd]
894 ;Note in mageia this config is in /etc/php.d/33_mysqlnd.ini
895
896 [OCI8]
897 ;Not available in mageia
898
899 [PostgreSQL]
900 ;Note in mageia this config is in /etc/php.d/42_pgsql.ini
901
902 [bcmath]
903 ;Note in mageia this config is in /etc/php.d/66_bcmath.ini
904
905 [browscap]
906 ; http://php.net/browscap
907 ;browscap = extra/browscap.ini
908
909 [Session]
910 ;Note in mageia this config is in /etc/php.d/47_session.ini
911
912 [Assertion]
913 ;Note in mageia this config is in /etc/php.d/05_assertion.ini
914
915 [COM]
916 ;Windows only
917
918 [mbstring]
919 ;Note in mageia this config is in /etc/php.d/29_mbstring.ini
920
921 [gd]
922 ;Note in mageia this config is in /etc/php.d/23_gd.ini
923
924 [exif]
925 ;Note in mageia this config is in /etc/php.d/19_exif.ini
926
927 [Tidy]
928 ;Note in mageia this config is in /etc/php.d/59_tidy.ini
929
930 [soap]
931 ;Note in mageia this config is in /etc/php.d/51_soap.ini
932
933 [sysvshm]
934 ;Note in mageia this config is in /etc/php.d/58_sysvshm.ini
935
936 [ldap]
937 ;Note in mageia this config is in /etc/php.d/28_ldap.ini
938
939 [dba]
940 ;Note in mageia this config is in /etc/php.d/14_dba.ini
941
942 [opcache]
943 ;Note in mageia this config is in /etc/php.d/99_opcache.ini
944
945 [curl]
946 ;Note in mageia this config is in /etc/php.d/13_curl.ini
947
948 [openssl]
949 ;Note in mageia this config is in /etc/php.d/21_openssl.ini
950
951 ; Local Variables:
952 ; tab-width: 4
953 ; End:

  ViewVC Help
Powered by ViewVC 1.1.30