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